Respect operating system settings for reduced motion

Created on 13 February 2025, about 2 months ago

Problem/Motivation

At the moment Gin is not respecting if a user has activated the option to reduce motion in their operating system. The animations for example, expanding and collapsing the navigation and or the advanced sidebar, are still being displayed/run (SC2.3.3 C39 - check node_edit_form_animations.mp4).

Discussed and iterated on the issue with @mgifford, @the_g_bomb, @katannshaw, and @drupa11y

Steps to reproduce

  • Active the operating system setting to reduce motion.
  • Go to a node edit form node/16/edit?destination=/admin/content and expand and collapse the navigation sidebar and the advanced sidebar.

Proposed resolution

  • Wrap any animation related properties into: @media (prefers-reduced-motion: no-preference) { }

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

4.0

Component

User interface

Created by

πŸ‡©πŸ‡ͺGermany rkoller NΓΌrnberg, Germany

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024