Can we count your visit?

Our analytics service records the pages you view, so we can see which ones are useful. It saves a random ID in your browser, and we never use it for advertising. Read our privacy policy.

Table headers

Cells marked in code as the headings for a row or column, so a screen reader can announce them with each value.

Also called
header cells

Table headers are the cells that label a data table's rows or columns, coded with the th element. As someone moves through a table with a screen reader, it announces the matching header with each cell, such as “Price, $40”. Without coded headers, they hear a run of numbers with no way to tell which column each belongs to.

A simple table needs th elements in its first row or column, with the scope attribute where the direction isn't obvious. A complex table, with headers on several levels, is easier to use split into simpler ones. A table used only for layout needs no headers, and CSS layout can replace it.

Get help with every step.

We can work with organizations of every size and industry, from a startup serving its first customers to a bank. We find where you stand, help your team fix what matters, and keep checking as your product changes. That work is evidence of your effort, not a legal guarantee.