Actions
Accessibility baseline¶
Everything in the library meets WCAG 2.2 AA, and we treat a contrast failure as a bug rather than a
polish item. Concretely:
- Text contrast at least 4.5:1, large text 3:1, and the same for the focus indicator against both
the component and the background behind it. - Every interactive element reachable and operable by keyboard, in the order it appears.
- Every custom control announces its role, its state and its value. A div with a click handler is
not a button and will be sent back. - Motion respects
prefers-reduced-motion; nothing auto-plays. - Nothing conveys meaning by colour alone.
Updated by Mara Oyelaran 5 months ago · 1 revisions