# Pause, Stop, Hide: Control Moving Content

Source: https://allyway.ai/glossary/pause-stop-hide

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](https://allyway.ai/glossary/accessible-carousel), 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](https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html) is a Level A criterion in [WCAG 2.2](https://allyway.ai/regulations/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](https://allyway.ai/glossary/screen-reader) users.

> **Warning:** > **Stopping only while focused does not count**
> An animation that pauses only while the pointer or focus is on it does not meet 2.2.2. The control must keep the content stopped until the user asks for it to restart. Flashing more than three times per second is a separate seizure risk – see [three flashes](https://allyway.ai/glossary/three-flashes) – covered by guideline 2.3.

## Examples

```html title="Example"
<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.

**Do:** Do

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.

**Don't:** Don't

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

Q: Do carousels need a pause button?
A: 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.

Q: Does the five-second rule apply to all moving content?
A: 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.

Q: Do loading spinners fail pause, stop, hide?
A: 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.

Q: Are background videos covered?
A: 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](https://allyway.ai/glossary/audio-control) (1.4.2).

Q: How do I find moving content on many pages?
A: Start with your templates – header, homepage slider and footer. The [free WCAG scanner](https://allyway.ai/free-wcag-accessibility-scanner-for-websites) helps with code-level issues such as unnamed buttons; whether movement can be paused needs a quick manual look.
