You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of my work for elastic/kibana#37539 I saw that EuiBasicTable sometimes renders empty table headers, for example, in headers for row expanders. The WAVE tool considers this an error, and guidelines to fix it.
If the table cell is a header, provide text within the cell that describes the column or row. If the cell is not a header or must remain empty (such as the top-left cell in a data table), make the cell a rather than a .
Haha, thanks @afgomez Yes we also have an existing ticket for this one as well #840. We are in the middle of an a11y push for some components (slow-going, but going) and we've got this on our meta list #2262. I'm mainly closing this one since we don't like to have duplicates and we also agree with your solution.
As part of my work for elastic/kibana#37539 I saw that
EuiBasicTable
sometimes renders empty table headers, for example, in headers for row expanders. The WAVE tool considers this an error, and guidelines to fix it.How to reproduce
Suggested solution
When the component knows that a table header will be empty because the column is used for non-content (i.e. row expanders), use a
<td>
instead.The text was updated successfully, but these errors were encountered: