Matterhorn Checkpoint 02: Role mapping
Custom tag names (such as InDesign style names) must map to a standard PDF tag, so assistive technology knows a "Body_Copy" tag is a paragraph.
Failure conditions
| ID | What fails | ISO 14289-1 | Test |
|---|---|---|---|
02-001 | A custom tag's mapping chain doesn't end at a standard structure type. | 7.1 | Machine-testable · checked by our engine |
02-002 | A custom tag maps to a standard type that doesn't fit its content. | 7.1 | Needs a person |
02-003 | The role map contains a circular mapping. | 7.1 | Machine-testable · checked by our engine |
02-004 | A standard structure type is remapped to something else. | 7.1 | Machine-testable · checked by our engine |
Conditions summarised from the Matterhorn Protocol 1.1 (PDF Association). Our checker decides 02-001, 02-003, 02-004 directly.
How to fix it
In Word
- Use built-in styles (Heading 1, Normal, List Paragraph) or base custom styles on them.
- Avoid add-ins that write their own tag names.
- Re-export and re-check.
In InDesign
- Set Export Tagging for each paragraph style to a standard tag (P, H1–H6) instead of Automatic.
- Check the Structure pane for tags named after styles.
- Re-export the tagged PDF.
In Acrobat
- Open the Tags panel options › Edit Role Map.
- Map each custom type to the closest standard type (for example Body_Copy → P).
- Delete any mapping of a standard type, such as P → Span.
Step-by-step guides: Fix PDF/UA errors in an InDesign export.
How to verify it
Our checker follows every custom tag through the role map and fails the file when a chain doesn't end at a standard type, loops, or remaps a standard type. A person confirms that each mapping fits.
Check your PDF against PDF/UA-1.
Check your PDF →What automated checking can't decide here
Related checkpoints
- Matterhorn 01: Real content tagged
- Matterhorn 09: Appropriate tags
- Matterhorn 14: Headings
- All 31 PDF/UA checkpoints
Our methodology explains how results are produced.