Movement can make a website feel alive. A gentle fade, a sliding panel or a rotating banner can draw the eye to the right place. Used carelessly, the same effects can distract readers, slow them down or even make some people unwell. Good motion design is about knowing when to stop.
The Web Content Accessibility Guidelines, published by the W3C, set out clear rules for moving and flashing content. They are a practical checklist for any designer. This guide walks through the main ones in plain terms and shows how to apply them on a normal business site.
Why movement on a page matters
Our eyes are drawn to anything that moves. That is the reason designers use animation in the first place. It is also the reason a constantly moving banner makes it hard to read the text beside it. Readers who struggle to concentrate feel this the most.
The W3C notes that moving or blinking content can be hard to ignore for people with attention deficit disorders and cognitive disabilities. It can also cause trouble for people who read slowly and for screen reader users. Then there are people with vestibular disorders, which affect the inner ear and balance. For them, large movement on screen can bring on dizziness, nausea and headaches.
Moving content needs a pause button
The rule called Pause, Stop, Hide is success criterion 2.2.2 at Level A. It covers content that moves, blinks or scrolls on its own. If that movement starts automatically, lasts more than five seconds and sits alongside other content, people need a way to pause, stop or hide it. Common examples include image sliders, scrolling news tickers and background video.
The W3C guidance on pausing moving content explains why five seconds was chosen. It is long enough to catch attention but short enough that people can simply wait it out. The guidance also counts content that starts when someone hovers, focuses or scrolls it into view as starting automatically. So a hero animation triggered by scrolling still needs a control.
Automatic carousels and live updates
Content that updates itself on a timer is treated a little differently. Think of rotating testimonials, news feeds or slides that change every few seconds. The W3C gives no five second allowance here, because updating briefly and then stopping makes little sense. People need a way to pause, stop or hide these updates, or to control how often they happen.
A pause control has to be a real control. The W3C says a carousel that only pauses while the mouse or keyboard focus rests on it does not count. That approach makes the page hard to use. A visible pause button that stays paused until the reader presses play again is the simple fix.
Exceptions you can rely on
There are sensible exceptions. A loading animation shown on its own does not need a pause button, because it is not running beside other content. Movement that is part of the activity itself is also allowed, such as a game where removing the motion would change what the content is. Most marketing sliders do not fall into these groups.
Keep flashing below the safe limit
Flashing content is the most serious risk. Success criterion 2.3.1 is called Three Flashes or Below Threshold, and it is also Level A. It says a page should not contain anything that flashes more than three times in any one second. The other way to pass is to keep the flash below the general flash and red flash thresholds.
The W3C explanation of the three flashes rule states that flashing content can trigger seizures in people with photosensitive seizure disorders. People are more sensitive to red flashing, which is why red has its own test. Small flashing areas can pass the threshold test, and the W3C uses a reference size of 341 by 256 CSS pixels. The easiest approach is to avoid rapid flashing altogether.
This matters most with video and animated graphics. A promotional clip with strobe effects or fast cuts between bright and dark frames can break the rule. Check any video before it goes on a page, including clips supplied by others. If you are unsure, cut the flashing section or choose another clip.
Animation people trigger themselves
Some animation starts because a person did something. They scroll, click a button or open a menu, and something slides, zooms or spins. Success criterion 2.3.3, Animation from Interactions, says this kind of motion should be able to be switched off. It sits at Level AAA, the highest level, so many sites treat it as good practice rather than a strict target.
The W3C uses parallax scrolling as an example. That is the effect where background layers move at a different speed from the page as you scroll. It looks smart on a design mockup. For someone with a vestibular disorder it can be enough to make them close the tab.
The W3C definition of motion animation is fairly narrow. It means adding steps between two states to give a sense of movement or smooth change. An element that appears instantly is not animated. Changes in colour or opacity that do not change an element’s size, shape or position are also outside the definition.
Respecting the reduce motion setting
Operating systems and browsers can offer a setting to reduce motion. The W3C advises designers to take advantage of it. Websites can read this setting through the CSS media query called prefers-reduced-motion. The W3C lists it as a sufficient technique for stopping unwanted motion.
In practice you write your animations as normal, then add a block of CSS that turns them off or tones them down when the setting is on. A slide in effect might become a quick fade, or the element might simply appear. If you are new to style sheets, our introduction to CSS covers how rules and media queries fit together. The same setting can also be read in JavaScript for effects built with scripts.
A small on page switch is another option. Some sites add a toggle that lets visitors turn off all decorative animation. The W3C lists this as a sufficient technique too. It helps people who have not found the setting on their device.
Practical habits for designers
Good motion design starts with asking whether the movement helps the reader. If an animation only exists to look clever, it can usually go. These habits keep things under control on most projects:
- Avoid sliders that rotate on their own, or give them a clear pause button.
- Keep background video short, silent and easy to stop.
- Never use strobe or rapid flashing effects.
- Add a reduced motion version of every decorative animation.
- Test each page with the reduce motion setting switched on.
There is a speed benefit as well. Heavy animation libraries and large background videos add weight to a page. Our guide on how to make your website faster explains why lighter pages load better on phones. Cutting effects that do not earn their place often helps both comfort and speed.
Motion also affects how long people stay. A visitor who feels dizzy or distracted is likely to leave quickly. If you are trying to reduce your WordPress bounce rate, calmer pages are worth testing. Simple layouts let people find what they came for.
Finally, keep accessibility in the brief from the start of a project. Retrofitting a pause button onto a finished slider is harder than planning it in. Designers who understand these rules are better placed to win and keep clients. Our piece on building a career as a web designer covers more of the skills clients look for.
Frequently asked questions
Do I have to remove my homepage slider?
Not necessarily. If it rotates on its own for more than five seconds, add a pause button that people can find and use. A static hero image is a simpler alternative.
Is background video allowed?
Yes, as long as people can pause, stop or hide it when it plays for more than five seconds beside other content. Keep it free of rapid flashing. A reduced motion version is a good extra step.
What is the three flashes rule?
It is WCAG success criterion 2.3.1. Pages should not contain anything that flashes more than three times in any one second, unless the flash is below set thresholds. It exists to protect people with photosensitive seizure disorders.
Does reduced motion mean no animation at all?
No. It means removing or softening movement that is not needed. Quick fades and simple colour changes are usually fine. Large sliding, zooming and parallax effects are the ones to switch off.
