Skip to main content
WCAGrules
Quick navigation

Fixes by subject · 13 techniques

How to Fix Tables and Data

A data cell that does not know its header is a number with no meaning attached.

Sighted readers resolve a table by eye, tracking up a column and across a row without thinking about it. A screen reader can do the same thing on request, but only when the relationship between each cell and its headers is in the markup rather than in the layout. That is why the subject earns a page of its own even though W3C publishes very few table techniques, which is why the list below is short. It covers marking header cells as headers, setting scope, captioning tables, and associating a complex cell with more than one header. It also covers the documented failures that come from laying data out with white space instead of a table. Two of those are advice rather than obligation, because a caption is not required in every case, and a small table with one clear header row does not need scope on every cell.

All 13 techniques

They run in technique order, and each one carries a tag. Sufficient techniques satisfy a rule. Advisory ones help without being required. Failures document a specific way of getting it wrong. None of them is mandatory, because W3C publishes techniques as documented ways of meeting a criterion rather than the only ways, so your own approach conforms as long as it meets the criterion.

More on Tables and data

The other 13 subjects

Knowing the technique is not the same as knowing you need it.

The free scan checks 10 pages in a real browser and maps every machine-checkable failure to the exact fix guide that clears it.

Run the free scan

Go somewhere useful

Find tools, resources and your workspace.

29 destinations