---
id: no-a11y-regression
track: coding
version: 1.1.6
label: blocks
keyword: block
where: write turn-end
sha256: 4dbb763d13d0f238b85d1175823f506f6b4677a6ac642301a2a0d8687c4c716f
source: https://github.com/open-coder-ai/chock-catalog/tree/e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4/base/no-a11y-regression
catalog_ref: e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4
---

# Keep Accessibility From Regressing

no-a11y-regression · version 1.1.6

Blocks — Blocks on an agent's file writes and at turn end. Chock adds friction. It is not a security boundary. 

In a git repo: at commit (Chock refuses the commit, locally and in CI.)



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

## Its label on each agent

- Claude Code (tested): Blocks — Blocks on an agent's file writes and at turn end. Builder: /coding/builder/#client=claude-code&p=no-a11y-regression
- Cursor (tested): Blocks — Blocks on an agent's file writes and at turn end. Builder: /coding/builder/#client=cursor&p=no-a11y-regression
- Codex (tested): 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). Builder: /coding/builder/#client=codex&p=no-a11y-regression
- GitHub Copilot (tested): 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). Builder: /coding/builder/#client=copilot&p=no-a11y-regression
- Devin (tested): 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). Builder: /coding/builder/#client=devin&p=no-a11y-regression
- Grok (tested): Not graded yet for Grok. Builder: /coding/builder/#client=grok&p=no-a11y-regression
- goose (tested): Not graded yet for goose. Builder: /coding/builder/#client=goose&p=no-a11y-regression
- Antigravity (tested): Not graded yet for Antigravity. Builder: /coding/builder/#client=antigravity&p=no-a11y-regression
- OpenHands (untested): Not graded yet for OpenHands. Builder: /coding/builder/#client=openhands&p=no-a11y-regression
- Kimi Code (untested): Not graded yet for Kimi Code. Builder: /coding/builder/#client=kimi-code&p=no-a11y-regression
- Factory Droid (untested): Not graded yet for Factory Droid. Builder: /coding/builder/#client=factory-droid&p=no-a11y-regression

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

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

## Latest change

1.1.6 · 2026-11-17 — Status production -\> draft (owner decision 2026-11-15, CAT-S1; review record discovery/2026-11-15-review-no-a11y-regression.md). Measured after 1.1.5: caught 23 of 51 regressions, correct work refused 17 of 58. Known to be wrong: framework attribute syntax is not read (Angular, Vue, Thymeleaf, JSP, ERB, Pug, Lit), an aria-label lost from an icon-only control is left unevaluated, an alt removed in some forms is missed, and there is no waiver a person can record. It returns to production when the hardening items are done and the counts are measured again. No rule, script or eval changed.

## Provenance

- Tested by 7 of 20 cases run automatically
- SHA-256: `4dbb763d13d0f238b85d1175823f506f6b4677a6ac642301a2a0d8687c4c716f`
- Catalog commit: https://github.com/open-coder-ai/chock-catalog/commit/e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4
- Source: https://github.com/open-coder-ai/chock-catalog/tree/e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4/base/no-a11y-regression (catalog path `base/no-a11y-regression`)
- Presets: none
- JSON: `/api/coding/policies/no-a11y-regression.json`
- Report a problem: https://chock.sh/report/?policy=no-a11y-regression&version=1.1.6&page=%2Fcoding%2Fpolicies%2Fno-a11y-regression%2F
