Skip to content
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

a11y: Table header and cell roles #680

Closed
jchen527 opened this issue May 17, 2017 · 0 comments
Closed

a11y: Table header and cell roles #680

jchen527 opened this issue May 17, 2017 · 0 comments

Comments

@jchen527
Copy link
Contributor

The table implementation is missing a few other ARIA roles:

  • Table headers should have role="columnheader", an id to associate the column's cells, and aria-sort if the column is sorted
  • Table cells should have role="gridcell" and aria-describedby that points to the associated column header

ARIA documentation: columnheader and gridcell.

jchen527 added a commit to jchen527/react-virtualized that referenced this issue May 17, 2017
Fixes bvaughn#680.
- Add id, aria role, and aria sort to table column headers
- Add aria describedby and role to table cells
jchen527 added a commit to jchen527/react-virtualized that referenced this issue May 17, 2017
Fixes bvaughn#680.
- Add id, aria role, and aria sort to table column headers
- Add aria describedby and role to table cells
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant