PDF/UA-2 (ISO 14289-2): what changes, and how we verify it
PDF/UA-2 is written on PDF 2.0. Five changes from PDF/UA-1, how to check each, and what veraPDF does not check.
, updated , a 9-minute read
Two reference files, rendered on 5 November 2026 by engine build 92c5fbd49, to check before you read:
- PDF/UA-2 reference document: ISO 14289-2, in a PDF 2.0 file; veraPDF report
- PDF/UA-1 reference document: ISO 14289-1, for comparison; veraPDF report
Each contains every tagged construct exactly once: headings, paragraphs with language changes, lists, a definition list, a table with header cells, figures with alt text, a formula, links, footnotes, form fields with labels, and artifacts that are deliberately outside the logical tree. Both pass veraPDF 1.30.2 with no failed check: 13,418 checks for the second edition, 7,007 for the first. Run it yourself:
$ verapdf -f ua2 --format text pdf-ua-2-reference.pdf
PASS pdf-ua-2-reference.pdf ua2
$ verapdf -f ua1 --format text pdf-ua-1-reference.pdf
PASS pdf-ua-1-reference.pdf ua1
Before an engine release, 51 of the editor’s templates with data are checked against the ua1 profile and the reference document against ua2. Here is what the second edition asks for, and what a validator does not check.
What PDF/UA-2 is built on
PDF/UA-1 (ISO 14289-1, second edition 2014) is written on top of PDF 1.7. PDF/UA-2 (2024) is written on top of PDF 2.0, and most of the differences follow from that.
The consequence: you cannot re-stamp a UA-1 file as UA-2. The two editions disagree about specific structures, so one output cannot satisfy both. The edition has to be chosen when the file is written. In our engine it is one option (pdfuaPart), and it changes the bytes in five distinct places.
Five changes from PDF/UA-1
1. The container version has to match the claim
ISO 14289-2 requires conformance to ISO 32000-2. A file whose header says %PDF-1.7 and whose catalogue carries no /Version is a 1.7 file, whatever its metadata claims. We shipped that bug: a UA-2 file with a 1.7 header, and veraPDF said PASS, because the profile checks prohibitions, not the container version. A validator that says nothing about a property has not checked it.
Now the header follows the claim in both directions, and the check is eight bytes:
$ head -c 8 pdf-ua-2-reference.pdf
%PDF-2.0
$ head -c 8 pdf-ua-1-reference.pdf
%PDF-1.7A UA-1 file stays at 1.7 for the same reason: ISO 14289-1 is written against ISO 32000-1.
2. Every element has a namespace, and not everything moved
In PDF 1.7 an element type is just a name: P means paragraph by convention. PDF 2.0 (§14.7.4.2) made membership explicit: an element carries /NS, and the same P in two namespaces is two types. UA-2 (§8.2.5.2) requires the standard types to live in the ISO 32000-2 namespace; without it a validator won’t even accept the root Document.
The trap is the second namespace. Several standard 1.7 types did not move to PDF 2.0 (TOC, TOCI, Code, Reference, BlockQuote, Index, BibEntry, Quote), and neither did anything non-standard mapped through /RoleMap, which is itself a 1.7 concept. Declaring those in the 2.0 namespace asserts something that namespace does not contain: in our case, eleven violations of §8.2.4, one per table-of-contents item plus the publishing types.
So a UA-2 file carries two namespace objects, and each element is routed to the one it belongs to.
3. Footnotes are FENote
Note is a standard PDF 1.7 type. In the ISO 32000-2 namespace it does not exist; the footnote type there is FENote (PDF 2.0 §14.8.4.7.2), and UA-2 §8.2.5.14 forbids Note without a role map. Under UA-1 the same footnote must stay Note, or the first-edition validator finds no standard type. Same document, same footnote, two different names depending on the edition claimed.
4. Destinations must be structural
UA-2 §8.8: an internal destination (a link, a bookmark, a table-of-contents entry) must point at a structure element, not at a page and a coordinate. A structural destination tells assistive software what it lands on, not only where on the page.
Putting a structure destination next to the page one doesn’t satisfy it (we measured: veraPDF judges /Dest itself and kept its six violations). And rewriting /Dest structurally is illegal under UA-1, where the first array element must be a page. So the destination is written one way for each edition.
5. A footnote and its citation must point at each other
UA-2 §8.2.5.14 wants the FENote to name every reference that cites it. Miss the reverse direction and veraPDF prints “Ref entry in the FENote does not reference structure elements … while these structure elements reference this FENote”. We shipped the one-directional version first and got exactly that.
Note what this rule is: in ISO 14289-1 there are exactly two machine rules about Note: that it has an /ID and that the /ID is unique. Nothing about being linked.
Why one validator is not verification
veraPDF: what a PASS proves, and what it doesn’t
veraPDF is the reference implementation. Before an engine release reaches the editor, it runs the ua1 profile over our reference document and those templates, and ua2 over the second-edition reference document. The PDF/A profiles run over the reference document and the same 51 templates as a separate check, not as part of every release.
A validator checks only what it can express as a rule, and a rule with nothing to check also passes. Two caveats follow:
- Rules with nothing to check. A rule about a construct the file does not contain (encryption, optional content, multimedia) passes because there is nothing to check, so a clean report says less than it seems; the post on tagged PDFs goes through this for PDF/UA-1.
- A percentage means little for
ua2. The profile has 1,727 rules, most of them the table of which structure type may contain which. Exercising them all would take a document with every pair of types, which is an exercise in combinations, not in quality.
PAC: the second opinion that found real defects
PAC, the PDF Accessibility Checker published free by the PDF/UA Foundation, implements the same standard independently and raises what the machine rules leave to judgement. Each item below was a fault in our output that veraPDF passed, found by PAC and fixed in the engine:
- Untyped artifacts. A bare
/Artifact BMCis legal and tells a screen reader nothing: it cannot offer “skip repeating page elements” if it doesn’t know what repeats. Our sample had 28 artifact regions, 21 of them bare: table rules, a decorative band, field outlines. They now carry/Layout,/Paginationand the watermark subtype, per §14.8.2.2. - Figures without a bounding box. §14.8.5.4.3 wants
/BBoxon aFigureso the consumer knows where the picture sits. The raster path wrote it; the vector (SVG) path didn’t, and PAC flagged every SVG figure. - Footnotes nothing links to. “’Note’ element is not referenced by a ‘Link’ element.” It is a PAC warning, not an ISO rule. We implemented it anyway (
/Refon both the link and the note). That same work turned out to be required by UA-2, which asks for the reverse direction. - Figure/Form used where they don’t belong. “Possibly inappropriate use of a Figure/Form structure element”: code blocks and formulas wrapped in the wrong container.
The audits the standards don’t run
Two more checks of our own, run on the same templates:
- Content-stream state. Graphics-state operator pairing per ISO 32000-2, Figure 9: an unbalanced
q/Qor aBDCthat never closes can leave a document that opens fine and tags wrong. When this was written it found none in any template. - Structural audit. It counts structural oddities (a paragraph repeating on every page that may or may not be a running header) and fails if the count goes up. Judgement calls stay judgement calls instead of being patched to please a tool.
The half no machine can check
Whether alt text describes the image, whether the reading order follows the argument, whether a heading is a heading or just big text: PDF/UA leaves these to a person, and no validator answers them.
That half lives in the editor, in the accessibility check, and it looks for the things a machine legitimately can flag:
- images with no alt text, and alt text that is a filename, repeats the caption or runs as long as a paragraph
- tables with no header cells, and table rows of different widths
- heading levels that jump (H2 → H4), a document that starts below H1 or has no headings, and headings long enough to read as body text
- paragraphs that look like list items but are not a list
- links whose text is “click here”, the same link text going to different places, an internal link that goes nowhere, and links told from the sentence around them by colour alone (WCAG 1.4.1)
- text below the contrast its size requires (WCAG 1.4.3), measured on the laid-out page against whatever is painted under it, and form fields whose border or background is below 3:1 against what lies beside it (WCAG 1.4.11)
- form fields with no label
- a reading order that does not match the layout
- an empty or placeholder document title, a missing or invalid document language
- empty text elements left behind while editing

A checklist you can apply to any PDF
| Question | How to check |
|---|---|
| Does the container match the claim? | head -c 8 file.pdf, and the catalogue’s /Version if the header is older: PDF/UA-2 needs PDF 2.0; PDF/UA-1 and PDF/A-3a need PDF 1.7 or earlier (our engine writes %PDF-1.7) |
| Is it tagged at all? | pdfinfo file.pdf → Tagged: yes |
| Does it satisfy the machine rules? | verapdf -f ua1 file.pdf or -f ua2 |
| Does the other implementation agree? | Open it in PAC and read the warnings, not just the errors |
| Is the reading order right? | Read the tag tree, or listen to it; no tool decides this |
| Do figures have meaningful alt text? | Read every one of them out loud |
| Are decorative elements artifacts? | They should be typed artifacts, not bare ones |
| Can you reach every footnote? | Follow the links; a note nothing references is a dead end |
Where we are, and what we’re not claiming
Done: the engine writes PDF/UA-2; the editor offers it as “Claim PDF/UA-2” in Page settings on the Pro and Max plans, and the API as pdf_ua: 2; the reference document passes veraPDF’s ua2 profile; the file header matches the claimed edition; and the contradictory PDF/UA-2 with PDF/A-3 is refused rather than produced.
Not done: UA-2 expects mathematical content to carry a MathML representation. We tag Formula, but we do not attach MathML, so a document full of formulas is tagged, not fully described.
And PDF/UA-1 stays the default, deliberately. Compliance language written to date names the first edition, it is the one that pairs with PDF/A-3a for dual archival + accessible files, and assistive software support for PDF 2.0 structures is still uneven. UA-2 becomes the better answer when those change, and the switch is already there.
Everything on this page applies to the PDF/UA-1 file every plan exports, and to PDF/UA-2 on Pro and Max: tagged output is free on every plan, the accessibility check flags the human half before you send it, and both reference files can be checked with the two commands at the top.
Questions
- What is PDF/UA-2?
- PDF/UA-2 (ISO 14289-2, published 2024) is the second edition of the PDF accessibility standard. Unlike the first edition, it is written on top of PDF 2.0 (ISO 32000-2) rather than PDF 1.7, so it is not a patch list on PDF/UA-1 but the same goal expressed in PDF 2.0’s tagging model, with structure-element namespaces, new element types such as FENote for footnotes, and internal destinations that must point at structure rather than at page coordinates.
- What is the difference between PDF/UA-1 and PDF/UA-2?
- Five differences: (1) the file itself must be PDF 2.0, and a %PDF-1.7 header makes a UA-2 claim false; (2) every structure element carries a namespace, and types that did not move to PDF 2.0 (TOC, TOCI, Code, BlockQuote, Index, BibEntry) must stay in the 1.7 namespace; (3) footnotes are FENote, not Note; (4) links and bookmarks must use structure destinations; (5) a footnote and the reference that cites it must point at each other. A file valid under one edition is routinely invalid under the other, which is why the edition is chosen at export time, not afterwards.
- Does veraPDF validate PDF/UA-2?
- Yes. veraPDF 1.30 ships a ua2 profile, and it is what we gate on. Be careful reading the numbers, though: the profile carries well over a thousand rules, most of them the allowed-nesting table (which element type may contain which), so a coverage percentage measures which pairs your document happens to contain, not how thoroughly it was checked. A PASS means no rule found a violation in that file, not that the file is good.
- Can one file be both PDF/UA-2 and PDF/A?
- Not with PDF/A-3. PDF/A-3 is built on PDF 1.7 and PDF/UA-2 requires PDF 2.0; the archival pair for PDF 2.0 is PDF/A-4. Our engine refuses the combination outright rather than produce a file that claims both, because a claim the file cannot honour is worse than none. For a dual archival + accessible file today, use PDF/A-3a with PDF/UA-1.
- What is PAC and why check with it as well as veraPDF?
- PAC (PDF Accessibility Checker), the free checker published by the PDF/UA Foundation, is the other widely used one, and it finds a different class of problem. veraPDF judges the machine-checkable clauses of the ISO profile; PAC also raises the things the standard leaves as judgement: untyped artifacts, a figure with no bounding box, a footnote nothing links to. Every one of those was a real defect in our output that veraPDF passed, and each is fixed. We use both, because each has found faults the other passed.
- Can I export PDF/UA-2 from ReflowPDF today?
- Yes. In Page settings, “Claim PDF/UA-2”, on the Pro and Max plans; through the developer API, pdf_ua: 2. PDF/UA-1 stays the default: it is the edition compliance language names today, and the one that pairs with PDF/A-3a.
Check a PDF of your own against PDF/UA-1 with veraPDF, free, in the browser.
More from the blog
The Matterhorn Protocol: 136 ways a PDF can fail PDF/UA
PDF/UA-1 checkers test the conditions of the Matterhorn Protocol: 31 checkpoints, 136 failure conditions, and the split between machine checks and human judgement., a 3-minute readTagged and archival PDFs from ReflowPDF: the files, and how to check them
Exports that validate as PDF/UA-1, PDF/UA-2 and PDF/A-3a in veraPDF, each with its report. What the tags are, what the archive adds, and what no validator can judge for you., a 5-minute readHow we measure CSS conformance on the web-platform-tests
We changed the unit behind our conformance headline: a reftest counts as one test, a scripted file counts as its subtests. Both scales, same dataset., a 5-minute read