a11y-toolkit: Evidence pack (verifiable handoff)
a11y_evidenceBuilds a tamper-evident WCAG evidence pack from audit reports: the 55-criterion A/AA matrix, remaining human review by effort, hashed artifacts, and a signature block for vendor-neutral handoff.
Instructions
Builds the verifiable evidence pack: the machine→human handoff object for WCAG conformance work. Takes one or more audit reports (any mode — static, rendered, reflow, keyboard, scroll) and returns: the full 55-criterion A/AA matrix (statuses: automated-fail / automated-review / not-flagged / not-run / manual-only / agent-verified — never a pass; not-flagged means an ACCEPTED report of a mode that can signal that criterion ran and found nothing, not-run names the missing tool, and reports carrying an error never count as coverage), remaining human review by effort class, with counts per class; every artifact SHA-256-hashed with timestamps, an empty signature block (name, credential, date) whose statement must reference the pack's own sha256, and the tamper-evidence rule stated. Vendor-neutral: any qualified human can review it. Evidence, never conformance. — The tier-3 handoff object; feed it every audit report you have. Returns the pack JSON (a11y-evidence-pack/3) as text content (the agent writes the file). Run after the audits you trust, and pass verified codes from the manual checklist — agent-verified never erases an automated-fail.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"reports": "<reports>"
},
"name": "a11y_evidence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Pack language: matrix status labels and notes (en default) | |
| build | No | Build reference sealed into the pack sha — the claim→artifact chain: {"commit":…, "ci_url":…} or {"ref": "git:716d870"} | |
| scope | No | a11y_scope output: human-confirmed exclusions become not-applicable rows with their reason (machine proposals never exclude) | |
| reports | Yes | audit report objects (any mode) | |
| reviewer | No | {"name":…, "credential":…, "review_date":…} to prefill the signature block | |
| snapshot | No | a11y_snapshot output (optional) | |
| verified | No | Criterion codes an agent/human verified against this sample (manual checklist protocol) — they become agent-verified in the matrix; automated-fail stays fail |