Policies
Keep Accessibility From Regressing
Keep Accessibility From Regressing: what it does, its label on each agent, what it misses, and examples.
Catalog policy no-a11y-regression, version 1.1.6, labelled blocks on Claude Code.
What it does
Trigger: remediating accessibility, editing markup, emptying or removing an alt, aria-label, label or lang that an element already had, deleting a flagged element. avoid: breaking a requirement the previous revision met; interrupting a correct fix. Misses: a name lost while an element moves to another file, and a new element or a supplied name that is weak, which warn and do not block. Not production-grade: caught 23 of 51 regressions and refused 17 of 58 correct changes in the 2026-11-15 hardening review; known gaps are framework attribute syntax (Angular, Vue, Thymeleaf, JSP, ERB, Pug, Lit), icon-only controls that lose an aria-label, and an alt removed in some forms.
On each agent
| Agent | Label | What it does there |
|---|---|---|
| Claude Code | Blocks | Blocks on an agent's file writes and at turn end |
| Cursor | Blocks | Blocks on an agent's file writes and at turn end |
| Codex | Blocks | Blocks on an agent's file writes and at turn end. If the hook errors, the action goes through (not witnessed; the vendor's row is only partly live-run) |
| GitHub Copilot | Blocks | Blocks at turn end only. It does not check a file write when it happens. If the hook errors, the action goes through (not witnessed; the vendor's row is only partly live-run) |
| Devin | Blocks | Blocks at turn end only. It does not check a file write when it happens. If the hook errors, the action goes through (vendor docs only, not witnessed) |
| Grok | Not graded | Not graded yet for Grok |
| goose | Not graded | Not graded yet for goose |
| Antigravity | Not graded | Not graded yet for Antigravity |
| OpenHands | Not graded | Not graded yet for OpenHands |
| Kimi Code | Not graded | Not graded yet for Kimi Code |
| Factory Droid | Not graded | Not graded yet for Factory Droid |
What it misses
A name lost while an element moves to another file, and a new element or a supplied name that is weak, which warn and do not block.
Examples from its eval suite
Refused: At write time the agent rewrites a page so an image that carried alt text now has alt="".
Allowed: At write time the agent rewords an image's alt text.
More
Built from engine 5088f2f17df0 and catalog e3d71d03e4dd.