Accessibility
What every component guarantees, and what is left to you.
What every component does
- Reduced motion. Each animation has a
prefers-reduced-motionpath: it is removed, shortened, or replaced by a fade. - Keyboard. Anything you can do with a pointer you can do with a keyboard, with a visible focus ring.
- Screen readers. Decorative layers are hidden. Animated text is exposed once as plain text, not letter by letter.
- Touch. Hover effects are skipped on touch devices and targets are at least 44 pixels where the layout allows.
- No layout shift. Animations use transform and opacity, and reserve their space up front.
What is left to you
- Color contrast after you change the theme.
- Labels: components that need an accessible name take a
labelprop. - Heading levels: components with headings take an
asprop.
Each component page lists its specific behavior under Accessibility.