You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
straker
added
standards
Issues in the ARIA standards objects (lib/standards)
and removed
ungroomed
Ticket needs a maintainer to prioritize and label
labels
Jan 8, 2025
WilcoFiers
changed the title
false positive for use of valid role=image
Support new role=image as synonym for role=img
Jan 10, 2025
We're going to need to test how well supported this is. I'd wager since this only just want in it isn't there yet. We'd have to report this as an unsupported role though, not as an invalid role.
definitely do your own testing to verify. but as mentioned, it's supported in all browsers as demonstrated by the passing WPT i linked to. all screen readers tested (VO -macos/ios, NVDA, Narrator, JAWS) treat it exactly the same as role=img, because the mapping are identical.
the only place where i'd imagine that maybe there wouldn't be support is with a user agent that doesn't use the accessibility tree, but instead still looks at just the dom.
Product
axe-core
Product Version
4.10.2
Latest Version
Issue Description
per the following test
the checker reports a"ARIA roles used must conform to valid values".
role=image
is a valid role which is supported by all browsers (wpt demonstrating role=image supported in all browsers.ARIA in HTML is updating to indicate this is an allowed role for all the instances of where
role=img
was also allowed.The text was updated successfully, but these errors were encountered: