a11y-toolkit: VPAT 2.5 report (WCAG edition)
a11y_generate_vpatGenerate a VPAT 2.5 WCAG accessibility conformance report in HTML from audit evidence, with auto-filled remarks and human-set conformance levels.
Instructions
Generates a VPAT 2.5 (WCAG edition) accessibility conformance report in accessible HTML from an a11y_evidence pack (or raw audit reports): the full 55-criterion WCAG 2.2 A/AA table with Remarks auto-filled from the pack (status, measured values, examples, remaining human effort) and every Conformance Level starting at Not Evaluated — automated fails force Does Not Support and a qualified human sets the final level via overrides (supports, partially_supports, does_not_support, not_applicable, not_evaluated). The document is a DRAFT until the signature block, which must reference the pack sha256, is completed. VPAT is the US/ADA counterpart of a11y_generate_declaration (EU/EAA): the machine fills Remarks, the human signs the claim. — The US/ADA counterpart of a11y_generate_declaration; feed it the a11y_evidence pack — levels stay Not Evaluated until a qualified human sets them. Returns {html, summary {level: count}, levels {code: level}, pack_sha256, draft} — the VPAT draft; writes a file only when output_path is given. Run after the audits you trust; a qualified human must set the final levels (overrides) and sign before publishing — the machine fills Remarks, never the claim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Document language (default en) | |
| pack | No | a11y_evidence output (evidence pack); alternative to reports | |
| notes | No | Additional notes to include | |
| contact | No | Contact information for questions about this VPAT | |
| methods | No | Evaluation methods used (default: honest automated-screening note) | |
| product | Yes | Product name as it must appear in the VPAT | |
| reports | No | Audit report objects to bundle (when pack is not given, the pack is built here first) | |
| reviewer | No | {"name":…, "credential":…, "review_date":…} to prefill the signature block | |
| overrides | No | Criterion → conformance level set by a qualified human: {"1.1.1": "supports", "1.2.2": "not_applicable", …} | |
| output_path | No | save the VPAT HTML here (optional) | |
| report_date | No | VPAT report date ISO (default: today) | |
| product_description | No | Product description paragraph |