-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[question] DataGridToolbar button violating accessibility standards #9307
Comments
Probably linked to #8862. Not sure I understand correctly, the lighthouse report highlights some issues but doesn't explain what it thinks are the issues. IIUC, it's not happy because those buttons have I'm not sure if the ARIA spec has a way to describe that there will be a popup mounting when the button is clicked, the spec is quite dated in some aspects. If we want to comply with the lighthouse report, we'd need to trade aria-conformance for performance, which is not ideal. We should probably test the behavior on a screen reader to check how accessible we are in reality, regardless of what lighthouse says. |
https://w3c.github.io/aria/#aria-haspopup We're performing a VPAT at the request of a customer so it's important that we value the accessibility of these components. Reading the w3c standards I'm not seeing anything about the children needing to be active in the dom are you? I'm wondering where lighthouse is getting this from. |
Sure, what I'm saying is we should prioritize accessibility testing in real accessibility tools over what a report says.
If you look at the linked issue in my first message, we made that change specifically because some a11y testing tool was complaining about the DOM element not being mounted. Maybe that tool's reports were wrong and lighthouse's are better, we should test which one works best for screen readers before doing more changes. Link to the original tool: https://accessibilityinsights.io/docs/web/overview/ |
It would be nice if we could first confirm what lighthouse thinks the ARIA issues are. Maybe you could open an issue with them first? The reported issues don't have a clear explanation of what the problem is, they should probably adjust that on their side. |
I've reviewed the specs but couldn't find a clear answer. I've opened an issue with the ARIA group, maybe they'll be able to help: w3c/aria#1956 |
Aside form technically clearing the aria required has your team tried actually using datagrid with a screen reader? It's impossible to navigate to the toolbar https://imgur.com/gallery/zcU0kVS Here is a video showing |
Can you open a separate issue for the keyboard navigation? |
Regarding the message from lighthouse, I think it's describing #8525 which we can only fix at the next major release due to the breaking change to the DOM structure. IMHO we can close this as duplicate of that issue, unless you have more feedback on what lighthouse is pointing out. |
Order ID or Support key 💳 (optional)
37b83db94a4536050ab7b3cc2e79a6a5Tz01NjU3NixFPTE3MDMzNDc4NzI4MjAsUz1wcm8sTE09cGVycGV0dWFsLEtWPTI
Duplicates
Latest version
The problem in depth 🔍
You can see the same error on the mui site
DataGridPro's
GridToolbar
violates accessibility requirements.https://dequeuniversity.com/rules/axe/4.6/aria-required-children
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: