All errors

PDF/UA-1 validation failure

14-007: Document uses both H and H# tags

The file mixes the two ways of tagging headings, numbered tags such as H1 and H2 and the unnumbered H tag, so there is no single rule for working out the outline.

Failure condition
14-007 (Matterhorn Protocol 1.1)
Checkpoint
Checkpoint 14: Headings
Requirement
ISO 14289-1, 7.4.4
veraPDF rule
7.4.4-2
veraPDF message
Document uses H tag in presence of Hn tags
Also searched as
"Heading structure types not mixed"
Tested by
Software (machine testable)
Related WCAG criterion
WCAG 1.3.1 Info and Relationships
Last reviewed
November 15, 2026

What the validator is telling you

PDF has two ways to tag a heading, and they work differently.

  • Numbered headings, H1 to H6, carry their level in the tag name.
  • The unnumbered heading, H, carries no level. Its level comes from how deeply the section around it is nested in the tag tree.

PDF/UA-1 calls a document that uses the first method weakly structured and one that uses the second strongly structured. Clause 7.4.4 requires a document to be one or the other. This failure means both kinds of tag are present.

We reproduced it

We took a one-page test file that passes veraPDF's PDF/UA-1 profile. It has one H1 and three H2 headings. We retagged the last H2 as H and changed nothing else. veraPDF failed two rules, shortened here to the lines that matter:

<rule specification="ISO 14289-1:2014" clause="7.4.4" testNumber="2" status="failed" failedChecks="1">
  <description>All documents shall be either strongly or weakly structured, but not both</description>
  <errorMessage>Document uses H tag in presence of Hn tags</errorMessage>
<rule specification="ISO 14289-1:2014" clause="7.4.4" testNumber="3" status="failed" failedChecks="3">
  <errorMessage>Document uses Hn tags in presence of H tags</errorMessage>

One wrong tag produced four failed checks: one for the H, and one for each of the three numbered headings that remained, because each of them is now in a document that also uses H. A report with one line per heading in the whole book can come from a single stray tag.

What a reader experiences

Assistive technology builds a document's outline from its headings. With numbered tags it reads the level from the name. With H tags it has to work the level out from the nesting of sections. The standard defines no way to combine the two. When a file mixes them, the outline a reader gets depends on how their software happens to treat the stray tags.

Why it happens

  • One style was mapped to H. A title, a box heading or a part opener was given the unnumbered tag in the export settings while every other heading style is numbered.
  • Files were combined. Front matter tagged one way was merged with chapters tagged the other.
  • A tag was typed by hand in a PDF editor, and H was entered where H1 was meant.

How to confirm it

List the tag tree and look for a bare H among the numbered headings. With the free Poppler tools:

pdfinfo -struct-text file.pdf

The veraPDF report also points at it. The rule with test number 2 lists the H tags, and the rule with test number 3 lists the numbered ones. The shorter list is usually the one to change.

How to fix it

For almost every document the answer is numbered headings throughout, because that is what authoring tools export and what the rest of the file already uses.

In Acrobat

  1. In the Tags panel, find each H tag.
  2. Right-click it and choose Properties.
  3. On the Tag tab, change Type to the numbered level that matches the heading's place in the outline.

At the source

  • InDesign: open Paragraph Style Options for each heading style and check the tag under Export Tagging. Every heading style should map to a numbered level.
  • Word: use the built-in numbered heading styles for every heading, including titles in boxes and sidebars.

After the change, validate again. Turning an H into a numbered heading can expose a skipped level, which is failure 14-003.

Two neighbours

  • 14-006, "A node contains more than one H tag". In a document that uses only H, each section may hold one heading. veraPDF tests it in rule 7.4.4-1.
  • 14-001, "Headings are not tagged", needs a person. No validator can find a heading that was tagged as a paragraph.

How PDFxt handles it

PDFxt tags the structure of the document automatically during remediation, and the exported file is validated. Whether each heading sits at the right level of the outline is still for a person to confirm.

Related