-
Notifications
You must be signed in to change notification settings - Fork 785
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
False positives when using aria-roledescription #3649
Comments
Thanks for the issue. When we created the check two years ago, assistive technologies didn't support it very well for non-interactive elements. That may have changed in the past years, so we can recheck support. |
After rechecking, the attribute is fully supported so we'll disable the rule and deprecate it.. |
Thanks! |
Validated with the latest axe-core develop branch code base,
Where with the earlier axe version (let us 4.6.3 production version) we can see the failure for |
…description, and promote scrollable-region-focusable (#6849) This commit updates axe-core to its latest version, 4.7.2, from 4.6.3. It also bumps the accessibility-insights-report package version. As part of the axe-core update: * The `aria-roledescription` rule has been deprecated (dequelabs/axe-core#3649). * `scrollable-region-focusable` axe-core rule failures have been promoted from "needs review" to "serious" (manually removed from explicit "needs review" but included automatically by axe-core), see dequelabs/axe-core#3862 and dequelabs/axe-core#3939. * `falsePositiveRemoval` introduced in ed75fda has been removed as the corresponding dequelabs/axe-core#3850 has been resolved. Part of Feature 2086120 (internal access required to view).
Product
axe-core
Product Version
4.4.3
Latest Version
Issue Description
Expectation
aria-roledescription
should be allowed on any element that has "a valid WAI-ARIA role or has an implicit WAI-ARIA role," according to ARIA 1.1's roledescription sectionActual
I believe that the checks for
aria-roledescription
limit the supported WAI-ARIA roles to:which leaves out a fair number of roles, including the "region" role that's used in the ARIA 1.1. example of a "slide".
How to Reproduce
Provide a code sample or link to a webpage that reproduces the issue. Without this, your issue may be closed without investigation.
Add the following HTML node to a page:
<mark aria-roledescription="Claim highlight">Bats are vital pollinators</mark>
Run axe devtools or any of the other tools that use axe-core, and you'll get an error:
The text was updated successfully, but these errors were encountered: