Skip to content

Commit 12e2202

Browse files
committed
minor #13200 Update asset.rst (Yohann76)
This PR was submitted for the 5.0 branch but it was merged into the 3.4 branch instead (closes #13200). Discussion ---------- Update asset.rst added alt attribute <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 36a408e Update asset.rst
2 parents 5e3ae9d + 36a408e commit 12e2202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/asset.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For example:
1717

1818
<!-- ... -->
1919

20-
<a href="/"><img src="/images/logo.png"></a>
20+
<a href="/"><img src="/images/logo.png" alt="logo"></a>
2121

2222
This practice is no longer recommended unless the web application is extremely
2323
simple. Hardcoding URLs can be a disadvantage because:

0 commit comments

Comments
 (0)