Accessibility (PDF/UA)
Tag documents so screen readers can read them.
The pdfua action tags the document for PDF/UA: its structure is marked up and its language
declared, so screen readers and other assistive technology can read it. part is 1 (PDF/UA-1)
or 2; lang is the document's language (such as en-US).
It helps you meet the European Accessibility Act, Section 508 and WCAG for documents you publish.
Cost: 1 unit per page.
Tag a report
curl https://api.nexpdf.dev/v1/build \
-H "Authorization: Bearer $NEXPDF_API_KEY" \
-F doc=@report.pdf \
-F 'instructions={
"parts": [
{
"file": "doc"
}
],
"actions": [
{
"type": "pdfua",
"part": 1,
"lang": "en-US"
}
]
}' \
-o report-accessible.pdf