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

aria-allowed-attr not returning correct results for aria-roledescription #1517

Closed
straker opened this issue Apr 24, 2019 · 4 comments
Closed
Assignees
Labels
docs Documentation changes fix Bug fixes rules Issue or false result from an axe-core rule
Milestone

Comments

@straker
Copy link
Contributor

straker commented Apr 24, 2019

Expectation:
Aria-roledescription should pass for elements/roles listed in #1216 (comment), return incomplete for all other roles, and fail for an element without a role

Actual:

  • Fails for <a href="foobar.com" aria-roledescription="foo">foo</a> (valid role but not supported on anchor elements, should incomplete)
  • Fails for <div role="button" aria-roledescription="foo">foo</button> (valid role and supported on button elements/roles, should pass)

Motivation: https://github.com/GoogleChrome/web.dev/issues/763


axe-core version: 3.2.2
@WilcoFiers WilcoFiers added fix Bug fixes rules Issue or false result from an axe-core rule labels May 1, 2019
@dylanb
Copy link
Contributor

dylanb commented Jun 16, 2019

@straker Have you thought through the accessibility supported nuances here?

@straker
Copy link
Contributor Author

straker commented Jun 18, 2019

Only in terms of the testing I did in #1216 (comment)

@jeankaplansky
Copy link
Contributor

@chandana7393
Copy link

Tested, working fine.
aria-roledescription
Tested Environment:
Axe-coconut - 4.0.0.29104v
Chrome - 77.0.3865.120v
OS - Windows 10 64 bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation changes fix Bug fixes rules Issue or false result from an axe-core rule
Projects
None yet
Development

No branches or pull requests

5 participants