-
-
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
[data grid] Unable to move out from a cell with a Link (React-Router) using arrow keys #14815
Comments
Could you please share your reproduction case in a runnable sandbox? You can fork any of the docs demo using these buttons: https://mui.com/x/introduction/support/#bug-reproductions |
https://codesandbox.io/p/sandbox/4kndfg?file=%2Fsrc%2FDemo.tsx%3A23%2C18 This is MUI Datagrid demo only. So what we have observed is, Arrow keys on link and custom column having button or icon button works just fine in normal case but if we have screen reader like 'NVDA' running, arrow key stuck at such link/custom column having buttons and it does not shift left or right on arrow key press. You can try same on above by running NVDA and without NVDA. With NVDA running, once such link column is in focus and when we press arrow key, instead of jumping focus to next cell, it reads each character withing that link. Is there any solution for this? |
Could you put your code inside that codesandbox? Or is the problem reproducible with the demo as it is? |
Yes, you can reproduce issue with this demo itself. Keep NVDA screen reader running and then try to use keyboard on the email column. It doesnt move out of email column https://codesandbox.io/p/sandbox/4kndfg?file=%2Fsrc%2FDemo.tsx%3A23%2C18 |
This problem is present in other grids and is an NVDA issue/bug:
I'm not sure there's anything we can do from here, it would be best to comment on the upstream issues. You can link to this issue to highlight the importance of fixing the issue in NVDA. |
The issue has been inactive for 7 days and has been automatically closed. |
The problem in depth
We are trying to make our site AA accessibility compliant. What we have observed in the DataGrid is, arrow keys are working all well until we have custom columns using cellRender where we have used react-router's Link.
We are able to focus it using arrow key but once focus is set in that cell, it is not coming out using arrow keys.
We have checked on the MUI Accessibility section 'https://v6.mui.com/x/react-data-grid/accessibility/#system-GridAriaV7.tsx'. there also we see similar issue where, once focus is on email column, user is unable to move out to next column using arrow key.
Your environment
`npx @mui/envinfo`
Search keywords: Datagrid accessibility
Order ID: 81479
The text was updated successfully, but these errors were encountered: