-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad copy for alt
question
#220
Comments
I'm not arguing with you about what the guidelines say, but I do find it weird, it seems contrary to how alt text is used in practice. Following that logic, any image that doesn't serve a functional purpose should just not have alt text? |
Isn't that exactly what "describing the content" of the image is? FWIW the current wording was proposed by @LJWatson, so I'm a little hesitant to change it 🤔 @SachaG Btw I tried to add this link (https://html.spec.whatwg.org/multipage/images.html#alt ) that @JimDabell shared above as a resource for this item (since adding reading list items for the a11y things was requested more than once), but these don't seem to have entities? |
That's correct, they're not entities currently. But you can add them, it should work fine. |
Consider a link that takes you to the previous page in a list of items, consisting solely of an image with an arrow pointing left. A description of that image would be “Leftwards arrow”. A textual alternative to that image would be “Previous page”. The correct text to use for the |
This is not what alt text is for. Alt text is for a textual alternative to the image, not a description of it. There is discussion of this in HTML5 § 4.8.4.4 Requirements for providing text to act as an alternative for images.
Suggestion:
The text was updated successfully, but these errors were encountered: