---
title: "Web Animations with Drupal: Performance and Accessibility"
lang: en
type: knowledge
canonical: https://www.arocom.de/en/knowledge/drupal/animation
alternate: https://www.arocom.de/wissen/drupal/animation
author: "Axel Roth"
last_updated: 2026-10-31
---

# Web Animations with Drupal: Performance and Accessibility

Animations on the web create motion through rapid playback of
individual frames or CSS/JavaScript transitions. Used correctly,
they improve user experience. Used incorrectly, they harm performance
and accessibility. arocom has relied on well-designed animation
concepts in Drupal projects since 2012, respecting prefers-reduced-motion
and not impacting Core Web Vitals.

## Web Animations with Drupal: Performance and Accessibility

An animation occurs when individual frames are played at a minimum
of 24 frames per second, creating a fluid motion. On the web, this
principle works via CSS transitions, JavaScript animations, or the
Web Animations API.

The purpose goes far beyond decoration: micro-interactions give
users feedback, scroll animations direct attention, and animated
data visualizations make complex relationships tangible.

## Why Animations Can Compromise Your Performance

Every animation costs computing power. CSS animations on
transform and opacity are GPU-accelerated and performant.
Animations on width, height, or top force layout recalculations
and block the main thread.

In Drupal projects, we follow three principles: only animate
GPU-friendly properties, start animations via Intersection
Observer only when visible, and consistently respect
prefers-reduced-motion.

## Animations and Accessibility

WCAG 2.1 requires that users can stop, pause, or hide
animations (Success Criterion 2.2.2). This is not an optional
recommendation: since June 2025, the European Accessibility
Act makes it mandatory for many digital offerings.

Drupal supports this via the prefers-reduced-motion media query.
Themes and modules developed by arocom respect this setting
by default.

## Animations in Your Drupal Project?

Find out whether your animations meet performance and
accessibility standards, with the
[Future Check](https://www.arocom.de/en/future-check).

**From arocom projects:**

- We've migrated [Aventerra](https://www.arocom.de/en/references/aventerra) step by step from Drupal 6 to Drupal 11 since 2012, 5 major versions across more than a decade, without the platform ever being offline for more than a day.
- For [CJD](https://www.arocom.de/en/references/cjd) (an NGO with ~11,000 employees) we relaunched the platform together with 21TORR and rolled out WCAG 2.1 AA. The Drupal 9 relaunch took second place in the Social/Community category at the Splash Awards 2023; the platform now runs on Drupal 11.

### Which animations are performant?

CSS animations on transform and opacity are GPU-accelerated and do not affect Core Web Vitals. JavaScript-based animations on layout properties like width or top are expensive and block the rendering process.

### Does Drupal support prefers-reduced-motion?

Drupal itself does not ship animations. The responsibility lies with the theme and the modules used. arocom ensures in all projects that prefers-reduced-motion is respected.

## Read more

- [WCAG 2.1 explained](https://www.arocom.de/en/knowledge/drupal/wcag): The accessibility standard
- [Accessibility](https://www.arocom.de/en/accessibility): Our services
- [Future Check (Audit)](https://www.arocom.de/en/future-check): Independent analysis
