Ronan Gantzos Start a project

Web Design

Scroll animations: when motion helps a small-business site and when it hurts

Motion can guide a visitor's eye or push them away. Here's where I use it, where I cut it, and how I respect the reduced-motion setting on phones.

Open a handful of small-business sites on your phone and you'll see the same effect over and over. The headline fades in, then a photo slides up, then the hours and prices drift in from the side, one after another. It looks polished in a design mockup. On a phone with a weak signal, it can feel like the page is holding back the one thing you came for.

I'm not against motion. I use it on almost every site I build. I just make it earn its place.

Where motion helps, and where it hurts

Motion helps when it tells the visitor something:

  • It confirms an action. A cart icon that bumps when you add an item, or a button that visibly presses.
  • It shows where something came from. A menu that slides in from the side you tapped.
  • It points to one thing, once. A gentle cue on the booking button, not on every paragraph.

It hurts when it gets between people and the content. Scroll-reveal effects usually hide text and images until they come into view. If the script loads slowly or breaks, visitors see blank space. People who scroll fast get ahead of the animation and land on empty sections. And animation libraries add JavaScript that a phone has to download and run before the page feels ready.

Some effects cause a different problem. Parallax backgrounds, big zooms and long slides can make people with vestibular conditions dizzy or nauseous. That isn't a rare group. In one national survey, 35.4% of US adults aged 40 and older had vestibular dysfunction. For a business whose customers skew older, that's a real share of the people visiting.

How I respect reduced motion

Both iPhone and Android let people turn down animation in their accessibility settings. Browsers pass that choice to websites through a CSS feature called `prefers-reduced-motion`, which MDN notes has worked across browsers since January 2020.

My rule is to build every page so it works fully with no animation at all, then add motion only for people who haven't asked to reduce it:

```css @media (prefers-reduced-motion: no-preference) { .reveal { animation: fade-up 0.4s ease-out both; } } ```

If the setting is on, the content just appears. For animations driven by JavaScript, I check the same setting before starting them. Reduced doesn't have to mean none: a quick fade with no movement is usually fine.

If you want to test your own site, turn on Reduce Motion on your phone, load your homepage, then scroll fast. If anything is missing, slow or makes you queasy, the motion is in the way.

Good motion follows the visitor. It should never make them wait.

Ronan Gantzos runs cross country and track at Gonzaga University and builds websites and web apps for businesses of every size. Start a project.

More from the journal

Business

Don't end your sale on Friday night: plan all of Cyber Week

Business

Chargebacks come in January, so set up your fraud tools before Black Friday

Web Design

Shopify's Canvas redesigns your store by chat. What I wouldn't let it touch

Contact

Let’s build
something.