Body
Issue/Question
When I run a Page Check I get the following Serious Problem:
Non-empty <td> elements in larger <table> must have an associated table header
Environment
Cause
Omni CMS Final Checks evaluate all code on a page and detect accessibility issues not meeting WCAG 2.0 (Level AA) standards.
It detected the page contains a large table (3 or more cells wide and 3 or more cells high) that has a cell with data and no coordinating header for the column or row it is contained in. Screen readers have a specific way of announcing tables. When tables do not have the correct header structure, screen reader users cannot visually perceive the relationships between the cells and their contents.
Tables with more than one column or row of headers can be difficult to make accessible through the WYSIWYG. Instead, consider replacing the table with a snippet such as cards or columns to group sets data, or splitting the table into multiple tables.
To fix the problem, ensure each non-empty data cell in a large table has one or more table headers.
- Click Yellow Light Bulb to check out page.
- Click Edit tab.
- Click Edit button on content area where cell with no header is located.
- Click on table containing cell using the text displayed in the Source Code portion of error.
- Ensure table has table headers or create them.
Note: See Add WKU Styling to Your Table to learn how to create and style table headers.
- Add text to every table header in the row if they do not have one.
- Remove rows or columns lacking a header.
- Right Click inside row/column.
- Hover over Row or Column in menu.
- Click Remove Row or Remove Column.
- Save page.
- Click Publish button to run accessibility final check again. When the issue is resolved it will no longer display in the accessibility check.