Skip to content
2.2.2 · Level A · WCAG 2.0 · Operable → Enough Time

Pause, Stop, Hide

Anything that moves, blinks, scrolls or updates automatically for more than five seconds, alongside other content, can be paused, stopped or hidden by the user.

Why it matters

A carousel that advances on its own, a ticker, or an animated banner pulls attention away from the task for people with attention or cognitive disabilities, and a screen reader user may have the content change under them mid-sentence.

Automatically detected

axe-core flags the obsolete <blink> and <marquee> elements. A JavaScript carousel or a CSS animation with no pause control is invisible to it and needs a person to test.

Related axe-core rules: blink, marquee

Fails

<div class="carousel" data-autoplay="true" data-interval="4000">
  <div class="slide">…</div>
  <div class="slide">…</div>
</div>

The slides advance every four seconds for as long as the page is open, and there is no control to stop them.

Passes

<div class="carousel" data-autoplay="true" data-interval="4000">
  <button type="button" aria-pressed="false">Pause slideshow</button>
  <div class="slide">…</div>
  <div class="slide">…</div>
</div>

A visible, keyboard-operable pause control before the moving content. Respecting prefers-reduced-motion by not auto-playing at all is better still.

Openwell finds violations like this one across your whole site, clusters them by the component that caused them, and generates a fix that's re-validated before you see it.

Scan your site free
WCAG 2.2.2 Pause, Stop, Hide — what it requires and how to fix it — Openwell