Tag merged cells and complex tables in Acrobat
Acrobat Pro · Windows, Mac · Last updated
Part of training module 14: PDF remediation 3: tables, scans, form fields and finishing
A table with merged cells or several levels of headers needs row and column spans set, and sometimes header IDs, so a screen reader still links each data cell to its headers.
Steps
A merged cell stretches across several rows or columns. Acrobat records this as a span. Where headers sit in more than one layer, you can link each data cell to its headers by ID. The best fix is often to split the table into simpler ones in the source file. Use these steps when that is not possible.
Acrobat Pro (Windows and Mac)
- Open the Reading Order tool. In new Acrobat, select All tools, Prepare for accessibility, then Fix reading order. In classic Acrobat, select Tools, Accessibility, then Reading Order.
- Select the table and choose Table Editor.
- Right-click a merged cell and choose Table Cell Properties.
- Set Column Span or Row Span to the number of columns or rows the cell covers. Mark header cells as described in Mark table header cells and scope with the Table Editor in Acrobat.
- For a table with layered headers, right-click and choose Auto Generate Header Cell IDs. Then open Table Cell Properties for a data cell and, in Associated Header Cell IDs, add each header that applies.
- Confirm each dialog, then repeat for other merged or layered cells.
Check it worked
- Open Table Cell Properties for each merged cell and confirm the span values you set are still there.
- Run the accessibility check. See Run the Accessibility Check in Acrobat.
- Move through the table with a screen reader. Each data cell should announce all of its headers, not just one.
Common mistakes
- Setting a span but leaving the cells it covers in the tree. Row and column counts must still add up across every row.
- Using merged cells for layout or spacing. Avoid them where you can.
- Trusting the checker. It cannot tell whether headers are linked correctly, so a person must test the table.
Related guides
The same task in other applications
- Format data as a table with a header row in Excel
- Remove merged cells and blank rows and columns in Excel
- Give an Excel table a meaningful name
- Decide when to use a table and how to keep it simple
- Set table header rows in InDesign
- Set a table header row in PowerPoint