ISO_14289_1:7.1-11: Missing Document Structure Tree (/StructTreeRoot — Untagged PDF)
The PDF lacks a required /StructTreeRoot entry in the document catalog, which is essential for logical structure in PDF/UA-1. This causes screen readers like NVDA, JAWS, and VoiceOver to fail in parsing document order and semantics. Lekt fixes this automatically with zero visual diffs via Native Vector Auto-Tag for digital PDFs or OCR for scanned pages.
ISO_14289_1:7.1-11PDDocument1. Official Rule Definition & Machine Verification Evidence
containsStructTreeRoot == trueStructTreeRoot entry is not present in the document catalogroot/document[0]The rule ISO_14289_1:7.1-11 requires the presence of a /StructTreeRoot dictionary in the document catalog (PDF object: PDDocument). This entry is the root of the document’s logical structure hierarchy, as defined in ISO 32000-1:2008, clause 14.7. The test_expression 'containsStructTreeRoot == true' evaluates whether the catalog dictionary contains this key. If it is missing, the document is considered untagged and fails PDF/UA-1 and WCAG 2.2 compliance.
2. Minimal Reproducible PDF Structure (Before vs. After)
A minimal PDF that triggers this error is one where the document catalog dictionary does not include the /StructTreeRoot key. This is observed in the live_verapdf_evidence fixture at XPath 'root/document[0]' in the file '7.1-t11-fail-a.pdf', which fails 1 check due to the missing structure tree root.
% Minimal PDF catalog without /StructTreeRoot
1 0 obj
<<
/Type /Catalog
/Pages 2 0 R
/ViewerPreferences << /PrintScaling /None >>
>>
endobj
% Compliant PDF catalog with /StructTreeRoot
1 0 obj
<<
/Type /Catalog
/Pages 2 0 R
/StructTreeRoot 3 0 R
/ViewerPreferences << /PrintScaling /None >>
>>
endobj
3 0 obj
<<
/Type /StructTreeRoot
/K [4 0 R 5 0 R]
>>
endobj
3. Common Authoring Triggers & Checker Differences
Exporting to PDF without enabling accessibility options (e.g., 'Create PDF/A file' or 'Accessibility' checkbox in Save As PDF dialog) results in untagged PDFs missing /StructTreeRoot.
Exporting to PDF without selecting 'Accessibility' in the PDF export settings (File > Export > PDF) causes the document to be untagged and lack the /StructTreeRoot.
Using 'Save As PDF' or 'Print to PDF' without enabling 'Accessibility' in the export settings results in untagged PDFs missing the structure tree.
Using pdflatex without accessibility-aware packages (e.g., tagpdf or access) results in PDFs with no logical structure or /StructTreeRoot.
4. Manual Remediation Steps
In Adobe Acrobat Pro
- Open the PDF in Adobe Acrobat Pro DC.
- Go to Tools > Accessibility > Add Tags to Document.
- Save the file and revalidate with veraPDF to confirm the /StructTreeRoot is now present.
In Upstream Source Tools (Word / InDesign / LaTeX)
- In Microsoft Word, go to File > Save As > PDF and check the 'Accessibility' option under Options.
- In Adobe InDesign, go to File > Export > PDF and check the 'Accessibility' checkbox in the Advanced tab.
- In LaTeX, use the tagpdf package and compile with XeLaTeX or LuaLaTeX to generate a tagged PDF.
5. Offline Verification & Remediation in Lekt (Zero Cloud Uploads)
- Open the PDF in Lekt.
- Lekt automatically detects the missing /StructTreeRoot and initiates Native Vector Auto-Tag for digital PDFs or offline OCR for scanned pages.
- Confirm the structure tree is added and the document is now accessible with zero visual changes.
Frequently Asked Questions
What is the /StructTreeRoot in a PDF?
The /StructTreeRoot is a dictionary in the PDF catalog that serves as the root of the document’s logical structure tree. It is required for PDF/UA-1 and WCAG 2.2 compliance to ensure screen readers can interpret the document’s content order and semantics.
Can I fix this error without re-exporting the source document?
Yes, Lekt can automatically add the /StructTreeRoot and generate a logical structure tree directly in the PDF without re-exporting the source. For scanned documents, Lekt uses offline OCR to extract content and apply structure.
Why does Adobe Acrobat not fix this automatically?
Adobe Acrobat’s 'Add Tags to Document' feature may not always generate a complete /StructTreeRoot or structure tree, especially for complex documents. Lekt ensures full compliance by directly inserting the required structure.
Check & Verify ISO_14289_1:7.1-11 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.