Accessibility
How Popcons icons and components handle reduced motion, focus and labels.
Motion should never get in the way. These are the behaviours you can rely on, and the ones you still own.
Reduced motion
- React icons skip playback when the OS asks for reduced motion. Set
reducedMotiononPopconsProviderto change the mode. - CSS and HTML exports ship a
prefers-reduced-motionmedia query. - Components use
motion-reduceclasses on every animated element. - Sound is a separate setting from motion: on by default for UI components, opt-in for icons, and easy to mute. See Sound.
Names and roles
- Icons are decorative unless you pass
label. - An icon-only button needs an accessible name. The icon button component requires one.
Focus
Components use a 2px focus outline from the --pc-ring token, which has a contrast ratio of at least 3:1 against the page and surface colours.
What you still need to test
Our public audit is automated and covers components in isolation. Test your finished pages with a keyboard and a screen reader.