-
-
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
[DataGridPro] Fix Tree Data and Row Grouping rows accessibility #13623
[DataGridPro] Fix Tree Data and Row Grouping rows accessibility #13623
Conversation
Deploy preview: https://deploy-preview-13623--material-ui-x.netlify.app/ Updated pages: |
b616ce8
to
b75e0fe
Compare
packages/x-data-grid-pro/src/hooks/features/treeData/useGridTreeDataPreProcessors.tsx
Outdated
Show resolved
Hide resolved
packages/x-data-grid-pro/src/hooks/features/treeData/useGridTreeDataPreProcessors.tsx
Outdated
Show resolved
Hide resolved
packages/x-data-grid-premium/src/DataGridPremium/DataGridPremium.tsx
Outdated
Show resolved
Hide resolved
As the original poster of #10032, I just want to thank you for taking this on! I had a look at the preview the bot posted and it looks good to me! It has all the attributes I'd expect and the numbers are right. Thanks again, Armand |
packages/x-data-grid/src/hooks/features/rows/useGridRowAriaAttributes.tsx
Show resolved
Hide resolved
packages/x-data-grid/src/hooks/features/rows/useGridRowAriaAttributes.tsx
Outdated
Show resolved
Hide resolved
0be3e83
to
5886b5e
Compare
...ta-grid-pro/src/hooks/features/serverSideTreeData/useGridDataSourceTreeDataPreProcessors.tsx
Show resolved
Hide resolved
1246f5b
to
f3346cf
Compare
packages/x-data-grid-pro/src/hooks/features/rows/useGridRowAriaAttributes.tsx
Outdated
Show resolved
Hide resolved
898ce3c
to
83c7554
Compare
packages/x-data-grid-pro/src/hooks/features/serverSideTreeData/utils.ts
Outdated
Show resolved
Hide resolved
packages/x-data-grid/src/hooks/features/rows/useGridRowAriaAttributes.tsx
Outdated
Show resolved
Hide resolved
packages/x-data-grid-pro/src/hooks/features/rows/useGridRowAriaAttributes.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great work! 👏
Fixes #10032
Used this as a reference
https://www.w3.org/WAI/ARIA/apg/patterns/treegrid/examples/treegrid-1/
Also fixes the issue with the value of
aria-rowcount
as it was not updated after filteringw3c/aria-practices#465