Animated Images
WCAG Focus: WCAG 2.2.2 (A), 2.3.1 (A)
Looping animated GIFs are popular in WordPress tutorials and blog posts, yet an animation that loops endlessly cannot be paused natively by most browsers. Constant movement alongside article text makes reading difficult for people with attention disorders, vestibular sensitivities, or low vision.
Why This Pattern Violates WCAG
WCAG 2.2.2 Pause, Stop, Hide (Level A) states that for any moving, blinking, or scrolling information that starts automatically and lasts more than five seconds, there must be a mechanism to pause, stop, or hide it.
WCAG 2.3.1 (Level A) also prohibits rapid flashing exceeding three flashes per second.
Code Comparison
Uncontrolled Infinite Animated GIF
<img src="/wp-content/uploads/looping-demo.gif" alt="Plugin setup walkthrough">
Compliant Video With Native Play/Pause Controls
<video controls preload="metadata" width="640">
<source src="/wp-content/uploads/setup-walkthrough.mp4" type="video/mp4">
<track kind="captions" src="/captions.vtt" srclang="en" label="English">
</video>
How to Fix It in WordPress
- Convert looping tutorial GIFs to muted <video controls> (without autoplay) so readers control playback.
- Or configure GIF animations to stop cleanly within 5 seconds, or wrap them in a pause/play toggle.
Finding This Issue Automatically
Authors drop animated GIFs straight into Gutenberg image blocks every day without realizing they trigger WCAG 2.2.2 time-and-motion rules. The WP ADA Compliance Check plugin flags animated image assets across your WordPress site so you can add pause controls or replace them with user-controlled video.
WCAG References & Supporting Materials
WCAG Success Criteria
- Understanding WCAG 2.2.2 Pause, Stop, Hide (Level A)
- Understanding WCAG 2.3.1 Three Flashes or Below Threshold (Level A)
Supporting Documentation & Guides
- W3C Technique G152: Stopping animated GIFs within 5 seconds — How to limit or pause animated images under WCAG 2.2.2.
- W3C Failure F16: Scrolling or moving content without a pause mechanism — Documents WCAG 2.2.2 failures when moving content cannot be paused and restarted.
Subscribe
Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

