# PDF Logical Structure Tree WCAG Role Mapping Validator

Audit a tagged PDF's logical structure tree against PDF/UA-1 (ISO 14289-1) semantics: RoleMap termination, H1-H6 heading hierarchy, Alt text on Figure/Formula, RFC 3066 language tags, illegal nesting, and structure-vs-content MCID reading order — each finding labeled with its Matterhorn Protocol checkpoint.

> Canonical page: https://test.elysiatools.com/en/tools/pdf-logical-structure-tree-validator

- **Category:** PDF Tools

- **Keywords:** pdf ua, structure tree, rolemap, wcag pdf, matterhorn protocol, tagged pdf, mcid, reading order

## Overview

The audit parses per-page structure trees through pdf.js, walks heading/alt/lang/nesting rules from ISO 14289-1 and ISO 32000-1, and compares structure traversal MCID order with content-stream BDC/EMC order. pdf.js 3.x exposes /Alt but not /ActualText and prunes subtrees without marked content on the page — both caveats appear in the report. Heuristic audit; formal PDF/UA certification needs veraPDF or Acrobat.

## Inputs

- **PDF file** (file)
- **Max pages** (number): Cap on how many pages are audited (large documents).
- **Check reading order** (checkbox): Compare structure traversal order with content-stream MCID order (09-001).

## When to use

- Check whether a tagged PDF contains a valid logical structure tree.
- Review heading levels, Figure and Formula alternative text, language tags, and structural nesting.
- Investigate differences between structure traversal order and content-stream MCID order.

## How it works

- Upload a PDF file and optionally set the maximum number of pages to audit.
- The validator parses per-page structure trees and checks PDF/UA-1 and ISO 32000-1 rules.
- It reviews RoleMap termination, H1-H6 hierarchy, Alt text, language tags, and illegal nesting.
- When enabled, it compares structure traversal MCIDs with BDC/EMC content-stream order and returns an HTML report.

## Use cases

- Accessibility teams can review tagged reports for missing structure, heading-level errors, and absent alternative text.
- PDF developers can locate RoleMap, language, nesting, and MCID reading-order findings before revising document generation workflows.
- Document reviewers can audit multilingual PDFs and confirm whether declared language tags and structural headings are detectable.

## Frequently asked questions

### What type of file can I upload?

Upload one PDF file. The file must use the PDF format.

### Can this validator check an untagged PDF?

Yes. It identifies PDFs without a structure tree and reports an untagged-PDF critical finding.

### What does the maximum pages option do?

It limits how many pages are audited. The value can range from 1 to 500, with a default of 100.

### What does the reading-order check compare?

It compares structure traversal order with the order of MCIDs in the content stream.

### Does this provide formal PDF/UA certification?

No. It is a heuristic audit; formal certification requires tools such as veraPDF or Acrobat.

## Related tools

- [OCR PDF to Structured JSON Bridge](https://test.elysiatools.com/en/tools/ocr-pdf-to-structured-json-bridge): Extract the PDF text layer with geometry (lines by y-position, tables by column gaps, headings by font size, colon key-value pairs), then fill a user-supplied JSON Schema field by field — labels matched by normalized keys, values coerced to declared types and validated with ajv.
- [PDF Header/Footer Noise Remover](https://test.elysiatools.com/en/tools/pdf-header-footer-noise-remover): Compare extraction with and without repeated page furniture to spot header/footer noise before using PDF text in RAG, summarization, or editing workflows
- [PDF Strikethrough Review Extractor](https://test.elysiatools.com/en/tools/pdf-strikethrough-review-extractor): Detect strikethrough-marked text in review PDFs and generate a report for contract, policy, and revision analysis
- [QR Code Art, Styled Module and Logo Embed Generator](https://test.elysiatools.com/en/tools/qr-code-art-styled-module-and-logo-embed-generator): Generate art QR codes with brand colors, gradients, rounded or dot modules and a centered logo, plus the ISO mask-penalty breakdown, per-module metadata export and a Reed–Solomon erasure-budget verdict.
- [PDF AcroForm Filler](https://test.elysiatools.com/en/tools/pdf-acroform-filler): Fill standard PDF forms programmatically (text, checkbox, radio, dropdown/list) using JSON data injection
- [Accessibility Audit Report Generator](https://test.elysiatools.com/en/tools/accessibility-audit-report-generator): Audit HTML or a URL for common WCAG issues and export a structured PDF report grouped by severity
- [CSV / Excel Diff Tool](https://test.elysiatools.com/en/tools/csv-excel-diff-tool): Compare two CSV or XLSX datasets and export a PDF report with row, column, and cell-level differences
- [PDF/A Validate](https://test.elysiatools.com/en/tools/pdf-a-validate): Pre-validate PDF documents for PDF/A archival compliance

## Samples

- [PDF Samples](https://test.elysiatools.com/en/samples/pdf-samples): Generated PDF samples from tools dated 2026-02-01 to 2026-02-10
- [Markdown Slide Deck Samples](https://test.elysiatools.com/en/samples/md-slide-deck-to-pdf): Remark/Marp style Markdown slide decks for testing PDF export layouts
- [Time Zone Workflow Scheduler ICS Samples](https://test.elysiatools.com/en/samples/time-zone-workflow-scheduler-ics-samples): ICS files generated in the same structure returned by the Time Zone Workflow Scheduler, with multiple VEVENT meeting candidates exported from overlap windows
- [HTML with Images Samples](https://test.elysiatools.com/en/samples/html-with-images): HTML source code samples with images for testing extraction
