New Tool Radar

AI Design Workflows

How to Check an Accessible Data Table in an AI Design

Check that a data table in an AI design can be read by a screen reader, so every cell is announced with the row and column it belongs to.

Schematic diagram: three table checks — header cells marked, each cell tied to its headers, and no layout table faked as data — with a headerless grid failing.

A sighted reader sees a table’s meaning at a glance: the top row names the columns, the first column names the rows, and each cell sits at their crossing. A screen reader sees none of that unless the code says it. Without header cells, every number is announced on its own — “12.50” with no hint that it is Tuesday’s price for a large coffee — and the table becomes a list of orphan figures.

A table is a relationship, not a grid

WCAG 1.3.1 Info and Relationships (Level A) requires that information, structure and relationships conveyed through presentation can be programmatically determined or are available in text. The W3C’s example is a bus schedule table whose headers for each cell can be programmatically determined, so assistive technology can tell which bus and which stop a time belongs to. WCAG 1.3.2 Meaningful Sequence adds that the order must be programmatically determinable where order affects meaning — and in a table, row and column order is the meaning. See also our keyboard accessibility check.

Expected result. We checked the sources listed below. We did not run any design tool or browser on the Maple Corner design.

The table below is fictional practice material: six items in a Maple Corner design. Results are practice values for the exercise.

Practice table check: fictional Maple Corner price table

Table part Accessibility check Result
Column headers Marked as header cells, not bold body cells Pass
Row headers First column marked as row headers Pass
Price cells Each cell tied to its row and column header Pass
Merged header Spans two columns, announced once Pass
Layout grid Used for positioning, marked with header cells Fail — layout tables must not carry header semantics
Caption Table has a caption naming what it lists Pass

5 of the six items pass, and 1 fail. The passing items share one property: they were checked against the rule before the design was finished, not after. The failing items are the ones to fix first — each has its fix named in the table.

How to fix it

Mark the top row and first column as real header cells, give the table a caption that says what it lists, and keep one table per topic — split a table that tries to show two different things. Never build a data table out of positioned boxes: if it looks like a table, it must be a table in the code.

Limits

  • No design tool or browser was run on the Maple Corner table, and Maple Corner is fictional. The table above is the expected result for the practice items, not a test of any product.
  • A caption and a heading before the table are different things: the caption belongs to the table, the heading belongs to the section.
  • This guide checks data tables. Comparison tables that are really a list of features need the same header treatment.

Sources

See all