Commit 0deb9e6
committed
Drop "logo" from logo image alt text
From https://www.w3.org/WAI/tutorials/images/tips/:
> Usually, there’s no need to include words like “image”, “icon”, or
> “picture” in the alt text. People who can see will know this already,
> and screen readers announce the presence of an image.
And from https://www.a11yproject.com/posts/alt-text/:
> Make sure the description of the image is useful. For example, if the
> image is of a company's logo, the `alt` should be the company's name.
> The word "logo" is not necessary or useful as part of the alternative
> text.
Additionally, this commit uses `project_name` in the alt text instead of
hardcoding "Ruby on Rails".1 parent 7c8e9f6 commit 0deb9e6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments