{ "$schema-comment": "Baseline catalogue of jsx-a11y/recommended rules that are currently disabled in .eslintrc because the codebase has pre-existing violations. The plan is to drive these counts down to zero, then promote each rule back to `error` in .eslintrc and remove it from this file. See docs/contributing/wcag-audit.md for the reduction policy. Counts are produced by `scripts/verify-a11y-baseline.mjs`.", "generatedAt": "2026-05-17", "lastUpdatedAt": "2026-05-28", "scope": ["apps/web/app/**/*.tsx", "packages/ui/src/stories/**/*.tsx"], "ruleset": "plugin:jsx-a11y/recommended", "totalViolations": 81, "rules": { "jsx-a11y/no-autofocus": { "violations": 81, "severity": "P2", "rationale": "Autofocus remains in form/editor surfaces. Button/link wrappers now use programmatic focus instead of DOM autoFocus. Migration plan: prefer programmatic focus on open() so screen-reader users hear the modal title first." } }, "promoted": { "jsx-a11y/anchor-has-content": { "promotedAt": "2026-05-20", "rationale": "Reached 0 violations. The two reusable wrappers (PaginationLink, StepperTitle) now destructure `children` and render it explicitly so the rule can statically verify content. Rule moved back to `error` (jsx-a11y/recommended default) and the `off` override removed from .eslintrc." }, "jsx-a11y/heading-has-content": { "promotedAt": "2026-05-20", "rationale": "Reached 0 violations alongside anchor-has-content — see StepperTitle. Rule moved back to `error` and the `off` override removed from .eslintrc." }, "jsx-a11y/label-has-associated-control": { "promotedAt": "2026-05-20", "rationale": "P1. Reached 0 violations (#73 WCAG sweep). Form labels were associated with their controls via htmlFor+id (marketing-funnels, PropertyForm); accessible text was flattened to within depth-2 (NewMember, RowForm, GroupForm); empty/decorative labels captioning non-form widgets were converted to
/role=group captions (ConfirmModal inputs now carry aria-label, PreviewTooltips, PreviewInputTextWithMonacoEditor, JsonPropertyForm, PromptTemplateForm). Rule moved back to `error` and the `off` override removed from .eslintrc." }, "jsx-a11y/click-events-have-key-events": { "promotedAt": "2026-05-20", "rationale": "P1. Reached 0 violations (#73 WCAG sweep). Genuine div-buttons were converted to