Audit PDF accessibility (veraPDF)
audit_pdfAudits built PDFs for accessibility conformance with veraPDF, verifying PDF/UA-2, WTPDF, and PDF/A-4f compliance. Use before publication to validate regulatory requirements like EAA and WCAG 2.2 AA.
Instructions
Audit built PDFs for accessibility conformance with veraPDF.
Purpose:
Verifies whether built PDFs satisfy PDF/UA-2, WTPDF, and PDF/A-4f triple-conformance
accessibility and preservation standards using veraPDF.
When to use:
- When validating accessibility compliance of compiled PDF documents prior to publication.
- When auditing batch PDFs under `build/` for regulatory standards (EAA, WCAG 2.2 AA).
When NOT to use:
- Do NOT use to generate or compile documents; use `render` and the build pipeline first.
- Do NOT use if veraPDF is not installed or available on PATH.
Behavioral transparency:
Read-only audit. Shells out to veraPDF without modifying any PDF or source files.
Returns:
Audit report dictionary detailing summary, per-PDF results, and per-flavour passes/fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strict | No | When true, every blocking-flavour FAIL is surfaced as `blocking_failure: true` in the response. | |
| target | No | PDF file path or directory to audit; defaults to `build/` under INCLUSIO_CONTENT_DIR. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||