question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Rules] Revised ARIA in HTML rules for img alt=""

See original GitHub issue

for 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:closed
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tombrunetcommented, Jun 1, 2021

If I understand this, it’s asking to flag this because the role is redundant:

<img alt="" role="none" />

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.

0reactions
eirckrcommented, May 6, 2022

Validated

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found