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

expectations for image tag with aria-label #25

Open
pkra opened this issue Apr 21, 2023 · 2 comments
Open

expectations for image tag with aria-label #25

pkra opened this issue Apr 21, 2023 · 2 comments

Comments

@pkra
Copy link
Member

pkra commented Apr 21, 2023

[I'm filing this here but I realize there might be better places to move this to.]

I had recently stumbled upon a validation error dequelabs/axe-core#3969.

While I made the point that aria-label on an image tag is valid, the axe developers pointed out that AT support seemed questionable.

As I commented there, I feel this is perhaps a problem about expectations. I'm hoping the WG(s) could shed some light on this.

@jnurthen
Copy link
Member

IMO we need tests for each of those inclusion statements (if they don't already exist). I think the new wpt tests using computedRole and computedLabel would probably be a great fit for this.

@pkra
Copy link
Member Author

pkra commented Apr 22, 2023

IMO we need tests for each of those inclusion statements (if they don't already exist). I think the new wpt tests using computedRole and computedLabel would probably be a great fit for this.

No disagreement but it's not what I was after here. As I noted on the axe tracker, in my tests all current engines exposed image tags with aria-label as img/image, matching svg-aam.

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