Skip to main content

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.

  1. Make sure all text uses paragraph styles. Text formatted by hand has no style to link to a tag.
  2. Open the Paragraph Styles panel, then open Paragraph Style Options for a style.
  3. In the list on the left, select Export Tagging.
  4. 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.
  5. 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.
  6. 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

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.

The same task in other applications

More for InDesign