Skip to main content

Test that a template exports a compliant tagged PDF

General · Windows · Last updated

Part of training module 11: Building accessible Word, Excel and PowerPoint templates (memos, whitepapers, presentations)

Run a repeatable test that a template, filled with sample content and exported to PDF, produces a tagged PDF that passes automated checks and a person's review.

Steps

Run this test whenever you create or change a template. It proves the template works in practice, not just in theory. Automated tools do not prove accessibility, so the test ends with a person's review. Library templates, such as the Report template, are starting points. Once you adapt one to your fonts and colors, it needs this test like any other template.

  1. Make a realistic sample file from the template. Include every part staff are likely to use: each heading level, a list, a table with a header row, an image with alt text, a link and, for long files, a table of contents.
  2. Run the built-in checker in the source program and fix every issue. For Word, select Review, then Check Accessibility. Excel and PowerPoint use the same path.
  3. Export a tagged PDF with the right entry for the program: Export a tagged PDF from Word for Windows, Export a tagged PDF from Excel for Windows or Export a tagged PDF from PowerPoint for Windows.
  4. Check the PDF in Acrobat: see Run the Accessibility Check in Acrobat. Note that it has limits: see What the Acrobat Accessibility Check cannot tell you.
  5. Check the PDF against the PDF/UA standard with a validator: see Check a PDF against PDF/UA with PAC.
  6. Review the result yourself: confirm that the headings, lists, table headers and reading order are correct, and that the PDF has a title and a language.
  7. Record the result and fix the template if anything failed. Repeat from step 1 until the sample passes.

Check it worked

  • The source checker, the Acrobat check and the validator report no errors that you cannot explain.
  • A person has confirmed the structure, reading order and alt text.
  • The date, tool names and outcome are written down for the template owner.

Common mistakes

  • Testing a blank template. Problems often appear only once content is added.
  • Stopping when a tool shows a pass. Tools cannot judge alt text quality or reading order, and no check guarantees legal compliance.
  • Skipping the retest after a template change.

The same task in other applications

More for General