Accessible PDFs
Render tagged PDF/UA-1 documents and PDF/A archives, and fix what the accessibility checks report before you publish.
Every PDF Druckling renders is tagged: it carries a structure tree that screen readers and other assistive technology can follow. On top of that, a template can claim a PDF standard. PDF/UA-1 makes the document formally accessible, PDF/A makes it fit for long-term archiving, and PDF/A-3a combines archiving with accessibility.
This guide explains the standards, what Druckling takes care of, what you have to provide, and how to check the result.
Choose a PDF standard
The PDF standard is a template setting. In the editor, select the Document tab in the right-hand panel and pick a PDF standard under Output. It applies to every PDF rendered from the published version; there's no API parameter for it, and a pinned version keeps the standard it was published with.
| Setting | What it means | Editor checks |
|---|---|---|
| Standard PDF | A tagged PDF without a conformance claim. The default | Nothing extra |
| PDF/A-2b (archival) | PDF/A-2, level b, for long-term archiving. No embedded files | Nothing extra |
| PDF/A-3b (archival + attachments) | PDF/A-3, level b. Allows embedded files such as e-invoice XML | Nothing extra |
| PDF/A-3a (archival + attachments, accessible) | PDF/A-3, level a: archiving plus accessibility requirements | Alt text on images |
| PDF/UA-1 (accessible) | PDF/UA-1 (ISO 14289-1), the standard for accessible PDF | Document title, alt text on images, heading order |
A PDF claims one standard, so PDF/UA-1 can't be combined with a PDF/A level. If you need an accessible document that is also an archive, or an accessible Factur-X or ZUGFeRD e-invoice, use PDF/A-3a. Factur-X templates only offer PDF/A-3b and PDF/A-3a, because the invoice XML has to be embedded in a PDF/A-3.
The European Accessibility Act has applied since 28 June 2025 to many products and services sold to consumers in the EU. If documents such as tickets, contracts or statements are part of a service it covers, PDF/UA-1 is the established way to make them accessible.
What Druckling does for you
These apply to every render, whatever standard you choose, unless noted:
- Tagged structure. Text blocks, headings, tables and images are tagged in the PDF's structure tree. The reading order is the order of the blocks in the template, top to bottom, and inside a columns block one column after the other.
- Headings. Heading blocks become tagged headings of their level (1 to 3), which also gives PDF viewers a document outline.
- Table headers. A table's header row is tagged as table headers, so each cell can be read with its column name. With Repeat header row on (the default), the header row repeats on every page.
- Headers and footers. Blocks in the page header and footer are marked as artifacts, so screen readers don't read the running header and page numbers on every page.
- Decorative images. Images marked Decorative are artifacts too, and need no alt text.
- Codes. QR codes and barcodes get alt text automatically: the kind of code followed by its value, for example
QR code: https://verify.example.com/CERT-8812. When the value is printed below the code, or spans several lines (like a GiroCode payment QR), the alt text is just the kind, such asQR codeorEAN-13 barcode. - Title. The Title under Document › Metadata is written to the PDF's metadata. In PDF/UA-1 documents, PDF viewers show it in the title bar instead of the file name. A template without a title gets
Document. - Language. The PDF declares the language it was rendered in, so screen readers pronounce the text correctly. It's the template's default language, or the
languageof the render; see Multi-language templates.
What you provide
The standard can only require what the template supplies. For PDF/UA-1:
- A document title. Set Document › Metadata › Title, for example
Invoice. In a multi-language template, translate it like any other text. - Alt text for images. Select the image block and fill in Alt text with what the image conveys, for example
Logo of Acme Studio. If the image is only decoration, switch on Decorative instead. Placeholders without an image source don't need either. Alt text is plain text: bindings like{{customer.name}}aren't filled in. - Real headings in order. Use heading blocks for section titles rather than bold text. Start with a level 1 heading and don't skip levels (1, 2, 3, not 1, 3).
- Headings that are never empty. A heading that is only a binding, such as
{{invoice.number}}, is empty when the value is missing. Make the variable required, or add a fallback with thedefaultfilter, for example{{invoice.number | default:Invoice}}. A required variable can still be sent as an empty string, which thedefaultfilter also covers. - A description for charts. Charts have no alt text setting. Their title and labels are text, but the bars and lines aren't described, so state what the chart shows in a text block next to it.
PDF/A-3a only requires the alt text (or the Decorative switch) on images.
Checks in the editor
While you edit a template with PDF/UA-1 or PDF/A-3a, the editor checks it and lists the problems in the status menu above the canvas, marking the blocks they belong to. Only body blocks are checked; header and footer blocks are artifacts.
| Message | Standard | Fix |
|---|---|---|
| PDF/UA needs a document title (Document settings → Title) | PDF/UA-1 | Fill in Document › Metadata › Title |
| PDF/UA: add alt text to this image, or mark it decorative | PDF/UA-1 | Fill in Alt text or switch on Decorative |
| PDF/A-3a: add alt text to this image, or mark it decorative | PDF/A-3a | Same |
| PDF/UA: the first heading must be level 1, not 2 | PDF/UA-1 | Change the first heading to level 1 |
| PDF/UA: heading levels can't skip from 1 to 3 | PDF/UA-1 | Use level 2, or add a level 2 heading in between |
| PDF/UA: headings can't be empty | PDF/UA-1 | Give the heading text |
These are errors: the template can't be published until they're fixed. One more check is a warning, because it depends on the data:
PDF/UA rejects empty headings: make the variable required or add a | defaultIn a multi-language template, the checks run for every language, since a translation can leave a heading or an alt text empty. Problems in another language are prefixed with its name, for example German: PDF/UA: add alt text to this image, or mark it decorative.
When you publish, Druckling also exports the template once with its sample data in the chosen standard. If the export fails, publishing fails with the reason, and nothing changes for your API calls.
When data breaks a rule
The checks look at the template; the data arrives later. If a render produces something the standard forbids, for example a heading whose only binding is empty in this payload, the render fails with render_failed. A synchronous request answers 422:
{
"defined": false,
"code": "UNPROCESSABLE_CONTENT",
"status": 422,
"message": "PDF/UA-1 error: heading title could not be determined",
"data": {
"code": "render_failed",
"field": null,
"diagnostics": [
{ "severity": "error", "message": "PDF/UA-1 error: heading title could not be determined", "file": "other" }
]
}
}The document is recorded as failed with this error, which is also what an async render ends with. Fix the data, or make the template robust with required variables and default filters.
PNG output
PNG output has no PDF standard: an image can't be tagged or claim conformance. You can still render a page of a PDF/UA-1 template as a PNG; the document's timeline in the dashboard notes that the standard applies to PDF output only.
Verify the output
Druckling enforces what the export requires, but no tool can judge whether alt text is meaningful or the reading order makes sense. Before relying on a template:
- Render a few documents with a test key, using realistic data, including long values and missing optional fields.
- Check the files with a validator such as veraPDF, which tests PDF/A and PDF/UA conformance, or an accessibility checker such as PAC.
- Read a sample with a screen reader, such as NVDA on Windows or VoiceOver on macOS, and listen for the reading order, headings and image descriptions.