Skip to content
PDF Accessibility

DefinitionUpdated 2026-12-03

Structure tree

The logical skeleton of a tagged PDF that assistive technology navigates.

What is the structure tree in a PDF?

The structure tree is the hierarchy of structure elements (tags) in a tagged PDF. It starts at the StructTreeRoot, usually contains a Document element, and nests headings, paragraphs, lists, tables and figures beneath it. Each leaf element points to content on a page through marked-content IDs.

Parts of the structure tree

At the top is the structure tree root, referenced from the document catalog. Under it, structure elements each have a type (such as H1, P, LI, TD or Figure), optional attributes (such as Alt, Lang or table Scope) and children. Children can be other elements or references to marked content on a page.

Custom tag names are allowed if they are mapped to standard types through the role map. The parent tree, a companion structure, lets software find the element that owns any given piece of page content.

Why the tree shape matters

Assistive technology uses the tree to expose headings for navigation, announce list lengths, map table cells to headers and present content in order. A flat tree of P elements technically exists but offers none of that.

PDF/UA also has rules about nesting: list items belong inside lists, table cells inside rows, and heading levels should not skip in ways that break the outline. Checkers flag violations as tag nesting errors.

Inspecting and repairing the tree

Desktop PDF editors show the tree in a Tags panel where you can drag elements and change types. That gives precise control but is slow on long documents.

Our Tag PDF tool rebuilds the tree automatically from layout analysis and lets you correct low-confidence items in the review editor. The checker reports structural problems it finds in existing trees.

Sources

This page is general information, not legal advice. Automated checks cannot prove full compliance; some requirements need human review.

Frequently asked questions

Is the structure tree the same as bookmarks?

No. Bookmarks are a navigation outline shown in a side panel. The structure tree is the full semantic structure. Bookmarks are often generated from the headings in the tree.

Can a PDF have a structure tree and still fail accessibility checks?

Yes. Wrong tag types, bad nesting, missing alt text or content left out of the tree all cause failures even when a tree exists.

Do I need to edit the structure tree by hand?

Rarely for simple documents if they are exported well or auto-tagged. Complex tables and unusual layouts sometimes need manual adjustment.