Skip to content

VIS-006 Swap movement for a fade or no motion when the person asks for reduced motion

Level
Rule
Verdict
Unanimous (3 of 3)
Status
proposed, version 1.0.0

Rule

When the person's device or browser asks for reduced motion, replace movement across the screen, such as sliding, zooming, scaling, parallax and bouncing, with a short fade or an instant change. Stop motion that only decorates and show its final state. Keep motion that is essential.

Examples

Live examples built with Justified's components. Try them with the mouse, the keyboard or a screen reader.

Do: The panel fades in place when motion is reduced

Simulated in this example.

Orders

48 orders, last 30 days.

Filters

Status: shipped

Region: north

Press Filters twice to close and open the panel: it slides in from the edge. Turn on Reduced motion and it fades where it stands. If your browser already asks for less motion, the switch is on.

Don't: A panel that slides and zooms whatever the setting

Simulated in this example.

Orders

48 orders, last 30 days.

Filters

Status: shipped

Region: north

The panel slides and zooms on each press, and turning on Reduced motion changes nothing. It moves once per press and never loops.

Do: A rolling number shows its end state at once

Simulated in this example.

Raised this month

£1,248

Press Show total again: the number rolls up for a second. With Reduced motion on, the final number is there at once.

Don't: A card that waits for an animation that is off

Simulated in this example.

Order summary

3 items, delivery on 14 March.

Press Summary twice: the card starts invisible and a fade reveals it. Turn on Reduced motionand press twice again: the fade is off, so the card never appears. If your browser already asks for less motion, it never appears after a press.

Why

For some people, things that slide, zoom or drift on a screen bring on dizziness, nausea or a migraine that can last the rest of the day. They tell their system once, with a setting such as Reduce Motion on Apple devices or the animation switch in Windows and Android, and the browser passes that on to every page as prefers-reduced-motion: reduce. A page that ignores it makes them pay for its effects. Asking for less motion is not asking for none: a fade in place does not move anything across the view, and it still shows that something changed, which a hard cut can hide. No Level AA criterion requires this, so the rule rests on the judges. WCAG 2.2, 2.3.3 Animation from Interactions asks for it at Level AAA. That is a further aim, not a requirement here. A control that lets everyone pause moving content is VIS-005, and keeping meaning when motion goes is VIS-007.

Do

  • Put one rule in the base stylesheet under @media (prefers-reduced-motion: reduce) that turns off movement and keeps opacity. With tw-animate-css, reset its enter and exit variables rather than setting transform: none or animation: none, which would also stop transforms the layout needs or remove the fades: --tw-enter-translate-x, --tw-enter-translate-y and --tw-enter-rotate to 0, --tw-enter-scale to 1, and the same for the --tw-exit-* set. shadcn's Dialog, Popover and DropdownMenu then fade in place, and a Sheet fades in instead of sliding the width of the screen.
  • In your own components, pair every movement class from tw-animate-css or tailwindcss-animate with a reduced form, for example animate-in fade-in motion-safe:slide-in-from-bottom-4, so the panel fades in place when the setting is on.
  • With framer-motion or Motion, wrap the app in <MotionConfig reducedMotion="user">. It then drops transform and layout animation and keeps fades and colour changes. Use useReducedMotion() where you build your own variants, such as an AnimatePresence page transition that slides in with initial={{ x: 300 }}.
  • Turn off parallax made with useScroll and useTransform, and slide-ups on whileInView. The content is simply in place.
  • Stop decorative loops, floating cards, animated gradients and digits that roll up to a number, and show the end state at once.
  • Our own reading, since no judge names it: make scrolling instant under reduced motion. Write motion-safe:scroll-smooth instead of scroll-smooth, and pass behavior: "auto" to scrollIntoView when the setting is on.
  • Read the setting with a listener, not once on mount, so a change takes effect without a reload. On the server the setting is unknown, so start from the reduced form or from CSS, not from a guess in script.
  • End every reduced animation on its final, visible state. A card that waits at opacity-0 for a keyframe must still appear when the keyframe is off.
  • Keep essential motion, in a calmer form if you can. A loader still shows that work goes on, as STA-001 asks; a slower spin or a static bar with "Loading invoices" is fine. A video the person chose to play still plays.
  • Check that a Dialog still closes and leaves the page when its exit animation is cut, and that focus moves as DLG-006 asks without waiting for any animation.

Don't

  • Use animate-in slide-in-from-right zoom-in-95 in a custom panel with no motion-reduce: or motion-safe: variant.
  • Leave MotionConfig reducedMotion="user" out, so every motion.div in the app slides and springs whatever the person has set.
  • Set scroll-smooth on html and smooth-scroll to every anchor for everyone.
  • Paste a snippet that sets every duration to almost zero, so the fades the setting allows go too and content jumps.
  • Hide content with opacity-0 until an animation that is now off reveals it, so it never appears.
  • Treat the setting as the pause control for content that moves by itself. That control is VIS-005, for everyone.

Exceptions

  • Motion the person drives. Content that moves because the person scrolls, or a card that follows their finger or pointer in a drag, is their own movement and stays. Motion added on top of scrolling, such as parallax, is not.
  • Essential motion. Motion that is the content itself, such as a video the person started or an animation being edited, stays.
  • A product's own switch. A motion setting inside the product, on top of the system one, is welcome but not required by this rule.

Verdict

Unanimous (3 of 3). Only the judges decide; the expert witnesses are shown but do not vote. How verdicts work

Stances on VIS-006
SourceRoleStancePage
WCAG 2.2Law– No criterion applies
Material DesignJudge SupportsTransitions: applying transitions
Carousel: accessibility
Apple Human Interface GuidelinesJudge SupportsAccessibility
Motion
Carbon Design SystemJudge SupportsMotion: overview
GOV.UK Design SystemExpert witness No position
Nielsen Norman GroupExpert witness SupportsExecuting UX Animations: Duration and Motion Characteristics, by Page Laubheimer
What Parallax Lacks, by Katie Sherwin

Each stance links to the page it rests on, read on the date in the source register. This page never repeats what a source says; read the source itself.

History

  • Version 1.0.0, : First version.

Last checked against the other rules for conflicts on .

More in Colour and motion: 11 rules and 0 guidelines · All rules