skip to content

A public library's auto-rotating homepage hero carousel advances every five seconds; what must its design include to meet WCAG 2.2 SC 2.2.2 Pause, Stop, Hide?

level: middleimportance: must knowfreq 45%

answer

  1. starts by itself, beside other content
  2. a persistent control, not a hover
  3. stop when focus arrives
  4. control first, before the slides
  5. label says what it will do

basics

~20 s

A visible control to stop and restart rotation, placed before the slides in focus order, plus rotation that stops when keyboard focus enters and while a pointer hovers — stopping only while hovered or focused is not a pause mechanism.

solid answer

~50 s

WCAG 2.2 SC **2.2.2 Pause, Stop, Hide** (Level A) requires a way to pause, stop or hide content that starts automatically and sits in parallel with other content. An auto-advancing carousel is exactly that, and the Understanding document counts auto-advancing presentations as **auto-updating** content, for which there is no five-second exception. The WAI-ARIA Authoring Practices carousel pattern gives the design: a **rotation control** that stops and restarts rotation, with a label that says what it will do ('Stop slide rotation' / 'Start slide rotation'), placed **first** in the carousel's Tab sequence; rotation that **stops when keyboard focus enters** the carousel and does not restart unless the user asks; rotation that stops while a pointer **hovers**; and previous and next controls. Pausing only while hovered or focused does not satisfy 2.2.2 on its own, because rotation resumes the moment the user moves on.

go deeper

for a junior

Recall that an auto-rotating carousel needs a visible control to stop it, and that WCAG 2.2 SC 2.2.2 Pause, Stop, Hide is Level A.

for a middle

Explain the full contract: a labelled stop and start control first in focus order, stopping on focus and hover, and why hover or focus pausing alone is not a pause mechanism.

for a senior

Audit a live carousel: find the missing control, the resuming rotation, the off-screen slides that screen readers still read, and the touch users who can never hover.

for a principal

Decide whether auto-rotation should be allowed in the system at all, given the extra accessibility contract every team must implement to ship one.

## What WCAG 2.2.2 asks for **SC 2.2.2 Pause, Stop, Hide** is a **Level A** criterion in WCAG 2.2. It has two parts: - **Moving, blinking or scrolling** content that starts automatically, lasts **more than five seconds** and is presented **in parallel with other content** needs a mechanism to pause, stop or hide it, unless the movement is essential. - **Auto-updating** content that starts automatically and is presented in parallel with other content needs a mechanism to pause, stop or hide it, or to control how often it updates, unless essential. The W3C Understanding document lists **auto-advancing presentations** among auto-updating content and notes there is **no five-second exception** for auto-updating content. A homepage hero carousel that advances on a timer sits beside the rest of the page, starts without the user asking and keeps changing, so it needs a real pause mechanism. The slide transition animation can also count as movement, which points the same way. ## Why a hover or focus pause is not enough by itself The Understanding document is explicit: an animation that stops only while the user has focus on it, and restarts when focus moves away, is **not** a mechanism for the user to pause, because it ties up the user to keep it still. Hover pausing has the same shape. Stopping on hover and focus is still good practice — it keeps a slide still while someone is reading or aiming at it — but it supplements the control; it does not replace it. Touch screens have no hover at all, which is another reason the control must exist. ## The design, from the Authoring Practices carousel pattern | Part | Requirement | |---|---| | **Rotation control** | A button that stops and restarts automatic rotation | | **Its label** | Changes to match the action it will perform: 'Stop slide rotation' or 'Start slide rotation' | | **Its position** | First element in the carousel's Tab sequence, before the rotating content, so it is easy to find | | **Keyboard focus** | Rotation stops when any element in the carousel receives focus, and does not resume unless the user activates the rotation control | | **Pointer hover** | Rotation stops while the pointer is over the carousel | | **Previous / next controls** | Buttons that show the previous or next slide without moving focus, so they can be pressed repeatedly | | **Slide picker** (optional) | Controls to choose a specific slide, such as a set of tabs or buttons | | **Slide names** | Each slide has a name; where no unique name exists, a position such as '3 of 5' | The guide explains why the stop control matters beyond keyboards: it is particularly important for assistive technologies operating in a mode that moves **neither keyboard focus nor the pointer**, such as a screen reader reading through the page — those users would never trigger the focus or hover pause. ## Worked example: the library's hero carousel The library homepage rotates five slides: summer reading, a new branch opening, e-book lending, an author talk and holiday hours. A compliant spec: 1. Places a **'Stop slide rotation'** button at the start of the carousel, visible at all times, which becomes **'Start slide rotation'** when pressed. 2. Stops rotation when any control inside the carousel gets keyboard focus, and keeps it stopped until the user restarts it. 3. Stops rotation while the pointer hovers over the carousel. 4. Gives previous and next buttons and names each slide, such as 'Summer reading challenge'. 5. Considers stopping after one full cycle, which reduces how long moving content competes with the rest of the page. ## What the carousel does for screen-reader users The Authoring Practices warn that when slides rotate unnoticed, a screen-reader user may read an element on slide 1, move to the next element, and hear something from slide 2 with no idea the context changed. Hidden slides must be genuinely hidden from assistive technology, not merely moved off-screen, and announcing each automatic rotation is avoided — the guide's optional live-region setting is off while rotating and polite only when rotation is stopped.

  • Does rotating only once through all slides and then stopping remove the need for a pause control?
    Not reliably. Auto-updating content has no five-second exception, so a carousel that advances slides still needs a mechanism unless its updating is essential. Stopping after one cycle shortens the distraction and is good practice, but the safe design keeps the stop control and avoids arguing about whether a short run is exempt.
  • Why does the rotation control change its label instead of showing a pressed state?
    The Authoring Practices carousel pattern uses a label that states the action the button will perform — 'Stop slide rotation' or 'Start slide rotation'. A changing label communicates both that the content moves on its own and whether it is currently doing so, so no separate pressed state is specified for that control.

saying these in an interview costs you the question

  • Pausing while the pointer hovers is enough to satisfy WCAG 2.2.2
  • The pause control can sit after the slides, at the end of the carousel
  • Auto-advancing slides are exempt if each one shows for five seconds
  • Rotation can resume as soon as keyboard focus leaves the carousel
  • SC 2.2.2 is a Level AAA nice-to-have