-
Notifications
You must be signed in to change notification settings - Fork 841
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
Empty table th elements should be replaced with td #840
Comments
In elastic/kibana#12401, referenced above, the author links to this article for details: https://webaim.org/techniques/tables/data However, I see no where that it mentions replacing
I would call this now a non-fix since it's no longer an approved way of handling empty header cells. |
@cchaos i was testing accessibility in Uptime app and i found the same issue with wave accessibility tool i also found another useful discussion regarding this issue in another component library issue also in a more complicated solution, user can also use render method to render custom td, but i think that will be ugly. |
+1 to replacing empty @cchaos In the same article you posted, the examples on that page use empty |
@myasonik i want to work on this issue |
It's yours! |
If an empty String is used for the
name
property of a column in an EUI table (found withEuiInMemoryTable
), an empty<th>
element is created. For accessibility, this empty<th>
should be replaced with a<td>
(see elastic/kibana#12401).Example from the ML anomalies table where an empty header is used for the first column holding the row expand control:
cc @aphelionz
The text was updated successfully, but these errors were encountered: