Pause, Stop, Hide: Control Moving Content
Also called: Pause button, Carousel pause, Moving content control
Definition
Pause, Stop, Hide is WCAG success criterion 2.2.2. Moving, blinking or scrolling content that starts automatically, lasts more than five seconds and appears alongside other content needs a way to pause, stop or hide it; auto-updating content needs a way to pause, stop or control how often it updates.
Pause, Stop, Hide is the WCAG rule for content that moves by itself – auto-advancing sliders, news tickers, scrolling banners, animated backgrounds and live feeds. If it starts on its own and keeps going, people need a control to pause, stop or hide it. Movement next to the text people want to read pulls their attention away and can make a page impossible to use.
What it means
WCAG 2.2.2 Pause, Stop, Hide is a Level A criterion in WCAG 2.2. It has two parts:
| Content | Applies when it … | Users must be able to … |
|---|---|---|
| Moving, blinking or scrolling | starts automatically, lasts more than five seconds and is shown in parallel with other content | pause, stop or hide it |
| Auto-updating (news, weather, stock prices) | starts automatically and is shown in parallel with other content | pause, stop, hide it or control how often it updates |
Auto-updating content has no five-second allowance. The exception in both parts: the movement or update is part of an activity where it is essential. W3C also notes that a loading animation can be essential when people cannot do anything else during that phase.
"Starts automatically" means the movement was not the direct result of the user activating something – content that begins moving on hover, on focus or when it scrolls into view also counts. W3C names who benefits: people with attention deficit disorders, cognitive and reading disabilities, people who cannot read moving text quickly or track moving objects, and screen reader users.
Examples
<section aria-roledescription="carousel" aria-label="Current offers">
<button type="button" class="carousel-toggle" aria-pressed="false">
Pause slideshow
</button>
<div class="slides">
<!-- slides that advance every 6 seconds -->
</div>
</section>The button stops the automatic rotation and keeps it stopped. It is a real <button>, so it works with the keyboard, has a visible name and can be placed first in the carousel. When the content has no essential reason to move, the simplest solution is to not start it automatically at all.
Add a visible pause button to auto-advancing sliders, stop decorative animations after five seconds, let people control the update rate of live feeds, and offer one control that pauses all motion on the page.
Rely on "pause on hover" as the only control, hide the pause button until the slider has focus, restart the movement after a few seconds, or let a news ticker scroll without any way to stop it.
How to check pause, stop, hide
Questions
Do carousels need a pause button?
Yes, if they advance automatically, run for more than five seconds and sit next to other content. Then people need a way to pause, stop or hide them. A carousel that only moves when someone clicks the arrows does not fall under 2.2.2.
Does the five-second rule apply to all moving content?
It applies to moving, blinking and scrolling content: if it stops by itself within five seconds, no control is needed. Auto-updating content such as a live news feed has no five-second allowance.
Do loading spinners fail pause, stop, hide?
Usually not. W3C says a preload animation can be essential when users cannot interact during that phase, and a loader that is the only content on screen is not shown in parallel with other content.
Are background videos covered?
Yes. A video that starts automatically, plays longer than five seconds next to other content and moves needs a pause or stop control. Sound that plays automatically for more than three seconds has its own rule, audio control (1.4.2).
How do I find moving content on many pages?
Start with your templates – header, homepage slider and footer. The free WCAG scanner helps with code-level issues such as unnamed buttons; whether movement can be paused needs a quick manual look.
Related terms
Timing Adjustable: Fair Time Limits and Timeouts
Timing Adjustable is WCAG success criterion 2.2.1. For each time limit set by the content, users can turn it off, adjust it to at least ten times the default or extend it after a warning – unless the limit is part of a real-time event, essential, or longer than 20 hours.
Read definition: Timing Adjustable: Fair Time Limits and TimeoutsKeyboard Navigation: WCAG 2.1.1 Explained
Keyboard navigation means that every function of a website can be reached and operated with a keyboard alone – usually with Tab, Shift+Tab, Enter, Space and the arrow keys. WCAG 2.1.1 requires it at Level A.
Read definition: Keyboard Navigation: WCAG 2.1.1 ExplainedScreen Reader: How It Reads Websites and What It Needs
A screen reader is assistive software that reads the content and controls of a screen aloud or outputs them on a braille display. It relies on the names, roles and states that a website exposes through the browser's accessibility tree.
Read definition: Screen Reader: How It Reads Websites and What It NeedsThree Flashes Rule: Avoid Seizure-Triggering Content
The three flashes rule is WCAG success criterion 2.3.1 Three Flashes or Below Threshold: web pages must not contain anything that flashes more than three times in any one-second period, unless the flashing stays below the general flash and red flash thresholds.
Read definition: Three Flashes Rule: Avoid Seizure-Triggering Content