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

[Accessibility] Avoid empty th in doc-table header row #12364

Merged

Conversation

weltenwort
Copy link
Member

@weltenwort weltenwort commented Jun 15, 2017

Release Note: The discover document table header cells provide appropriate hints to screen-readers.

This changes the first cell in the doc-table header row to be a <td> instead of <th> so screen readers interpret it correctly. Additionally, the scope attribute marks the remaining headers as being column headers.

fixes #11854

Copy link
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

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

This is fantastic. Thanks for doing this!

@weltenwort weltenwort requested a review from Bargs June 21, 2017 10:00
@weltenwort weltenwort force-pushed the fix/doctable-accessibility-empty-header branch from 781ba27 to 68d9a14 Compare June 21, 2017 13:52
@weltenwort weltenwort force-pushed the fix/doctable-accessibility-empty-header branch from 68d9a14 to f19e266 Compare June 21, 2017 14:33
Copy link
Contributor

@Bargs Bargs left a comment

Choose a reason for hiding this comment

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

TIL about the scope attribute.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accessibility: Discover table header shouldn't contain empty header cells
4 participants