Skip to content
easeweb
Search topics

Tickers, carousels and animations that can't be paused

An announcement bar scrolls its messages without end, or a carousel swaps them every few seconds, and only holding a mouse pointer over it stops it.

WCAG 2.2
SC 2.2.2A
Required by
Section 508 · EN 301 549 (EU)
Broken animation: ticker 30s linear infinite;
The accessibility problem illustrated: Cognitive:How do I make it stop?
01

The problem

People who can't read moving text, or can't look away from it, have no way to stop the scrolling announcements without a mouse

02

Try it

Try to stop the moving announcements, first with the mouse, then with Tab

  • Broken 1: hover over the bar, then press Tab. Hovering pauses it only while the pointer stays there, and Tab finds nothing that stops it. "Stop demo" is the Learn page’s own button, not the shop’s.

  • Broken 2: the slider version. Try its arrows: they change the message, but the timer carries on.

  • Apply a fix. Try again with the mouse and with Tab. Does anything still move that you can’t stop?

Broken Can you fix this?

  • Free delivery on orders over $50
  • Autumn sale: up to 30% off until 31 October
  • New: linen shirts in five colours
Kinari Linen

Linen for every season

Washed soft, woven to last, and made in small runs.

Shop shirts

A recreated demo. The broken version is intentionally inaccessible.

03

The fix

Keep the messages still, or give people a way to stop them

Before

A ticker that only a mouse can pause

<div class="ticker">  <div class="ticker-track">    <ul>      <li>Free delivery on orders over $50</li>      <li>Autumn sale: up to 30% off until 31 October</li>      <li>New: linen shirts in five colours</li>    </ul>    <!-- The same three messages again, so the loop has no gap. -->    <ul aria-hidden="true">…</ul>  </div></div>
What is wrong3 points
  • The bar never stops moving. The animation starts as the page loads and runs infinite, far past the five seconds that movement with no way to stop it may last.
  • Keyboard, touch and voice users can't stop it. The :hover rule is the only pause, and only a mouse can hover.
  • A mouse user can't keep it still either. The bar moves on as soon as the pointer leaves.
After

The messages stay still

<ul class="notices">  <li>Free delivery on orders over $50</li>  <li>Autumn sale: up to 30% off until 31 October</li>  <li>New: linen shirts in five colours</li></ul>
How it is fixed2 steps
  1. Write the messages once, in a list that doesn't move. Nothing moves, so 2.2.2 has nothing to ask for, nobody has to find a control, and there is no hidden copy to keep in step.
  2. Let them wrap onto a second or third line on a narrow screen instead of running off the edge.

This fixes both Befores and passes 2.2.2. On a phone the wrapping makes the bar taller, so keep it to the messages that matter.

04

Design ideas

Movement can stay, as long as it stops

Five ways to draw content that moves by itself: the strips, rotating quotes and entrances many sites ship. Watch each, pressing Replay to see it again, then try to stop it with the keyboard: three stay still, stop by themselves or let you stop them, and two carry on with nothing but a mouse to stop them, or nothing at all.

In the design file

  • Draw the section still first, with everything in it in view at once.
  • If it moves, draw a Pause button at its start, at least 24 by 24 pixels, and the section once paused.
  • Write how long any movement runs, either under five seconds or until someone presses Pause.
  • Draw the page for people who turn motion off, with nothing moving.

Passes

    Everything in one still row Whatever would have scrolled past, such as logos, products or short messages, set out in a row that wraps on a phone. Nothing moves, so 2.2.2 asks nothing, and everything is there to read for as long as anyone likes. Show the few that matter rather than looping twenty.
    An entrance that plays once The items slide in from the right as the section comes into view, each 60ms after the last, and rest within a second. The arrival keeps the sense of a lively section; what passes is that it ends long before five seconds and never loops.
    A moving strip with a Pause pill before it For a design built around the movement: a 32px pill with the word “Pause”, not only an icon, at the start of the strip and first in the Tab order. Pressed, it lays everything out still and reads “Play”. This sample also stops by itself after five seconds; a real strip runs until Pause.

Fails

    • “Arrived in two days.”
    • “Easy to set up.”
    • “Quick, kind replies.”
    • “Exactly as pictured.”
    • “Works well on my phone.”
    A strip that glides on, pausing only on hoverWCAG 2.2.2 The strip many sites ship for logos, reviews or products: gliding sideways without end, faded at both ends, paused only while the pointer rests on it. Nothing else stops it, so it pulls at the eye beside whatever people are reading for as long as the page is open. This sample stops after five seconds; the pattern never does.
  • “Arrived in two days.”
    A quote that fades to the nextWCAG 2.2.2 One quote that fades to the next every 2 seconds, quieter than a moving strip and easy to take for still. It is still a change that starts by itself and carries on beside the content, so it needs a way to stop it like any movement. This sample stops after two changes; the pattern never does.
05

Verify the fix

5 checks.

Test with: Keyboard, Mouse, Reduced motion, Zoom, Screen reader

0 of 5 checked

Record the OS, browser and assistive-technology versions, the build, the date, and the actual result of each step. Repeat after the bar, its messages or its library change.

Limits

This is a starting pattern, not a guarantee for every application. It covers movement only: flashing, more than three times in any one second, is a separate check under 2.3.1, made with a flash analysis tool rather than by eye. Whether the movement is essential, and whether the page is calm enough once it is stopped, still needs a person to judge.

This is a recreated teaching example, not a finding about a named client. The code is a starting pattern: test it in your own product. No completed assistive-technology test is claimed here.

EaseWeb service

Fixed it? Keep it from coming back.

I turn guides like this one into rules your coding agents follow and checks your CI runs. Then I retest by hand with a keyboard and screen readers, periodically.

See the service