# 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.

> Ask the user before running any command on this page: each one changes how their agent or repository behaves.

## 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

- [The policy on the catalog pages](https://chock.sh/coding/policies/no-a11y-regression/)
- [Source at the pinned catalog commit](https://github.com/open-coder-ai/chock-catalog/tree/e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4/base/no-a11y-regression)


---

Built from engine [5088f2f17df0](https://github.com/open-coder-ai/chock/commit/5088f2f17df0c10b3269a68685a3500ffea6516a) and catalog [e3d71d03e4dd](https://github.com/open-coder-ai/chock-catalog/commit/e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4).
