Map paragraph styles to PDF tags in InDesign
InDesign · Windows, Mac · Last updated
Part of training module 16: Stylised reports: InDesign source files and their PDFs
Linking each paragraph style to a PDF tag means headings, body text and other styled text export with the right structure, so screen reader users can navigate by heading.
Steps
A PDF tag is a label inside the file that says what a piece of content is, such as a heading or a paragraph. InDesign writes these tags from your paragraph styles, so set them once per style rather than once per paragraph.
- Make sure all text uses paragraph styles. Text formatted by hand has no style to link to a tag.
- Open the Paragraph Styles panel, then open Paragraph Style Options for a style.
- In the list on the left, select Export Tagging.
- Open the PDF tab and set Tag to the right value: H1 to H6 for headings, P for body text, or Artifact for text that should be skipped, such as a running header.
- Select OK. Repeat for each style. To see all styles at once, open the panel menu and choose Edit All Export Tags, then set the PDF tag for each style in one place.
- Keep headings in order. Use H1 for the title, H2 for main sections and H3 under those, without skipping a level. See Plan a heading structure that does not skip levels.
Check it worked
- Open Edit All Export Tags again. Every heading style shows an H tag and body styles show P.
- Export a tagged PDF, then open the Tags panel in Acrobat. Headings appear as H1, H2 and so on, not as P. See Open and read the Accessibility tags panel in Acrobat.
Common mistakes
- Making a heading look big and bold with a character format and leaving its tag as P. Use a heading style.
- Using the lowest heading level because it looks smaller. Choose the tag by structure, then change the look in the style.
- Tagging a style as Artifact when it holds real content. Artifact text is hidden from screen readers.
- Forgetting a style. Any style you skip keeps whatever tag it has, so review the whole list.
Related guides
The same task in other applications
- Tag headings in a PDF with Acrobat
- Plan a heading structure that does not skip levels
- Add a hidden slide title in PowerPoint
- Give every slide a unique title in PowerPoint
- Apply heading styles in Word
- Change how a heading style looks without losing the structure in Word