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.
ISO_14289_1:7.1-5SENonStandard1. Official Rule Definition & Machine Verification Evidence
isNotMappedToStandardType == falseNon-standard structure type %1 is not mapped to a standard typeroot/document[0]/StructTreeRoot[0](7 0 obj PDStructTreeRoot)/K[0](19 0 obj SEDocument Document)/K[1](35 0 obj SENonStandard Standard)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.
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
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
Custom paragraph styles (e.g., 'Heading_1') exported as structure tags without mapping to standard types in the PDF export settings.
Custom style names (e.g., 'Body_Text') used as structure tags without being mapped to standard types during PDF export.
Custom sectioning macros (e.g., \mysection) that generate non-standard structure tags without explicit /RoleMap entries in the PDF output.
4. Manual Remediation Steps
In Adobe Acrobat Pro
- Open the PDF in Adobe Acrobat Pro DC.
- Go to Tools > Accessibility > Fix Document Structure.
- 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)
- In Adobe InDesign, open the Paragraph Styles panel and rename custom styles to match standard types (e.g., 'Heading 1' instead of 'Heading_1').
- In Microsoft Word, use built-in heading styles (e.g., 'Heading 1') instead of custom styles for structure tags.
- 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)
- Open the PDF in Lekt.
- Lekt automatically detects all non-standard tags and suggests standard mappings (e.g., 'Heading_1' → 'H1').
- 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.