[Rules] Revised ARIA in HTML rules for img alt=""
See original GitHub issuefor an img alt="" ARIA in HTML was updated to indicate role=none and role=presentation are redundant to the implicit ARIA role. These roles should be marked as invalid, or at least flagged as a warning to authors for their redundancy
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
ARIA in HTML - W3C
This specification defines the authoring rules (author conformance requirements) for the use of Accessible Rich Internet Applications ...
Read more >ARIA: img role - Accessibility - MDN Web Docs
The ARIA img role can be used to identify multiple elements inside page content that should be considered as a single image.
Read more >Revised ARIA in HTML rules for img alt="" · Issue #1137 - GitHub
for an img alt="" ARIA in HTML was updated to indicate role=none and role=presentation are redundant to the implicit ARIA role.
Read more >Image not in the accessibility tree is decorative
This rule checks that visible img , svg and canvas elements that are ignored by assistive technologies are decorative. Applicability. This rule ......
Read more >Accessibility: Image Alt text best practices - Siteimprove Support
As a rule of thumb: avoid writing text alternatives longer than 100 characters. Having long alt text will result in a poor user...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

If I understand this, it’s asking to flag this because the role is redundant:
Redundancy doesn’t cause failures since it will show up the same in the accessibility hierarchy. It’s not a ‘bug’ to not flag it. Changing this to an ‘enhancement’ to consider how to warn, or if that will cause developers too much noise.
Validated