-
Notifications
You must be signed in to change notification settings - Fork 214
[accessibility] Row names (i.e., stub) have to use <th> tag #678
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
Comments
Thanks @jooyoungseo ! I'll definitely get this change made soon when I start on the accessibility pass. If you find any more aspects of HTML tables that are suboptimal for accessibility, please file those as issues as well. |
Thanks, @rich-iannone! I have found some more that I will also file soon. What about we create a new label "Accessibility" to easily track down? |
I was just thinking that! I'll make that label and apply it to this issue (and previous ones). |
[Accessibility] Closing #678: Use <th scope="row"> for gt_stub
Now that #979 is merged, I'm closing this issue. |
Currently,
stub
(AKA, row names) are denoted with<td>
tag for html output.However, this is not a recommended practice for accessibility purpose.
As of writing this issue, the row names are not auto-announced when navigating row by row with screen readers.
Please consider using
<th>
instead. That will resolve this issue.Plus, ideally, it would be best if we could add scope = "row" attribute as well.
Please consult with this technical spec.
Reprex
Created on 2020-11-07 by the reprex package (v0.3.0.9001)
Session info
The text was updated successfully, but these errors were encountered: