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

Add aria roles for table #267

Merged
merged 4 commits into from Mar 26, 2020
Merged

Add aria roles for table #267

merged 4 commits into from Mar 26, 2020

Conversation

heathernfran
Copy link
Contributor

Add aria roles to divs for tables. Div elements are arranged to show tabular data, and aria roles are added to appropriate Panel components.

Note that this assumes that the PanelRow will always be used as a table row, and that the PanelCell will always be used as a table cell. The PanelBody takes an optional role prop - it does not currently assume that its role will always be a table.

Closes #193

@heathernfran heathernfran requested review from a team and bradcypert March 13, 2020 20:38
Copy link
Contributor

@bradcypert bradcypert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Great work and thank you for doing this :)

@heathernfran heathernfran merged commit 40a1569 into master Mar 26, 2020
@heathernfran heathernfran deleted the table-aria-roles branch March 26, 2020 20:34
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.

Render Table component with correct markup for tabular data
2 participants