WCAG Encyclopedia

2.2.2 · OperableLevel A

Pause, Stop, Hide

Anything that moves, blinks, scrolls, or auto-updates for more than five seconds needs a way to pause, stop, or hide it — provided it runs alongside other content. Motion in the periphery is genuinely disabling for people with ADHD, vestibular disorders, or low vision using magnification.

Principle
Operable
Guideline
2.2
Level
A
In WCAG since
2.0
Number
2.2.2

Broken, then fixed

The same interface twice: first with the mistake, then with the smallest change that fixes it.

Broken: A carousel that advances on its own, with no control.

It advances every four seconds. A magnifier user reading the left edge loses their place each time; anyone reading slowly never finishes a slide.

Fixed: A pause control, present before the motion starts.

Pause is a real control in the tab order, not a hover-only affordance. Honouring prefers-reduced-motion by not auto-advancing at all is better still — the demos on this page take that route.

What changed in the code

The fix as a diff: removed lines are marked with a minus, added lines with a plus.

Markup diff — carousel.js
removed: setInterval(next, 4000);
added: const still = matchMedia('(prefers-reduced-motion: reduce)').matches;
added: let timer = still ? null : setInterval(next, 4000);
added: pauseButton.addEventListener("click", () => {
added:   timer = timer ? clearInterval(timer) : setInterval(next, 4000);
added: });

The reader’s stated preference decides whether it starts; the button decides whether it continues. Neither alone is sufficient.

Watch it happen

This demo plays the failure out over time. It is silent and captioned, and you can pause or scrub at any point.

Slide 1 of 3

auto-advancing, no control

CaptionA carousel with no controls.
0:00 / 0:12CC onSilent · looping

How to test

Check your own interface against 2.2.2, one step at a time.

  1. Load the page and watch it for 10 seconds without touching anything. Note everything that moves, blinks, scrolls or updates on its own: carousels, tickers, animated backgrounds, videos without sound, live scores, feeds.
  2. For each item that starts by itself, sits next to other content and runs for more than five seconds, look for a control that pauses, stops or hides it.
  3. Reach that control with the keyboard alone and use it. Check that the movement stops and stays stopped, and does not start again when focus leaves.
  4. For content that updates on its own, such as a news feed or a share price, check that the person can pause the updates, stop them, hide them, or choose how often they arrive.
  5. Turn on Reduce motion in the operating system settings and reload. Check what still moves, and whether a control is still needed for it.

Common questions

Does an animation that lasts four seconds need a pause button?

No. Movement that stops by itself within five seconds is outside 2.2.2. Blinking that stops within five seconds passes too.

Does a loading spinner fail 2.2.2?

No, when it is the only thing on screen and the person cannot do anything until loading ends. A spinner that keeps turning beside content the person is trying to read needs a way to stop or hide it.

Does a carousel that pauses while it has focus pass 2.2.2?

No. Pausing on focus or hover stops the movement only while the person stays on the carousel, and it starts again as soon as they move on to read something else. Give it a pause or stop button that keeps it still.

Try it yourself

A lab is a small working piece of interface that you change yourself. Read its steps, use the controls under it, and watch the verdict line at the bottom: it says whether the criterion passes or fails as you go. Reset puts it back.

Try it: stop the carousel

Also in guideline 2.2

Criteria in the same guideline often fail together.