{
  "schema_version": 1,
  "id": "no-a11y-regression",
  "track": "coding",
  "name": "Keep Accessibility From Regressing",
  "version": "1.1.6",
  "sha256": "4dbb763d13d0f238b85d1175823f506f6b4677a6ac642301a2a0d8687c4c716f",
  "sha256_v1": "b5cf833440a80f6cbd3dda636cd3c5ad62fb6b134539e2fc7a366ee02111ffd7",
  "keyword": "block",
  "word": "blocks",
  "says": "blocks on an agent's file writes and at turn end",
  "description": "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.",
  "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.",
  "where": [
    "write",
    "turn-end"
  ],
  "groups": [],
  "eval_cases": 20,
  "eval_executed": 7,
  "latest": {
    "version": "1.1.6",
    "date": "2026-11-17",
    "change": "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."
  },
  "agent_labels": {
    "claude-code": {
      "keyword": "block",
      "says": "blocks on an agent's file writes and at turn end"
    },
    "cursor": {
      "keyword": "block",
      "says": "blocks on an agent's file writes and at turn end"
    },
    "codex": {
      "keyword": "block",
      "says": "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)"
    },
    "copilot": {
      "keyword": "block",
      "says": "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": {
      "keyword": "block",
      "says": "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": {
      "keyword": "ungraded",
      "says": "Not graded yet for Grok"
    },
    "goose": {
      "keyword": "ungraded",
      "says": "Not graded yet for goose"
    },
    "antigravity": {
      "keyword": "ungraded",
      "says": "Not graded yet for Antigravity"
    },
    "openhands": {
      "keyword": "ungraded",
      "says": "Not graded yet for OpenHands"
    },
    "kimi-code": {
      "keyword": "ungraded",
      "says": "Not graded yet for Kimi Code"
    },
    "factory-droid": {
      "keyword": "ungraded",
      "says": "Not graded yet for Factory Droid"
    }
  },
  "source_url": "https://github.com/open-coder-ai/chock-catalog/tree/e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4/base/no-a11y-regression",
  "enforces": "enforced-at-commit",
  "examples": [
    {
      "word": "Refused",
      "prompt": "At write time the agent rewrites a page so an image that carried alt text now has alt=\"\".",
      "command": null
    },
    {
      "word": "Allowed",
      "prompt": "At write time the agent rewords an image's alt text.",
      "command": null
    }
  ]
}
