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

Grid: Improve accessibility by adding props aria-readonly & role="rowgroup" #744

Merged
merged 1 commit into from
Jul 20, 2017
Merged

Grid: Improve accessibility by adding props aria-readonly & role="rowgroup" #744

merged 1 commit into from
Jul 20, 2017

Conversation

smockle
Copy link
Contributor

@smockle smockle commented Jul 17, 2017

What changed?

  1. aria-readonly is set on the outer <div> with role="grid" to indicate it contains elements which are operable but not editable (contra the grid role default). It can be overridden. The default value is true.

  2. role="rowgroup" is set on the inner container <div> to establish the relationship between the outer <div> with role="grid" and children with role="row". It helps assistive technologies identify the inner container as something akin to a <tbody>. It can be overridden. The default value is "rowgroup".

Why did it change?

Together, these props allow JAWS to recognize Grid as a table and enable “Table Layer” reading commands.

@bvaughn
Copy link
Owner

bvaughn commented Jul 18, 2017

This is excellent! Thanks for improving accessibility! ❤️

I'm going to hold off on merging this until #743 has been merged since that PR is pretty complicated and I don't want to cause any conflicts.

@bvaughn
Copy link
Owner

bvaughn commented Jul 20, 2017

I've merged master into this branch and manually resolved conflicts

@bvaughn
Copy link
Owner

bvaughn commented Sep 18, 2017

This feature has been released in version 9.10.0. Thank you for contributing!

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

Successfully merging this pull request may close these issues.

2 participants