Use "prefers-reduced-motion" media query to disable animations
Author: thejimbirchCreated Oct 4, 2021Updated Dec 7, 2024
To turn animations off, you could write a prefers-reduced-motion media query. Then anyone who wants to turn animations off can do so in thue browser/OS settings.
This is from WCAG 2.1 Animations from interactions success criterion, level-AAA.
Discussed in Drupal Issue 2312805 . Drupal previously used jQuery Joyride, and has switched to Shepherd.
Source: shipshapecode/shepherd