Skip to content

PDF/UA-1: Pages with link annotations missing tab order (S entry) #7990

@bryskhe

Description

@bryskhe

Description

When a Typst document contains link annotations (e.g. #link, TOC entries, cross-references), the PDF pages that contain these links do not have their tab order (S entry in the page dictionary) set to S (document structure). This violates PDF/UA-1 Matterhorn checkpoint G4_F07 ("Tab order for pages with annotations missing").
The result is that PDF accessibility checkers (e.g. Adobe Acrobat) report incorrect or undefined tab order on pages with links, and keyboard users may experience non-logical tab navigation.
To reproduce: Create a document with #outline() and any #link() or cross-reference. Export with --pdf-standard ua-1. Open in Acrobat and run the full accessibility check.
Expected: All pages with annotations should have tab order set to follow document structure.
Typst version: 0.14.2

Operating system

Windows

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

Labels

accessibilityAnything related to accessibilitybugSomething isn't workingpdfRelated to PDF export or PDF embedding.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions