PDF Tagging Basics
Tagged PDFs communicate document meaning to assistive technology through a logical structure tree—not merely by how content looks on the page. Standards such as Well-Tagged PDF (WTPDF) and PDF/UA-2 extend PDF 1.7 tagging with additional semantic requirements; many of those requirements cannot be verified by syntax alone. This page introduces concepts you will need throughout Tagged PDF School.
Logical reading order
The order of tags in the structure tree defines the logical reading order—the sequence in which assistive technology should present content. This order can differ from visual layout (multi-column pages, sidebars, footnotes). A sound tree starts with Document and Sect containers and places headings, paragraphs, lists, and tables in a sequence that matches how a reader would follow the narrative. See the Tags overview and Matterhorn check 09-001 (tags not in logical reading order).
A simplified structure tree might look like this:
Real content vs artifacts
Only real content—text and images that convey meaning—belongs in the tagged structure tree. Decorative or repetitive material (running headers, page numbers, purely visual elements) should be marked as artifacts so assistive technology can ignore it. PDF 1.7 uses marked content sequences (MCS) outside the tree; PDF 2.0 adds an Artifact structure element. Mixing these up is a common failure mode; see the artifact note on Tags, Content (MCS fundamentals), and Matterhorn checkpoint 01-001.
Tab order
Two distinct ideas apply here. Keyboard and focus order determines how users move through interactive elements (form fields, links) with Tab; the tag tree and field definitions must reflect a sensible sequence—see Techniques for Accessible PDF for practical guidance. Page Tabs key (PDF page dictionary) controls whether annotation appearances participate in the tab order on a page; when annotations are present, the key must be set appropriately—see Matterhorn checks 28-008 and 28-009.
Role maps
Authors may use custom tag names (company-specific types, DITA export names, etc.). A role map maps each custom name to a standard structure type so processors know the semantics. Mappings must eventually resolve to standard types; remapping standard types incorrectly breaks accessibility. Custom heading levels above H6 must be role-mapped in PDF/UA. Explore Document, H tags, and Matterhorn checkpoint 02-001.
Deterministic vs non-deterministic checks
Many Matterhorn Protocol checks are marked Non-deterministic: no algorithm can decide pass or fail from the file bytes alone—human judgment is required (e.g. whether content is really an artifact, whether a role map is semantically appropriate). WTPDF and PDF/UA-2 likewise rely on semantic appropriateness that automated validators can only flag for review. The Matterhorn reference labels each check; examples include 01-001, 01-002, 02-002, and 09-001. Note: Matterhorn 1.1 targets PDF/UA-1.
Next steps
- Browse Tags for structure elements and examples
- Learn Content (marked content sequences)
- Review Properties and Attributes
- Try the Playground with sample structures