Skip to content

VIS-007 Never let motion be the only sign of what happened

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

Rule

Never let an animation be the only way the interface says something. Whatever it means, such as an error, a change, a new item or that something is live, is also shown in text, an icon or a state that stays on screen when the motion has ended or is turned off.

Examples

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

Do: A wrong password shakes and the error text stays

Simulated in this example.

Sign in

Error: The email or password is not right. Check both and try again.

Press Sign in: the card shakes once, and the message at the password field stays. Turn on Reduced motion and press again: no shake, and the message is still there.

Don't: A shake with no message

Simulated in this example.

Sign in

Press Sign in: the card shakes and nothing else changes. Turn on Reduced motion and press again: nothing at all tells the person the password was wrong.

Do: The cart bounces, the count and a message say why

Simulated in this example.

Hillside Goods

Linen shirt, £45.00

Press Add to cart: the icon bounces, the count goes up and stays, and a status message is read out. With Reduced motion on there is no bounce, and the count and message remain.

Don't: A bounce is the only sign that an item was added

Simulated in this example.

Hillside Goods

Linen shirt, £45.00

Press Add to cart: the icon bounces and that is all. With Reduced motion on, a press changes nothing anyone can see or hear.

Why

Motion is easy to miss. A screen reader does not report it, a person who looked away for a second never sees it, and once it ends it is gone. When reduced motion is on, VIS-006 takes it away on purpose. If the shake was the only sign of a wrong password, or the bounce the only sign that something reached the cart, those people are left guessing. Motion is good at drawing the eye to a change; the change itself has to be there to find. No WCAG criterion says that motion must not be the only cue, and this rule does not claim one. Two criteria cover parts of it. Under WCAG 2.2, 1.1.1 Non-text Content, an animation that carries information needs a text alternative with the same purpose. Under 4.1.3 Status Messages, a change shown without moving focus must reach assistive technology, as FBK-004 describes. The idea mirrors VIS-003a, where colour must not be the only means of showing something.

Do

  • A sign-in form shakes its Card when the password is wrong. The error text "The email or password is not right. Check both and try again." also shows at the field with FormMessage, as FRM-002a and TXT-001a ask, and stays after the shake ends.
  • The cart icon in a shop's header bounces when an item is added. Its badge changes from 2 to 3 and stays at 3, and a status message "Added to cart" is announced (FBK-004).
  • A new row in an orders table flashes and fades. It also gets a "New" Badge that stays until the person leaves the page, so the row can still be found once the flash is over.
  • A file flies into the Archive folder in the sidebar. The folder's count goes up, the file is gone from the list, and the status message "Moved to Archive" is announced.
  • A pulsing dot in a meeting's header has the word Live beside it, and Recording when that is what it means.
  • Each step of a setup wizard slides in from the side. A step indicator "Step 2 of 4" above the form says where the person is, so the slide is not the only sign of going forward or back.
  • After a pointer drag in a reorderable list, the list's new order and the mark on the landing place (ACT-008) are the lasting form. A keyboard move is also announced in words, as ACT-007b asks.
  • An item removed with an AnimatePresence exit animation is gone from the list, and a status message names what was removed.
  • A highlight that should show under reduced motion is a class that stays, such as a tinted background, with only its fading in left to the animation.

Don't

  • Shake an Input with a custom animate-shake keyframe or x: [0, -8, 8, 0] when its value is wrong, and leave FormMessage out.
  • Replace the toast with a check mark that draws itself in a Lottie animation, with no text and no status message.
  • Use animate-ping on a dot as the only sign that a colleague is online.
  • Mark the row that just changed only with a keyframe that fades from yellow, so a blanket reduced-motion rule (animation: none) leaves no mark at all.

Exceptions

  • Polish on what is already said. Motion that adds nothing new, such as a dialog that fades in with its title, needs nothing more.
  • Motion that follows the hand. In a drag, the motion is feedback to the person's own movement. Where the item ends up is the lasting form.
  • Progress. A loader whose progress is also given as a value or in text is fine. An indeterminate one needs a name, as STA-001 asks.
  • Content shown on hover. Content that animates in on hover or focus follows TXT-002a and TXT-002b.

Verdict

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

Stances on VIS-007
SourceRoleStancePage
WCAG 2.2LawSupports1.1.1 Non-text Content
WCAG 2.2LawSupports4.1.3 Status Messages
Material DesignJudge No position
Apple Human Interface GuidelinesJudge SupportsMotion
Carbon Design SystemJudge SupportsMotion: overview
GOV.UK Design SystemExpert witness No position
Nielsen Norman GroupExpert witness SupportsThe Role of Animation and Motion in UX, by Page Laubheimer

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