WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Is using aria-label to add alternative text - but no alt attribute still a WCAG fail?

for

From: Patrick H. Lauke
Date: Aug 23, 2024 4:03AM


On 23/08/2024 10:54, Kevin White wrote:

> This is in the description of F65 <https://www.w3.org/WAI/WCAG21/Techniques/failures/F65>

Ah, thanks for that. Yeah that whole technique could do with a bit of
cleaning, as I suspect it's not been updated in aeons.

Even in its current state, it does say "Appropriate WAI-ARIA attributes
may be used to provide alternative text, as long as they are
accessibility supported".

aria-label is accessibility supported and provides an alternative /
accessible name. So at least that gels.

P
--
Patrick H. Lauke

* https://www.splintered.co.uk/
* https://github.com/patrickhlauke
* https://flickr.com/photos/redux/
* https://mastodon.social/@patrick_h_lauke