E-mail List Archives
Re: Is using aria-label to add alternative text - but no alt attribute still a WCAG fail?
From: Steve Green
Date: Aug 23, 2024 5:05AM
- Next message: Birkir R. Gunnarsson: "Re: Is using aria-label to add alternative text - but no alt attribute still a WCAG fail?"
- Previous message: allyssa jessicon: "Re: Dropdown without a visible label"
- Next message in Thread: Birkir R. Gunnarsson: "Re: Is using aria-label to add alternative text - but no alt attribute still a WCAG fail?"
- Previous message in Thread: Jim Byrne Accessible Web Design: "Re: Is using aria-label to add alternative text - but no alt attribute still a WCAG fail?"
- View all messages in this Thread
If an image fails to load, some (most?) browsers display the "alt" attribute instead, but they don't display the "aria-label" value, so the "aria-label" attribute is not treated just like an "alt" attribute would be. Does this matter in terms of whether we regard "aria-label" as being accessibility support for <img> elements?
In terms of conformance with SC 1.1.1, "aria-label" only provides a text alternative for assistive technology users. Perhaps this is another of those cases where the provision of visible text when an image doesn't load is considered a usability issue, not an accessibility issue.
Steve Green
Managing Director
Test Partners Ltd
- Next message: Birkir R. Gunnarsson: "Re: Is using aria-label to add alternative text - but no alt attribute still a WCAG fail?"
- Previous message: allyssa jessicon: "Re: Dropdown without a visible label"
- Next message in Thread: Birkir R. Gunnarsson: "Re: Is using aria-label to add alternative text - but no alt attribute still a WCAG fail?"
- Previous message in Thread: Jim Byrne Accessible Web Design: "Re: Is using aria-label to add alternative text - but no alt attribute still a WCAG fail?"
- View all messages in this Thread