How to Create Accessible Data Tables in PDF Documents

Objective

This job aid provides step-by-step instructions for creating, tagging, and verifying data tables in PDFs to ensure accessibility and usability for all readers.

Watch the accompanying video for a walkthrough of the concepts covered in this job aid.

Creating Accessible Tables in Word or Excel Before Conversion

Always use built-in table tools. Do not simulate tables using tabs, spaces, or drawn lines.

Using Table Headers

  • Data tables should be structured to include headers that define the meaning of the data within the table.
  • Sighted users can visually associate data with corresponding headers, but screen readers rely on proper markup.

Creating Word Table Headers

  1. Open the Word document and select the table.
  2. Select Design.
  3. Select one of the following settings.
    • Check the Header Row and First Column for a table with heading in the first row and first column.
    • Check the Header Row checkbox for headings in the first row of the table.
  4. Enter descriptive headings in the first row and/or column.

Creating Excel Table Headers

  1. Open the Excel Worksheet and select the data range.
  2. In the Insert tab in the Tables group, select Table.
  3. Check the checkbox, My Table has Headers and select OK.

Note: Creating table headers in native programs will generally lessen remediation in the Acrobat PDF.

Verifying and Fixing Tables in Acrobat

Table Tag Types in Acrobat

Tag TypesTagPurpose
Table<Table>Container for table contents
Table Body<TBody>A group of rows that make up the table content
Table Cell Data<TD>Table data cell
Table Header<THead>A group of header cells that make up the table header
Table Header Cell<TH>Describes a table cell as a header in either horizontal row or vertical column
Table Row<TR>A table row group

Table Tag Structure Examples

Table with a first row HeaderTable with first row and column Headers
<Table>
<Thead>
<TR>
<TH>
<TH>
<TH>
<TBody>
<TR>
<TD>
<TD>
<TD>
<TR>
<TD>
<TD>
<TD>
<Table>
<Thead>
<TR>
<TH>
<TH>
<TH>
<TBody>
<TR>
<TH>
<TD>
<TD>
<TR>
<TH>
<TD>
<TD>

Manually Tag Table Headings from a tagged table

  1. Right click the Table tag in the Tags panel > select Table Editor.
  2. Select the Table Cell Header > right-click the cell > select Table Cell Properties.
  3. Under the Type section > select the Header Cell button.
  4. In the Scope dropdown menu > select Column.

Manually Tag Unmarked Tables

  1. Right-click in the Tags panel.
  2. Select Find > Unmarked Annotations > Search Document > Find.
  3. Select Find Next till a table is highlighted > select Tag Element.
  4. Highlight untagged table elements and assign appropriate table structure tags.
  5. Review and remediate tag structure and set table headings as needed.

Testing Table Accessibility

Using the Accessibility Checker

  1. Open the Accessibility Tool and run an Accessibility Check.
  2. Review results:
    • Tagged form fields - Failed: Repeat the tagging steps.
    • Field descriptions - Failed: Ensure tooltips are present.

Additional Best Practices

  • Captions: Use <Caption> to provide a table summary.
  • Scope: Always set the correct scope (row/column) for headers.
  • Avoid Complexity: Limit merged/spanned cells and multi-level headers. Use simple tables whenever possible.
  • Consistent Structure: Ensure each data cell is associated with the correct header(s).
Applying Scope Attributes
Simple Table
Product TypeQuarter 1Quarter 2Quarter 3Quarter 4
Product 1$1250.68$950.09$1536.17$1695.26
Product 2$1875.46$2125.35$2015.96$1793.28

The simple table example headers are the first row.

Table Cell Properties include:

  • Type section
    • Header Cell
    • Scope = Column
  • Attributes section
    • Row span=1
    • Column span=1

Note: To select multiple cells at the same time, use Shift+Click.

Complex Tables Example 1: Applying scope attributes to rows and columns

Sales in Dollars

 Quarter 1Quarter 2Quarter 3Quarter 4
Product 1$1250.68$950.09$1536.17$1695.26
Product 2$1875.46$2125.35$2015.96$1793.28

The complex table example has three levels of headers and an empty data cell.

  1. Select the Sales in Dollars cell > right-click > select Table Properties
    • Table Cell Properties include:
      • Type section
        • Header Cell
        • Scope = Column
      • Attributes section
        • Row span=1
        • Column span=4
  2. Select the Quarter 1, Quarter 2, Quarter 3, and Quarter 4 cells > right-click > select Table Properties
    • Table Cell Properties include:
      • Type section
        • Header Cell
        • Scope = Column
      • Attributes section
        • Row span=1
        • Column span=4
  3. Select the Product 1 and Product 2 cells > right-click > select Table Properties
    • Table Cell Properties include:
      • Type section
        • Header Cell
        • Scope = Row
      • Attributes section
        • Row span=1
        • Column span=1
  4. Select the empty cell > right-click > select Table Properties
    • Table Cell Properties include:
      • Type section
        • Data Cell
        • Scope will be greyed out
      • Attributes section
        • Row span=1
        • Column span=1
Complex Tables Example 2: Applying scope attributes to rows and columns
TimelineProduct 1Product 2
January - JuneQuarter 1$1250.68$1875.46
Quarter 2$950.09$2125.35
July - DecemberQuarter 3$1536.17$2015.96
Quarter 4$1695.26$1793.28

The complex table example has four levels of headers.

  1. Select the Timeline cell > right-click > select Table Properties.
    • Table Cell Properties include:
      • Type section
        • Header Cell
        • Scope = Column
      • Attributes section
        • Row span=1
        • Column span=2
  2. Select the Quarter 1, Quarter 2, Quarter 3, and Quarter 4 cells > right-click > select Table Properties.
    • Table Cell Properties include:
      • Type section
        • Header Cell
        • Scope = Row
      • Attributes section
        • Row span=1
        • Column span=1
  3. Select the Product 1 and Product 2 cells > right-click > select Table Properties.
    • Table Cell Properties include:
      • Type section
        • Header Cell
        • Scope = Column
      • Attributes section
        • Row span=1
        • Column span=1
  4. Select the January-June and July-December cells > right-click > select Table Properties.
    • Table Cell Properties include:
      • Type section
        • Header Cell
        • Scope = Row
      • Attributes section
        • Row span=2
        • Column span=1