WCAG 1.3.1: Info and Relationships (table cells)
Back to all WCAG criteriaOVERVIEW
What's it about?
Complex tables must use the scope attribute in addition to <th> for headers and <td> for data cells to make the relationships clear.
How to
Depending on your situation, you can implement one of the following options to meet the criterion. For a deeper dive, please refer to the linked WCAG techniques.
Correctly associate table headers with their content
When a table has two headers (one on the left and one at the top), the
scopeattribute must be used to associate table headers with data cells.scopeindicates whether the cell is a header for a row (row), a column (col), or a group of rows (rowgroup) or columns (colgroup).For more complex tables with multiple sub-headings, the
<th>elements also need anidso they can be associated with individual table cells.Very good examples of how to implement accessible tables can be found on the W3C website

Accessible development?
Our workshop for developers!
Learn everything you need to know in our workshop to build accessible websites!
Learn accessibility with us?
Looking to implement WCAG best practices in your design, development, or content workflow? Book a workshop for your team or contact us directly to learn more.