a11y-toolkit: Blindfold journey verdict
a11y_journey_verdictScore a completed non-visual accessibility task journey to return a pass/partial/fail/blocked verdict, mapping friction steps to WCAG criteria as usability evidence.
Instructions
Blindfold journey verdict — the capability no other accessibility tool has: the agent attempted a REAL task (sign up, checkout, password reset) perceiving only the accessibility tree and acting by accessible name and keyboard; perceive via your browser accessibility snapshot (state-preserving). This turns its friction log into a deterministic scored verdict. Pass = task completable non-visually by the agent; friction items map to WCAG criteria and flow into the evidence pack (report:journey). Use with the blindfold-task prompt: act by accessible name, log friction per step, then call this. Task usability evidence, never conformance. Returns JSON: {verdict pass|partial|fail|blocked, score 0-100, findings [{criterion, severity, signal, issue, remediation, step}], summary, rules} — writes a file only when output_path is given. Run only after a real blindfold attempt (the blindfold-task prompt): the verdict prices the walk, it does not replace it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | page(s) where the journey ran | |
| lang | No | output language | |
| task | Yes | {"goal": what the agent attempted, "kind": sign-up|checkout|password-reset|search|custom} | |
| steps | Yes | journey steps: {action, target (accessible name), perceived, friction?} — friction is {pattern: journey_* key} or {criterion, severity, issue, remediation?} | |
| outcome | Yes | {"completed": bool, "gave_up": bool, "workaround_used": bool, "notes"} | |
| output_path | No | write the full verdict JSON here instead of returning it inline |