Accessibility rule handbook metadata
- Rule
AI.A11Y.GENERIC.FORM_ERROR_ASSOCIATION· laneai· scopegeneric- Page status
- current
- page_version
4b7d26b26401252ed15719e4b809a2453e692ad27e0eb260e8924e2a73dfa612- generated_at
- 2026-05-26T08:51:23.000Z
- registry_fingerprint
e11a2939d018a45bae7d6e23364aba2ae4e13f190d942f49891c89ea84c44c46
How this rule is checked
AI lane — enable with --enable-ai. Judgment runs via Cursor/agent using prompts under design-rules/ai/prompts/generated/.
Module: docs/design/a11y-audit/ai-enabled-a11y-principles.md#ai-a11y-generic-form-error-association. See Before / After below.
Purpose
AI judgment overlay (generic scope).
Passing signals
- DOM and/or repo signals satisfy the rule implementation in
tools/website-a11y-auditor. - For axe-backed WCAG criteria, use
--lanes axe,detwith an appropriate--standardpreset.
Failing signals
- Auditor emits a finding with
ruleIdAI.A11Y.GENERIC.FORM_ERROR_ASSOCIATIONon the crawled URL. - Harness:
auditor-tests/invoke-a11y-ruleset-harness.sh AI.A11Y.GENERIC.FORM_ERROR_ASSOCIATIONexpects ≥1 finding on the Before fixture.
Before example
Before (failing example)
Placeholder failing state for AI.A11Y.GENERIC.FORM_ERROR_ASSOCIATION (generic).
After example
After (passing example)
Placeholder passing state for AI.A11Y.GENERIC.FORM_ERROR_ASSOCIATION.
Evidence and remediation
- Reproduce with
analyze-website-a11y.mjs --only-deterministic-rule-ids AI.A11Y.GENERIC.FORM_ERROR_ASSOCIATIONwhen lane is deterministic. - Apply the After markup pattern (or fix generator source for KS rules).
- Re-run harness or audit until the rule is clean on the target URL.