On Using aria-labelledby for Images
Are we allowed to omit the alt
tag in this case?
Note
Message thread
Gunnar Bittersmann wrote on
#a11y question: When the text alternative to an image is implemented using aria-labelledby
, there’s no need for alt=""
, is it?
Matthias Zöchling wrote on
In reply to: @g16n.
Good question, I’d also like to know. Maybe this is similar to an image inside a figure which has a <figcaption>
that is already “verbose” enough that the image needs no additional alt. IIRC, even in this case you specify alt=""
.
Get involved
Feel free to share this thread. But keep in mind, it was published more than three years ago, so comments are closed.