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.
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.
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.
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.
auto-advancing, no control
How to test
Check your own interface against 2.2.2, one step at a time.
- 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.
- 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.
- 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.
- 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.
- 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
How to use this lab
- Goal. Give Ana time to read a carousel that moves on its own. She reads at 200% zoom and needs ten seconds a slide.
- The controls. The choices under “The carousel offers” give it No control, A Pause button, A Stop button or A Hide button. The choices under “It moves” make it stop by itself after 4 seconds or keep moving. Wait 2 seconds and Run the clock move a mock clock, and the list beneath says what happens to Ana.
- Try this. The lab starts with No control and Keeps moving, and fails. Press Run the clock and watch the slides change before Ana finishes one. Then choose A Pause button, or For 4 seconds, then stops, and run the clock again.
- What it means. If Ana can pause, stop or hide the carousel, or it stops by itself within 5 seconds, 2.2.2 passes. If it moves for more than 5 seconds with nothing to stop it, 2.2.2 fails: people who read slowly, or who are distracted by movement, can’t keep up. The verdict line under the lab says which.
- 0:00 The carousel starts moving on its own
2.2.2 fails
Also in guideline 2.2
Criteria in the same guideline often fail together.