Visual Accessibility for Animated Graphics: Contrast, Colour and Flashing
How to make animated graphics visually accessible: contrast for text and shapes, not relying on colour, flash limits, motion sensitivity and readable moving text.
Core Takeaway
Animated graphics must meet the same visual rules as static UI at every frame: enough contrast for text and meaningful shapes, information that does not depend on colour alone, no flashing more than three times a second, and a way to reduce motion. Check frames in the middle of transitions, not only the start and end.
Contrast at every frame
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text, and 3:1 for meaningful graphics and UI components. In animation, contrast can drop mid-transition, for example when text fades over a moving background. Check the worst frame, or keep text on a solid backing.
Do not rely on colour alone
A status that changes only from green to red is invisible to many people with colour vision deficiencies.
- Pair colour with shape: a check mark versus a cross
- Add text labels to states
- Use motion direction or icon change as an extra cue
- Test with a colour-blindness simulator
Flashing and seizures
WCAG 2.3.1 says content should not flash more than three times in any one-second period, unless the flash is below specific thresholds. This matters for celebrations, glitch effects, strobing loaders and fast colour changes. Large, high-contrast, red flashes are the most risky.
Moving text and motion sensitivity
Text that moves while people read is hard for everyone and harder for people with low vision or dyslexia. Let text settle before it needs to be read. Respect the reduced-motion setting, and provide a pause control for anything that moves for more than five seconds, as WCAG 2.2.2 requires.
Key Principles to Remember
- Meet contrast ratios at every frame, including transitions
- Never use colour as the only signal
- No more than three flashes per second
- Let text settle before reading; respect reduced motion