Fix custom tags with the role map in Acrobat
Acrobat Pro · Windows, Mac · Last updated
Part of training module 18: Acrobat in depth: form tagging, footnotes, formulas, custom tags and editions
A role map tells Acrobat which standard tag type each custom tag stands for, so assistive technology can treat a custom tag as a heading, paragraph or list.
Steps
Custom tags often come from a source file whose styles were exported as tag names, such as "Intro Para" or "Callout". Screen readers only understand standard types such as paragraph, heading and list item. The role map is the table that links the two.
Acrobat Pro (Windows and Mac)
- Open the accessibility tags panel. In new Acrobat, select View, Show/Hide, Side panels, Accessibility tags. In classic Acrobat, select View, Show/Hide, Navigation Panes, Tags. See Open and read the Accessibility tags panel in Acrobat.
- Open the panel's Options menu and choose Edit Role Map.
- Find each custom tag name in the list. Map it to the standard type it should act as, for example paragraph for body text or heading 2 for a second-level heading. Close the dialog when you finish.
- Review the tag tree. Fix any tag that does not match its content.
Check it worked
- Reopen Edit Role Map and check that every custom tag points to a standard type.
- Run the accessibility check and look for new failures. See Run the Accessibility Check in Acrobat.
- Test the page with a screen reader. Navigate by heading and check that the headings you expect are there.
Common mistakes
- Mapping a custom tag to the wrong type. A tag that holds a heading but is mapped to a paragraph hides the heading from people who navigate by headings.
- Fixing the map but not the content. The map only renames types. If the reading order is wrong, see Fix reading order with the Reading Order tool in Acrobat.
- Mapping many custom tags to one type to save time. Keep the difference between headings, lists and paragraphs.