PDF/UA identifier missing: what it means and how to fix it
The error means your PDF's metadata doesn't say which PDF/UA part it follows. Here is what the identifier is, how to add it in Acrobat, and when you shouldn't.
"PDF/UA identifier missing" means the PDF's XMP metadata doesn't contain the line that says which part of the PDF/UA standard the file follows. You fix it by adding pdfuaid:part to the metadata, after the rest of the file actually meets PDF/UA.
The identifier is a claim, not a fix. Adding it to a file that still has untagged content makes the claim false, so treat it as the last step.
What is the PDF/UA identifier?
It is a small entry in the document's XMP metadata, in the PDF/UA Identification schema. The namespace is http://www.aiim.org/pdfua/ns/id/ and the prefix must be pdfuaid.
For a PDF/UA-1 file it looks like this:
<rdf:Description rdf:about=""
xmlns:pdfuaid="http://www.aiim.org/pdfua/ns/id/">
<pdfuaid:part>1</pdfuaid:part>
</rdf:Description>Deque's axe rule for PDFs puts the purpose simply: the identifier "tells users that the document claims technical compliance with PDF-UA standards."
Which rules does a missing identifier break?
Clause 5 of PDF/UA. The veraPDF validator splits it into separate checks, and its rule pages give the exact error text you'll see.
For PDF/UA-1:
| Rule | What fails |
|---|---|
| 5-1 | "The document metadata stream doesn't contain PDF/UA Identification Schema" |
| 5-2 | pdfuaid:part is not 1 |
| 5-3, 5-4, 5-5 | part, amd or corr use a prefix other than pdfuaid |
For PDF/UA-2 the same pattern applies, with two changes. pdfuaid:part must be 2, and a second property, pdfuaid:rev, must be "2024".
So "identifier missing" is rule 5-1. If the identifier is there but says the wrong part, or uses another prefix, you'll get 5-2 or 5-3 instead.
How do I add the PDF/UA identifier in Acrobat?
Acrobat Pro does it with a Preflight fixup. These are the steps from Deque's rule page:
- Open Tools > Print Production > Preflight.
- Set the Library to "Acrobat Pro DC 2015 Profiles" or "PDF Standards".
- On the Profiles tab, click the wrench icon for single fixups.
- Expand "Document Info and Metadata".
- Select "Set PDF/UA-1 entry" and click Fix.
- Save to a new file name when asked.
If you can't find the fixup, change the Library. Several people in this Adobe community thread report it only appears under one of those two libraries.
The fixup writes the PDF/UA-1 entry. It doesn't write the PDF/UA-2 part and rev values, so for a PDF/UA-2 file you need a tool that does.
Should I add the identifier before the file passes?
No. The identifier tells screen readers, validators and anyone auditing the file that it meets PDF/UA. If the tags, reading order, alt text or language are still wrong, the file is now making a false claim.
Some validators, ours included, use the identifier to decide which rules to run. A file marked part 2 gets checked against PDF/UA-2, which has different requirements from PDF/UA-1. Mark it with the part you actually built it to.
The right order is:
- Check the file and fix the real problems: tags, reading order, headings, tables, alt text, title, language.
- Check again until only the identifier error is left.
- Add the identifier.
- Check once more.
Why does the error appear on a file that looks accessible?
Because tagging and the identifier are separate. A file can be well tagged and still fail clause 5, since the identifier is a metadata entry that something has to write on purpose.
That makes this one of the cheapest errors to fix, as long as everything else passes. If it is the only error in your report, add the identifier and you're done.
How does Remediate handle the identifier?
Remediate checks your PDF against the PDF/UA version it says it follows, or the one you pick, and reports a missing identifier as "The file doesn't say it's accessible" (PDF/UA-1 section 5, WCAG 4.1.2).
When it fixes a file, it rewrites the XMP metadata with the document title, language and the PDF/UA-1 identifier, alongside the tag, reading order, heading, table and alt text fixes. You get the fixed PDF and a list of every change. If something can't be fixed automatically, such as fonts that were never embedded, it tells you what's left and how to fix it yourself.
For a pipeline, the same check and fix run over the API. We compared it with Adobe, Nutrient, veraPDF and others in PDF accessibility APIs compared.
FAQ
Does the PDF/UA identifier make a PDF accessible? No. It only states that the file claims to meet PDF/UA. The tags, reading order and alt text are what make it accessible.
What value should pdfuaid:part have?
1 for PDF/UA-1, 2 for PDF/UA-2. PDF/UA-2 also needs pdfuaid:rev set to 2024.
Can I add the identifier without Acrobat? Yes. It's ordinary XMP metadata, so any tool that can edit a PDF's metadata stream can write it. Check the result with veraPDF or another PDF/UA validator.
Is a missing identifier a WCAG failure? WCAG doesn't require PDF/UA, so the identifier alone isn't a WCAG test. Checkers that map PDF/UA to WCAG, including ours, list it under 4.1.2. Deque's axe rule rates it critical.