For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content

Tables Guided Test

A screen reader reads a data table one cell at a time and announces the row and column headers for each cell. If the headers are missing or wrong, the user hears numbers with no meaning. A layout table that is announced as a data table is just as confusing.

The Tables test finds the tables on the page, decides which hold data and which are only for layout, and checks that every data cell is tied to the correct headers. It does the automatic checks first, and then asks you to confirm the parts that need a person.

When to use this​

Use this test on pricing tables, reports, dashboards, schedules, comparison tables, and pages that use tables for layout.

Prerequisites​

The TestMu AI Accessibility Toolkit is installed. See Install Toolkit.

What the test checks​

RuleWCAGSeverity
Table has header cells or a caption but role="presentation"1.3.1 (A)Serious
Cell headers attribute points at missing ids1.3.1 (A)Serious
Header cell has no text1.3.1 (A)Moderate
Data table contains nested tables1.3.1 (A)Moderate
Layout table uses data-table markup1.3.1 (A)Serious
Layout table is announced as a table1.3.1 (A)Moderate
Data table has no header cells1.3.1 (A)Critical
Header cell lacks scope in a two-way table1.3.1 (A)Serious
Complex table cells are not associated with their headers1.3.1 (A)Serious
Header cells do not describe their data2.4.6 (AA)Moderate
Data cell is not associated with any header1.3.1 (A)Serious
Cell acts as a header but is not marked as one1.3.1 (A)Serious
Data cell is marked as a header1.3.1 (A)Serious
Header cell has the wrong scope1.3.1 (A)Serious
Data cell announces the wrong or incomplete headers1.3.1 (A)Serious

The report includes only the rules that fall within the WCAG version and level you set in DevTools Settings.

Run the test​

Start the test​

Open Assisted Tests in Accessibility DevTools and select Tables. Turn on Verify with AI if you want AI to give the first answers. See Start a guided test.

Confirm data tables and layout tables​

The test checks that a layout table is not announced as a data table, and that a data table is not hidden with role="presentation". Confirm which tables hold data and which are only for layout.

Review header cells​

The test checks that a data table has header cells, that no header cell is empty, and that a two-way table uses scope. Confirm whether the header cells describe their data.

Review cell associations​

The test checks that:

  • Every data cell is tied to a header.
  • No data cell is marked as a header, and no header is left unmarked.
  • The scope is correct.
  • Complex tables associate each cell with its headers.

Finish the test​

Finish the test to generate the report. Your progress is saved, so you can close the panel and continue later.

How AI helps​

With Verify with AI on, AI gives the first answer to this question:

  • Do the header cells describe the data in their rows and columns?

You can change the answer before you finish.

AI credits

Verify with AI will require AI credits. See Credits Management.

Terminal First Testing With Kane CLI

Natural language browser & mobile app tests right from terminal.

×
Schedule Your Personal Demo
Kane CLI terminal

Help and Support

Related Articles