TH and TD – Failed
Table cells (TH or TD) are not inside a row, or a row holds something other than cells. Learn how to repair the cell structure in Acrobat Pro.
Drop your PDF to find "TH and TD – Failed" in your browser. PagePass can fix it for you.
Drag and drop a PDF here, or choose a file.
Your file never leaves your browser.
Already confirmed this error? Fix this PDF in PagePass (uploads are deleted after 1 hour).
How each checker reports it
| Checker | Exact message | Rule / checkpoint |
|---|---|---|
| Adobe Acrobat Accessibility Checker | TH and TD – Failed | - |
| veraPDF (PDF/UA-1 profile) | TH element not contained in TR element | 7.2-8 |
| veraPDF (PDF/UA-1 profile) | TD element not contained in TR element | 7.2-9 |
| veraPDF (PDF/UA-1 profile) | TR element contains not a TH or TD elements | 7.2-10 |
| Matterhorn Protocol 1.1 | A table-related structure element is used in a way that does not conform to the syntax defined in ISO 32000-1, Table 337. | 09-004 |
- Severity
- Serious: major barrier for some users
- Automatic fix
- Yes: automated tagging, then a short visual review in PagePass
- WCAG 2.1 success criteria
- Matterhorn Protocol checkpoints
- 09-004
What this error means
In a tagged table, rows hold cells and cells hold content. Acrobat’s TH and TD rule checks the first half of that contract: every header cell (TH) and data cell (TD) must be a direct child of a table row (TR). veraPDF splits the same idea into three PDF/UA-1 rules: 7.2-8 for a TH outside a row, 7.2-9 for a TD outside a row, and 7.2-10 for a row that contains something other than TH and TD. The Matterhorn Protocol groups all of them under checkpoint 09-004.
The second half (what goes inside a cell) is flexible: a cell may contain paragraphs, lists, links or figures. Failures almost always come from the outer structure being broken, not the inner one.
Why it matters for screen-reader users
When a screen-reader user enters a table, they navigate with table commands, for example moving down a column and hearing each cell with its header. A cell that is not inside a row has no row or column position, so the reader cannot announce its header and may skip it during table navigation. Text that sits directly in a row, outside any cell, may be read as part of the neighboring cell, so values appear to merge.
The visual table looks perfect, which is why this barrier is easy to miss. It fails WCAG 2.1 success criterion 1.3.1 (Info and Relationships) and therefore the WCAG 2.1 AA standard that applies to public-entity documents under ADA Title II.
How to confirm the fix
After repairing tags, expand the Table in the Accessibility Tags panel: you should see only TR (or THead/TBody/TFoot with TR inside), and inside each row only TH and TD. Then test with NVDA or JAWS using table navigation keys, or check that the row and column counts match what you see on the page.
How to fix “TH and TD – Failed” in Acrobat Pro
Acrobat Pro is required. For a simple table, fixing tags by hand is fine; for a table with many broken cells, re-tag it and use the Table Editor.
Step 1: Show the failing cell in the Tags panel
In the Accessibility Checker panel, expand Tables, right-click (Ctrl-click on macOS) the TH and TD failure and choose Show in Tags Panel.
Step 2: Check the cell's parent and the row's children
A TH or TD must sit directly inside a TR, and a TR may contain only TH and TD. Look for cells placed straight under Table, TBody or a P, and for rows that contain P, Span or Figure tags without a surrounding cell.
Step 3: Wrap loose content in a cell
If a row contains bare text or an image, create a new TD (or TH for a header) inside that row using New Tag, then drag the content into the new cell so the row holds only cells.
Step 4: Move orphaned cells into the right row
Drag each misplaced TH or TD into its row, in left-to-right order. Create a missing TR first if the cells have no row at all.
Step 5: Use the Table Editor for many cells
With All tools > Prepare for accessibility > Reading order active, right-click the table on the page and open the Table Editor. Select cells, open Table Cell Properties, and set each one to Header cell or Data cell with the right scope.
Step 6: Re-run the check
Choose Check Again in the Accessibility Checker. Confirm TH and TD, Rows, Headers and Regularity all pass, then read the table with a screen reader or the Reading order panel.
Prevent it in the source file
Microsoft Word
- Do not put text boxes, shapes or nested tables inside table cells; Word exports those as content that can land outside any TD.
- Remove empty spacer rows and columns used only for layout before saving as a tagged PDF.
Google Docs
- Google Docs exports often need table repair. Keep tables simple (one header row, no merged cells) and verify the TR > TH/TD structure in Acrobat after export.
How PagePass fixes it automatically
PagePass rebuilds the table from its detected grid so every cell is a TH or TD inside a TR, header cells get a Scope attribute, and merged cells get ColSpan or RowSpan values. Images or paragraphs inside a cell stay nested inside that cell. You check the detected header row and column in the Tables tab of the 60-second visual review before veraPDF validates the file.
Software does about 90% of the tagging. One person on your team checks the rest in about a minute per document. veraPDF validates the result against PDF/UA-1.
Frequently asked questions
What is the difference between TH and TD?
TH marks a header cell (a column or row label such as 'Fiscal year'), and TD marks a data cell. Screen readers read the TH text when a user moves into a TD, which is how they know what a number means.
Can a table cell contain a paragraph or a list?
Yes. A TH or TD can contain P, L, Figure or other tags. What is not allowed is the reverse: a P or Figure sitting directly inside a TR without a cell around it.
Is the Table Editor better than dragging tags?
For setting header versus data cells and scope, yes; it works on the visual table and is less error-prone. For moving a cell into the right row, the Tags panel is usually faster.
Will PagePass fix TH and TD failures without me editing tags?
Yes, the cell structure is rebuilt automatically. You only confirm which row or column holds the headers during the visual review.
Related errors
- Rows – Failed
A table row (TR) sits outside a Table, THead, TBody or TFoot tag, so screen readers cannot tell which table the row belongs to. Here is the fix.
- Headers – Failed (table has no header cells)
A data table has no TH cells, so screen readers read numbers without saying which row or column they belong to. Mark the header cells to fix it.
- Regularity – Failed
A tagged table has rows with different numbers of cells, so screen readers lose track of which column they are in. Learn how to square up the grid.
- Table header cell has no Scope attribute
Header cells are tagged TH but don't say whether they head a row or a column, so screen readers can't pair data cells with headers. Add Scope.
- Summary – Failed
Acrobat wants a table summary. It is optional for PDF/UA and WCAG, but helps with complex tables. When to add one, and how in Acrobat Pro.