No Shipping A11y Violations
Features that pass functional tests but contain known accessibility violations must not be shipped — a11y compliance is part of the definition of done, not a post-ship enhancement.
$ prime install @community/rule-no-shipping-a11y-violations Projection
Always in _index.xml · the agent never has to ask for this.
NoShippingA11yViolations [rule] v1.0.0
Features that pass functional tests but contain known accessibility violations must not be shipped — a11y compliance is part of the definition of done, not a post-ship enhancement.
Loaded when retrieval picks the atom as adjacent / supporting.
NoShippingA11yViolations [rule] v1.0.0
Features that pass functional tests but contain known accessibility violations must not be shipped — a11y compliance is part of the definition of done, not a post-ship enhancement.
Severity
critical
Definition Of Done
- All interactive elements are keyboard accessible
- All form inputs have associated labels
- Automated axe-core scan returns 0 critical/serious violations
- Color contrast meets WCAG AA (4.5:1 for text, 3:1 for UI components)
- Focus visible on all focusable elements
Loaded when retrieval picks the atom as a focal / direct hit.
NoShippingA11yViolations [rule] v1.0.0
Features that pass functional tests but contain known accessibility violations must not be shipped — a11y compliance is part of the definition of done, not a post-ship enhancement.
Severity
critical
Definition Of Done
- All interactive elements are keyboard accessible
- All form inputs have associated labels
- Automated axe-core scan returns 0 critical/serious violations
- Color contrast meets WCAG AA (4.5:1 for text, 3:1 for UI components)
- Focus visible on all focusable elements
Rationale
Deferring a11y fixes to 'later' is a form of technical debt that compounds — retrofitting keyboard support into an established component is significantly more expensive than building it in initially. Legal risk (ADA, EAA) and user exclusion are non-hypothetical consequences.
Severity
critical
Definition Of Done
- All interactive elements are keyboard accessible
- All form inputs have associated labels
- Automated axe-core scan returns 0 critical/serious violations
- Color contrast meets WCAG AA (4.5:1 for text, 3:1 for UI components)
- Focus visible on all focusable elements
Source
prime-system/examples/frontend-design/primes/compiled/@community/rule-no-shipping-a11y-violations/atom.yaml