# Visual Accessibility for Animated Graphics: Contrast, Colour and Flashing

> 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.

Updated November 2026. Source: https://www.exodeui.com/learn/visual-accessibility-animated-graphics/

## Key takeaways

- 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

## 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.

## Frequently asked questions

### Do contrast rules apply to animations?

Yes. Text and meaningful graphics need sufficient contrast whenever people need to perceive them, including during motion.

### How fast is too fast for flashing?

More than three flashes in one second fails WCAG 2.3.1 unless the flashes are below the defined thresholds.

### Is a colour change enough to show an error?

No. Add an icon, text or shape change so the state is clear without colour.

### Should moving text be avoided?

Avoid making people read text while it moves. Animate it in, then let it stay still.

## Related

- [Accessible motion and reduced motion](https://www.exodeui.com/learn/accessible-motion-reduced-motion/)
- [Screen reader accessible animation](https://www.exodeui.com/learn/screen-reader-accessible-animation/)
- [prefers-reduced-motion guide](https://www.exodeui.com/learn/prefers-reduced-motion-guide/)
- [Accessible focus states](https://www.exodeui.com/learn/accessible-focus-states/)
