Skip to content
PDF Accessibility

Fix the “Table headers failed” PDF error

A tagged table has no header cells, so screen readers cannot tell users which row or column a value belongs to.

What does Table headers failed mean in a PDF?

It means a Table in the tag tree has no TH (table header) cells, only TD data cells. Screen readers then read numbers without their row and column labels. Fix it by retagging the header row or column as TH and setting Scope to Column or Row, or by adding Headers and IDs for complex tables.

Automatic fix: partlyOur fixer resolves most cases; some need a quick human check in the review editor.· WCAG 1.3.1 Info and Relationships, PDF/UA-1 (ISO 14289-1) 7.5, Matterhorn 15, WCAG technique PDF6

How to fix table headers manually

  1. Locate the table. In Acrobat Pro, open the Tags panel and find the Table tag, or right-click the failing item in the checker results and choose Show in Tags Panel.
  2. Open the table editor. Open the Reading Order tool, click the table, and choose Table Editor. Cells are outlined on the page.
  3. Mark headers and scope. Select the header row cells, right-click and choose Table Cell Properties. Set Type to Header Cell and Scope to Column. Repeat for row headers with Scope Row.
  4. Handle spans. In the same dialog, set Row Span or Column Span for merged cells so the structure matches the visual grid.
  5. Fix the source. In Word, select the first row and turn on Repeat Header Rows (Table Layout tab) before exporting, so future exports tag TH cells.

What the checker looks for

An accessible PDF table is built from Table, TR (row), TH (header cell) and TD (data cell) tags. The rule fails when a table contains no TH at all. PDF/UA-1 goes further: every data cell must be associable with its headers, normally through the Scope attribute on TH cells (Column, Row or Both) or, for irregular tables, Headers and ID attributes. Matterhorn checkpoint 15 covers these table tests.

The rule says nothing about whether the right cells are headers or whether merged cells are spanned correctly. Those need a human look.

Who it affects

When a screen reader user moves through a table, good markup lets it announce something like Q3, Revenue, 4.2 million. Without headers they hear 4.2 million with no context, and must memorize the column order. Large tables become unusable. Braille display users and people using voice navigation face the same problem.

Common causes

Header cells go missing because:

  • In Word, the Repeat Header Rows option was never set, so the exporter did not know which row was a header.
  • The table was drawn with tabs, spaces or lines instead of a real table object.
  • Excel exports often tag every cell as TD.
  • Automatic tagging guessed the table but not its header row.
  • Layout tables were tagged as tables, which they should not be.

How our fixer handles tables

Our fixer detects tables, tags the first row and, where the layout suggests it, the first column as TH, and sets Scope on each header cell. It handles row and column spans it can read from the layout. Simple data tables usually come out correct. For tables with multi-level headers, merged cells or tables split across pages, it lowers its confidence and lists them in the review editor, where you can click a cell to make it a header or data cell. Tables that are only used for layout can be converted to plain content.

Because the meaning of a table depends on its content, we treat this rule as partly automatic. See accessible PDF tables for more detail.

Sources

This page is general information, not legal advice. Automated checks cannot prove full compliance; some requirements need human review.

Frequently asked questions

Do all tables need headers?

All data tables do. Tables used only for visual layout should not be tagged as tables at all.

What is Scope and do I need it?

Scope tells assistive technology whether a TH labels a column or a row. PDF/UA expects it on header cells in tables without Headers/ID markup.

When should I use Headers and IDs instead?

For complex tables with more than one level of headers, where Scope alone cannot describe which headers apply to a cell.

Can tables that break across pages be fixed?

Yes, but the continuation needs care. Repeated header rows on later pages are often better as artifacts so they are not read twice.

Does the fixer guarantee correct tables?

No tool can. Simple tables are usually right automatically, complex ones are flagged for your review.