Skip to content

Commit 05ccea5

Browse files
draft: pdf accessibility
1 parent f361b06 commit 05ccea5

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

  • docs/blog/posts/2026-02-xx-pdf-accessibility-and-standards
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: PDF Accessibility and Standards
3+
---
4+
5+
2025 was a big year for PDF accessibility. LaTeX and Typst both released support for PDF tagging and accessibility standards, just in time for new regulations in the EU (June 2025) and US (April 2026)
6+
7+
The UA-1 standard supported by Typst, and the UA-2 standard supported by LaTeX, [Typst is likely to have UA-2 support later in 2026]{.aside} both instruct the PDF renderer to provide screen readers:
8+
9+
* The semantic structure of the text (title, heading, paragraph, figure, etc)
10+
* The natural reading order
11+
* Spatial coordinates for highlighting and assistive navigation
12+
* Required metadata such as title and language
13+
14+
In Quarto 1.9, specify a PDF standard for your document or project with `pdf-standard`
15+
16+
::: panel-tabset
17+
## PDF (LaTeX)
18+
19+
```yaml
20+
format:
21+
pdf:
22+
pdf-standard: ua-2
23+
```
24+
25+
## Typst
26+
27+
```yaml
28+
format:
29+
typst:
30+
pdf-standard: ua-1
31+
```
32+
:::
33+
34+
`pdf-standard` takes a single standard name or list of standard names.[PDF version is used if provided in the list, but otherwise inferred from the standard]{.aside}
35+
36+
If you specify a PDF standard, Quarto first instructs LaTeX or Typst to use the standard when producing the PDF, and then validates the output PDF against the standard using veraPDF, an open-source PDF validation tool.
37+
38+
Typst validates many accessibility rules during rendering, and can fail earlier.
39+
40+
It's too soon to say, but we don't expect Quarto users to see many errors when enabling a PDF standard. [need to test this further]{.content-hidden}
41+
42+
The metadata and Markdown structure of your Quarto document satisfy the main requirement, semantic tagging. Quarto Alt text propagation, recently implemented in Pandoc and Quarto, with a fallback to the caption

0 commit comments

Comments
 (0)