Lekt logo Lekt
ISO_14289_1:7.1-5 Tier-1 Deterministic Auto-Fix (0px Visual Diff)

ISO_14289_1:7.1-5: Non-Standard Custom Structure Tag Missing /RoleMap Entry

This error occurs when a non-standard structure tag (e.g., from InDesign or Word) is not mapped to a standard type in the /RoleMap dictionary. It breaks the logical structure tree, affecting screen readers like NVDA and JAWS. Lekt resolves this with a 1-Click Safe Auto-Fix using its /RoleMap Mapper and Circular-Mapping Cleaner.

veraPDF Rule ID
ISO_14289_1:7.1-5
Validated Object
SENonStandard
Matterhorn 1.1
02-001 (Machine)
Validation Profiles
PDFUA-1 + WCAG-2.2-MACHINE
PDF/UA-2 Equivalent
ISO_14289_2:8.2.4-1 (SENonStandard)
Lekt v1.8.2 Mode
1-Click Safe Auto-Fix (/RoleMap Mapper & Circular-Mapping Cleaner)

1. Official Rule Definition & Machine Verification Evidence

Official veraPDF XML Definition: All non-standard structure types shall be mapped to the nearest functionally equivalent standard type, as defined in ISO 32000-1:2008, 14.8.4, in the role map dictionary of the structure tree root. This mapping may be indirect; within the role map a non-standard type can map directly to another non-standard type, but eventually the mapping shall terminate at a standard type
Machine Test Predicate: isNotMappedToStandardType == false
Verbatim Error Message: Non-standard structure type %1 is not mapped to a standard type
Observed veraPDF 1.30.4 Corpus Context XPath: root/document[0]/StructTreeRoot[0](7 0 obj PDStructTreeRoot)/K[0](19 0 obj SEDocument Document)/K[1](35 0 obj SENonStandard Standard)
Normative Reference: ISO 32000-1:2008 §14.8.4

The rule verifies that all non-standard structure types (SENonStandard) are mapped to standard types (e.g., P, H1, LI) via the /RoleMap dictionary in the structure tree root. The test_expression `isNotMappedToStandardType == false` ensures that the mapping chain eventually terminates at a standard type as per ISO 32000-1:2008, 14.8.4. If a non-standard tag lacks a valid mapping, the PDF fails compliance with PDF/UA-1 and WCAG 2.2.

2. Minimal Reproducible PDF Structure (Before vs. After)

A minimal failure case is a structure element with a non-standard tag (e.g., 'Heading_1') that is not mapped to a standard tag (e.g., 'H1') in the /RoleMap. The XPath `root/document[0]/StructTreeRoot[0]/K[0]/K[1]` in the provided verapdf fixture shows a failed check where the non-standard tag 'Standard' is not mapped.

Fails ISO_14289_1:7.1-5
19 0 obj
<<
/Type /StructElem
/S /Standard
/K [ 35 0 R ]
>>
endobj
35 0 obj
<<
/Type /StructElem
/S /Standard
/K [ 42 0 R ]
>>
endobj
7 0 obj
<<
/Type /StructTreeRoot
/K [ 19 0 R ]
>>
endobj
Compliant PDF Structure
19 0 obj
<<
/Type /StructElem
/S /Standard
/RoleMap /H1
/K [ 35 0 R ]
>>
endobj
35 0 obj
<<
/Type /StructElem
/S /Standard
/RoleMap /H1
/K [ 42 0 R ]
>>
endobj
7 0 obj
<<
/Type /StructTreeRoot
/K [ 19 0 R ]
>>
endobj

3. Common Authoring Triggers & Checker Differences

Adobe InDesign

Custom paragraph styles (e.g., 'Heading_1') exported as structure tags without mapping to standard types in the PDF export settings.

Microsoft Word

Custom style names (e.g., 'Body_Text') used as structure tags without being mapped to standard types during PDF export.

LaTeX with pdfLaTeX

Custom sectioning macros (e.g., \mysection) that generate non-standard structure tags without explicit /RoleMap entries in the PDF output.

PAC 2024 vs. Adobe Acrobat Full Check vs. veraPDF 1.30.4: Adobe PDF Accessibility Checker (PAC) 2024 and Adobe Acrobat Pro Full Check do not validate the /RoleMap mapping chain for non-standard structure tags. veraPDF 1.30.4, however, strictly enforces ISO_14289_1:7.1-5 by checking that all non-standard tags are mapped to standard types, as required by PDF/UA-1 and WCAG 2.2.

4. Manual Remediation Steps

In Adobe Acrobat Pro

  1. Open the PDF in Adobe Acrobat Pro DC.
  2. Go to Tools > Accessibility > Fix Document Structure.
  3. Manually edit the structure tree and add a /RoleMap entry for each non-standard tag, mapping it to a standard type (e.g., 'H1').

In Upstream Source Tools (Word / InDesign / LaTeX)

  1. In Adobe InDesign, open the Paragraph Styles panel and rename custom styles to match standard types (e.g., 'Heading 1' instead of 'Heading_1').
  2. In Microsoft Word, use built-in heading styles (e.g., 'Heading 1') instead of custom styles for structure tags.
  3. In LaTeX, replace custom sectioning macros with standard sectioning commands (e.g., \section) to ensure standard structure tags are generated.

5. Offline Verification & Remediation in Lekt (Zero Cloud Uploads)

Honest Capability Scope (Tier-1 Deterministic Auto-Fix (0px Visual Diff)): Lekt inspects every non-standard tag in the structure tree, maps common InDesign/Word custom styles (such as Body_Text, Heading_1, List_Bullet) to standard ISO 32000-1 types in /RoleMap, and eliminates circular or standard-tag remappings at 0px visual diff.
  1. Open the PDF in Lekt.
  2. Lekt automatically detects all non-standard tags and suggests standard mappings (e.g., 'Heading_1' → 'H1').
  3. Click '1-Click Safe Auto-Fix' to apply the /RoleMap mappings and clean up circular or redundant mappings.

Frequently Asked Questions

What is a /RoleMap dictionary in PDF/UA-1?

The /RoleMap dictionary in the structure tree root maps non-standard structure types to standard types (e.g., 'Heading_1' → 'H1'), ensuring the document remains accessible to screen readers.

Can I fix this error without re-exporting the source document?

Yes, Lekt can apply the required /RoleMap mappings directly in the PDF without re-exporting the source document, preserving the visual layout at 0px visual diff.

Why does this error affect screen readers like NVDA and JAWS?

Screen readers rely on the structure tree to navigate and interpret the logical flow of a document. Unmapped non-standard tags break this structure, making the document inaccessible.

Check & Verify ISO_14289_1:7.1-5 100% Offline

Run unlimited PDF/UA-1, PDF/UA-2, and WCAG 2.2 checks locally on macOS Apple Silicon or Windows x64 via embedded veraPDF 1.30.4 — zero FERPA/HIPAA cloud uploads, plus Free Watermarked Proof PDF export to verify 0 errors in PAC 2024 before paying.

Related PDF/UA & WCAG Error Guides