WordPress Gutenberg Animations: Mind Accessibility!

|

|

Adding animations has become easy in WordPress Gutenberg, but be careful: they must be possible to turn off and should follow the visitor’s system setting.



Animations are a great way to make a WordPress site more lively and engaging. With a simple plugin for Gutenberg, it’s now easy to add polished visual effects without writing a single line of code.

But be careful: when poorly configured, animations can harm website accessibility. And a site that isn’t accessible doesn’t just shut out visitors, it also loses potential customers.

Which plugin should you use to animate your Gutenberg blocks?

For a simple, effective and free extension, I wholeheartedly recommend the Animations for Blocks plugin.

Why?

  • Direct integration into the Gutenberg editor.
  • A wide range of effects (fade, slide, zoom, bounce…).
  • Intuitive block-by-block settings.
  • No heavy dependencies and no major performance impact.
  • Excellent support, with an active and attentive developer.

In short: it’s the ideal extension for adding WordPress animations in Gutenberg quickly and cleanly.

For those still using builders like Elementor, which are incompatible with Gutenberg blogs, I’ll be blunt: it’s time to rethink your approach, drop your preconceptions and turn to the future of WordPress with Gutenberg.

Warning: animations can harm accessibility

Modern systems (Windows, macOS, Linux, iOS, Android…) have an accessibility option to reduce or remove animations.

When the option is enabled, the browser sends this CSS directive:

prefers-reduced-motion: reduce

👉 In practice, this means your site must adapt its behavior and remove animations if the user asks for it.

Why does it matter?

Because some people can experience physical discomfort:

  • dizziness,
  • nausea,
  • migraines,
  • or disorientation.

Ignoring this rule puts them through a miserable time and makes your site unusable for them.

Is WordPress compatible with reduced motion?

WordPress natively supports the reduced motion feature.

In particular, the “Cover” block, which can be set to a “Fixed background”, can cause significant discomfort for the people affected, by creating a mismatch between the background and the overlaid text. When the user’s accessibility option is on, the background is no longer fixed and scrolls uniformly with the rest of the text.

But many WordPress plugins still don’t follow the directive.

So how can you get the best of both worlds, with beautiful animations that are turned off for people who can’t tolerate them?

Good news: Animations for Blocks is now compliant ✅

Since its creation, the Animations for Blocks plugin did not respect this accessibility directive. Animations kept playing even when the user had asked for them to be removed.

But that was before LRob stepped in! I spotted the problem and contacted the developer to suggest a fix. His reply?

“That’s a fair point, thank you!
Added in version 1.2.3.”

Ska-Dev – WordPress.org Forum

Since version 1.2.3, Animations for Blocks fully meets accessibility standards.

That’s the whole advantage of using a plugin backed by the WordPress community: responsive, attentive, and constantly improving.

Some recommend going even further with an “opt-out” feature for people using a public computer. That option isn’t available yet, but it could be custom-developed if needed.

In summary:

  • Always check that your animations respect the prefers-reduced-motion directive. If they don’t, let the developers know or switch to another extension.
  • To add WordPress animations in Gutenberg, the Animations for Blocks plugin is an excellent choice. The plugin has been accessibility-friendly since version 1.2.3 (and we’re proud to have contributed to it 😉).
  • Choose a web host that is committed to WordPress accessibility.

👉 Want a WordPress site that is fast, animated and accessible?

Then entrust your hosting and maintenance to a WordPress specialist committed to accessibility.


Categories

Web Hosting

Succeed on the web

Security, performance, simplicity.
The best tools to serve you.

Nextcloud Hosting

Nextcloud

The best open source collaboration suite

Maintenance Included

WordPress Specialist Webmaster

WordPress website management

WordPress specialist webmaster in Orléans

Entrust your site to a WordPress security and maintenance expert

Hacked WordPress Site Repair

angry-hacker-pirate

Is your WordPress site hacked?

Repair and lasting security for your WordPress site.