Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicit role of <img alt aria-label="foo" /> #2298

Open
Jym77 opened this issue Feb 7, 2025 · 1 comment
Open

Implicit role of <img alt aria-label="foo" /> #2298

Jym77 opened this issue Feb 7, 2025 · 1 comment

Comments

@Jym77
Copy link
Collaborator

Jym77 commented Feb 7, 2025

In a recent change to ARIA in HTML, images with an empty alt but having another "img naming method" (aria-label(ledby)) now have an implicit role of img.

We should had an example like <img alt aria-label="foo" /> to our "Image has accessible name rule".

Note that this change hasn't been reflected in the HTML AAM yet: w3c/html-aam#577

@giacomo-petri
Copy link
Collaborator

We should also handle the opposite side of it: Element marked as decorative is not exposed - Failed Example 2

Related opened issue: #2212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants