-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[data grid] AXE test fails due to invalid child role "presentation" #12837
Comments
One other note, the test passed in data-grid-pro v6 when experimentalFeatures -> ariaV7 was enabled like:
|
I don't think role=presentation is the problem, from the spec:
Which is how we're using it. We tag presentational elements with |
Thank you for your response @romgrk and after looking at the output it does appear to be valid. I don't see any aria-hidden or other tags that would result in presentation being ignored. I have filed a ticket for false positive with the Deque team that creates the core used in Jest, Storybook and Chrome extensions / plugins. They are rather widely used so hopefully if it is indeed a false positive they can fix it and you won't see any more of these issues filed here. Thanks again. :) |
Thanks. We receive reports from time to time from various ARIA checkers and they're not always accurate or consistent with one another, if we could have more clarity onto what specific element is rejected and why that would help a lot. Ideally if we can have a link to which section of the ARIA spec is not respected we can get more clarity about the change to make. In case of discrepancies it's also best to validate with https://github.com/w3c/aria, they can add clarification notes or updates to the spec. |
The issue has been inactive for 7 days and has been automatically closed. |
@romgrk it appears the issue is with the negative tab index being read by screen readers and invalidating the role="presentation", see the comment here -> dequelabs/axe-core#4419 (comment)
|
Steps to reproduce
Link to live example: https://mui.com/x/react-data-grid/
Steps:
Current behavior
DataGrid fails accessibility test out of the box
Expected behavior
Should not fail accessibility test
Context
No response
Your environment
npx @mui/envinfo
Search keywords: invalid child role aria
Order ID: Order #75258
The text was updated successfully, but these errors were encountered: