New Tool Radar

AI Design Workflows

How to Check Row Headers in a Designed Data Table

Check row headers in a designed data table, because a table without row headers leaves screen reader users lost in a grid of numbers.

Schematic with three steps: mark the row headers, check they are real header cells, test the table with a screen reader.

A designed table often looks clean and still fails: the first column names each row, but it is marked as ordinary data, so a screen reader reads numbers with no idea which row they belong to. Row headers fix that. This check marks them and tests the table.

Why this needs its own check

WCAG 2.1 success criterion 1.3.1 Info and Relationships, Level A, requires that information, structure, and relationships conveyed through presentation can be programmatically determined. The WCAG 2.2 checklist states the same rule, and table headers are the usual case: a first column that names the rows must be marked as a header, not styled to look like one.

What you need before you start

  • The table as it will be published
  • A note of which column names the rows
  • A screen reader or accessibility inspector

Step 1 – Mark the row headers

Look at the table and write down which column names each row: the product, the month, the branch. That column is the row header column, even when it looks like ordinary text.

Step 2 – Check they are real header cells

Inspect the table markup and confirm the first column uses header cells with row scope. A first column styled bold but marked as data fails, since presentation alone does not make a header.

Step 3 – Test the table with a screen reader

Listen to the table as a screen reader announces it. Each number should be announced with its row header and its column header. Numbers announced alone, with no row name, fail.

Worked example

Practice check: a fictional Harbour Light Bakery price table

The example below is fictional. Harbour Light Bakery is an invented business used only as a practice case. No real customer, page, or product is shown. Treat it as a practice case, not as evidence about any real business.

Part What it should be As shown Result
Row header column named Column named First column names the bread Pass
Header cells marked Header cells with row scope Header cells with row scope Pass
Screen reader announces rows Numbers with row names Numbers with row names Pass
Column headers marked Header cells with column scope Column headers are plain data cells Fail – column headers not marked

Only 3 of the 4 checks pass: the named row column, the marked row headers, and the screen reader test. The one failure is the column headers, left as plain data cells.

What to do when something is wrong

Mark the top row as header cells with column scope, matching the row headers. Re-test with the screen reader so every number is announced with both its row and its column name.

Expected result. We checked the WCAG 2.2 checklist listed in Sources. We did not test a live Harbour Light Bakery table. UNTESTED: no screen reader test was run on a real table; the practice table shows the expected result pattern for a table with unmarked column headers.

Limits

  • This check covers row and column headers only. It does not cover table captions, summaries, or whether the table should be a chart instead.

Sources

See all