Closed laughnan closed 1 month ago
Creating this PR to support accessibility improvements noted in https://github.com/bvaughn/react-virtualized/issues/1604
All initial tests in https://github.com/bvaughn/react-virtualized/pull/1691/commits/429a472df69e6ab1c0a25ddca4ae112b88cbf104 pass (without new tests) showing that this change is backwards compatible.
role
prop for Table
and Column
@wuweiweiwu can you give this a review?
Changes
We're seeing an issue that impacts multiple tables in our application. This is mostly on Windows computers and causes the screenreader to go into a different mode when tabbing into the
div
(this has role"grid"
and the columns have role"gridcell"
).role="grid"
triggers Application Mode for the Windows screenreader.Contribution Checklist
Thanks for contributing to react-virtualized!
Before submitting a pull request, please complete the following checklist:
npm test
) all passyarn run prettier
).yarn run typecheck
).Here is a short checklist of additional things to keep in mind before submitting: