- Issue created by @charles belov
If an administrator has enabled accordion animation or left it enabled as the configuration default, I believe the accordion will animate regardless of the site visitors motion preference setting.
I am unable to test this due to blocking issue π Adding accordion to CKEditor toolbar gets error Active but the code has no reference to prefers-reduced-motion, so I'm pretty sure the module does not support it.
Update the generated accordion code to not animate if prefers-reduced-motion is set to reduce.
The best practice would be to suppress the accordion animation if the site visitor has indicated that they don't like animation. Note that "reduce" is an artifact of history that that is the terminology Apple, who got there first, used. Windows and Android using language indicating it is all or nothing. Further, there is no way to determine why the user has chosen to set this or what is a safe animation for such a user.
Active
2.1
Code
It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.
Visually induced motion sickness