DocsReferenceAccessibility
Accessibility
Icons that move and make sound, without leaving anyone out.
- Every icon carries
aria-hidden="true". Put the meaning in text: a visible label, oraria-labelon the button or link. - When an icon shows a value that matters, say it too:
aria-label="Battery, 62 percent". See the battery guide. fidg-hoverandfidg-moveanswer keyboard focus, so nothing is hover-only.- Motion stops for visitors whose device asks for reduced motion. Add
--fidg-glide: 0sthere to make values jump as well. - Sound never plays until a visitor switches it on.
- Ink follows your
color. Check its contrast against the background as you would for text.
Something missing or unclear?Write to usRequest an icon