Motion that explains what just happened makes a site easier to use. Motion that makes people wait, or makes them feel unwell, does the opposite. Here’s how to tell them apart.
In this article 7 sections
Good website animation explains something: that a menu opened, that a button was pressed, that a form was sent, or where to look next. Bad animation makes people wait: intro screens, scroll effects that take over the page, slow fades and text flying in from every side. The rule of thumb is simple. If motion helps someone understand or do something, keep it short. If it’s only decoration, it’s probably costing you more than it gives.
Seven website design mistakes gives the short version: use motion only where it helps, keep it quick, and respect the reduce motion setting. This article goes further: which motion helps, which hurts, what it does to speed and layout on phones, and how to respect people who need less of it.
Motion that helps
Showing that something changed
When a menu slides out from the button you tapped, or a question in an FAQ expands to show its answer, the movement tells you what happened and where the new content came from. Without it, content just appears or disappears, and people can lose their place.
Good examples:
- A mobile menu that slides in from the side its button is on
- An accordion that expands smoothly instead of jumping open
- An item that visibly moves into a cart or a list
- A step indicator that moves forward in a multi-step quote form
Modern browsers can also animate between states, and between pages, with view transitions. The web design trends worth following into 2027 explains where those stand.
Giving feedback
People need to know their tap worked. A button that changes slightly when pressed, a spinner while a form sends, and a tick when it’s done all help prevent the double tap, the repeated form submission and the “did that go through?” phone call. This kind of motion is small, quick and almost invisible, which is exactly right.
Guiding the eye, once
A gentle highlight on a new message, or a small nudge on the main button after someone has read your prices, can point attention to the one thing that matters. The key is once. Anything that loops forever stops being a signal and becomes noise.
Motion that gets in the way
Intros and loading screens
A logo animation or loading screen before the page appears makes every visitor wait, every time. It can also hurt how fast your page is measured. Google’s Largest Contentful Paint (LCP) measures how long the main content takes to appear, aims for 2.5 seconds or less, and doesn’t count elements with an opacity of 0(opens in a new tab) because they’re invisible. A headline that starts invisible and slowly fades in isn’t counted until it actually shows up.
Scroll-jacking
Scroll-jacking is when a site takes over scrolling: the page moves at a different speed from your finger, snaps a whole screen at a time, or turns vertical scrolling into sideways movement. It breaks what people expect, makes them lose their place, and behaves differently on phones, trackpads and mouse wheels. The W3C names parallax scrolling(opens in a new tab), where backgrounds move at a different rate from the content in front, as a common example of non-essential motion that can make some people unwell.
Slow fades and everything flying in
Content that fades or slides in as you scroll looks polished in a demo. On a real visit it means scrolling fast and seeing blank space, then waiting for each block to arrive before you can read it. A small reveal on one or two sections is fine. Every paragraph, image and button arriving separately is not.
Looping, autoplaying and flashing
Two WCAG rules apply here, both at the most basic level, Level A:
- Anything that moves by itself, lasts more than five seconds and sits alongside other content needs a way to pause, stop or hide it(opens in a new tab). That includes auto-rotating sliders and looping animations.
- Nothing should flash more than three times a second(opens in a new tab). Flashing content can cause migraines, dizziness, nausea and seizures.
Performance on phones
Animation that runs smoothly on a new laptop can stutter on a cheap phone. Google’s web.dev guide to animation recommends sticking to opacity and transform(opens in a new tab), which the browser can handle cheaply, and avoiding properties that trigger layout or paint, like position, width, height and shadows, unless there’s no other way.
The other cost is JavaScript. Large animation libraries take time to download and run, and while the phone is busy running animation code, it responds more slowly to taps. That responsiveness is measured by Interaction to Next Paint, where Google treats 200 milliseconds or less(opens in a new tab) as good. Core Web Vitals explained covers all three measures in plain English.
Reduced motion and vestibular disorders
For some people, motion on screen isn’t just annoying. The W3C explains that vestibular (inner ear) disorder reactions(opens in a new tab) to motion include dizziness, nausea and headaches, and that severe reactions can take a person time in bed to recover from.
Phones and computers have a setting for this, and websites can read it through a feature called prefers-reduced-motion, which has worked in all major browsers since January 2020(opens in a new tab). Where people turn it on:
| Device | Setting |
|---|---|
| iPhone and iPad | Settings > Accessibility > Motion > Reduce Motion |
| Android | Settings > Accessibility > Color and motion > Remove animations(opens in a new tab) |
| Windows 11 | Settings > Accessibility > Visual effects > Animation effects |
| Mac | System Settings > Accessibility, then Reduce motion (under Display or Motion, depending on the version) |
The paths for Apple devices and Windows come from MDN’s reference page. Menu names can differ by device and version.
WCAG 2.3.3, Animation from Interactions, says motion triggered by interaction can be disabled(opens in a new tab) unless it’s essential. It’s a Level AAA criterion, the highest level, so it goes beyond the Level AA most guidelines ask for. It’s still easy to meet: when the setting is on, swap slides and zooms for simple fades or instant changes. The W3C’s definition of motion animation doesn’t include plain changes in colour or opacity, so a quick fade is a reasonable replacement.
Try it yourself: turn the setting on, reload your site, and see what still moves. More about accessibility in general is in website accessibility basics.
Animation and layout shift
Layout shift is when content jumps while you’re reading or about to tap. Google’s Cumulative Layout Shift measure aims for 0.1 or less(opens in a new tab), and animation is a common cause.
The same web.dev guidance explains that animating with transform lets an element move or grow without triggering layout shifts, while animating height, width or position pushes everything around it. It also notes that shifts within half a second of a tap, click or key press are excluded, because the person caused them. Scrolling doesn’t count as that kind of input, so sections that expand or slide in as someone scrolls, and push the content below them, still count against you.
Banners that drop down from the top after the page has loaded are the classic case. Reserve the space from the start, or show them in a way that sits over the page rather than pushing it.
A quick checklist
- Every animation explains a change, confirms an action or guides the eye once
- Small interface movements are short, a fraction of a second, so nobody waits for them
- People can read and tap straight away, without waiting for anything to finish
- No intro screen, no scroll-jacking, no content hidden until it fades in
- Anything moving for more than five seconds can be paused
- Nothing flashes more than three times a second
- Animations use transform and opacity, not position or size
- Nothing shifts the layout as people scroll
- The site respects the reduce motion setting, and you’ve tested it with the setting on
- You’ve tried it on an older or cheaper phone, not just your own
Frequently asked questions
Will animation make my website look more modern?
A little, used well. Quick, purposeful motion makes a site feel responsive and finished. Heavy motion tends to date fast and makes a site feel slower. Clear content, real photos and fast loading do more for how modern a site feels than any effect.
Do animations slow down a website?
They can. Animation libraries add code that has to download and run, intro screens delay what people see, and content that fades in late can delay your Largest Contentful Paint. Small CSS animations on transform and opacity cost very little. Why is my website slow? covers the other usual causes.
How do I check whether my site respects reduced motion?
Turn on Reduce Motion on your iPhone, or Remove animations on Android, then reload your site. Sliding, zooming and parallax effects should stop or become simple fades. If everything still moves exactly as before, your site isn’t reading the setting, and it’s a quick fix for whoever maintains it.