Skip to content

Commit 36a408e

Browse files
Yohann76javiereguiluz
authored andcommitted
Update asset.rst
added alt attribute
1 parent 5e3ae9d commit 36a408e

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)