# 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://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

- [PDF Header/Footer Noise Remover](https://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://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
- [PDF AcroForm Filler](https://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://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://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://elysiatools.com/en/tools/pdf-a-validate): Pre-validate PDF documents for PDF/A archival compliance
- [PDF Accessibility Check](https://elysiatools.com/en/tools/pdf-accessibility-check): Audit PDF documents for accessibility features like tagging, language and PDF/UA metadata
- [PDF Page Range Extractor](https://elysiatools.com/en/tools/pdf-page-range-extractor): Extract only selected PDF pages with OpenDataLoader and export the subset as Markdown, JSON, or text

## Samples

- [PDF Samples](https://elysiatools.com/en/samples/pdf-samples): Generated PDF samples from tools dated 2026-02-01 to 2026-02-10
- [Markdown Slide Deck Samples](https://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://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://elysiatools.com/en/samples/html-with-images): HTML source code samples with images for testing extraction

## Related content

- [Text Case, Encoding, and Normalization Conversion Tools](https://elysiatools.com/en/hubs/text-convert): Compare text case conversion, character-width conversion, encoding conversion, quoted-printable handling, and inline text normalization tools in one hub.
- [PDF Conversion and Document Export Tools](https://elysiatools.com/en/hubs/pdf-convert): Compare tools that convert documents, images, and structured extractions into or out of PDF in one hub for publishing, sharing, and downstream processing.
- [Text Tools](https://elysiatools.com/en/hubs/text-utility): Explore 33 text tools for utility workflows and compare closely related utilities quickly.
- [PDF Assembly, Layout, and Protection Tools](https://elysiatools.com/en/hubs/pdf-utility): Compare PDF page assembly, layout control, watermarking, stationery overlays, anonymization, password protection, and redaction helper tools in one hub.
