Skip to content
PDF Accessibility

DefinitionUpdated 2026-12-03

Table header scope

How accessible PDF tables tell screen readers which header belongs to which cell.

What is table header scope in a PDF?

In a tagged PDF table, header cells are tagged TH and given a Scope attribute of Column, Row or Both. When a screen reader user moves through data cells (TD), the reader uses scope to announce the matching header, for example "Q3, Revenue, 1.2 million". Without headers and scope, a table is just a grid of numbers.

How PDF table tags work

An accessible table is tagged as Table containing TR rows, which contain TH header cells and TD data cells. Optional THead, TBody and TFoot groups organize rows. The Scope attribute on each TH says whether it labels its column, its row or both.

WCAG 1.3.1 Info and Relationships requires that the relationships between headers and data are programmatically determinable. The W3C's PDF technique PDF6 describes using table elements for this.

Simple versus complex tables

Simple tables with one header row and maybe one header column work well with scope alone. Complex tables, with merged cells or multiple header levels, may need the Headers attribute on each TD listing the IDs of the TH cells that apply.

Often the best fix for a complex table is to split it into simpler tables. Layout tables used only for positioning should not be tagged as tables at all.

Checking and fixing tables

Checkers can detect tables with no TH cells, inconsistent row lengths and missing scope. They cannot judge whether the chosen headers make sense; that needs a person.

Our accessible PDF tables tool detects table regions, tags rows and cells, and marks header cells with scope. Tables where header detection is uncertain are flagged for review in the editor.

Sources

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

Frequently asked questions

Is scope required on every TH cell?

PDF/UA-1 requires that each data cell's headers can be determined; for TH cells this is usually done with scope. Setting scope explicitly is best practice.

What is the difference between Scope and Headers?

Scope sets direction on the header cell. Headers is set on a data cell and lists specific header cell IDs, which is needed for complex tables.

Should I tag a layout table?

No. If a grid is only used for visual positioning, tag the content as normal paragraphs, headings and lists instead of a Table.