Respect operating system settings for reduced motion
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3506341. --> Reported by: [rkoller](https://www.drupal.org/user/3217695) Related to !580 !701 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>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).</p> <p>Discussed and iterated on the issue with @mgifford, @the_g_bomb, @katannshaw, and @drupa11y</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <ul> <li>Active the operating system setting to reduce motion.</li> <li>Go to a node edit form <code>node/16/edit?destination=/admin/content</code> and expand and collapse the navigation sidebar and the advanced sidebar.</li> </ul> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <ul> <li>Wrap any animation related properties into: <code>@media (prefers-reduced-motion: no-preference) { }</code></li> </ul> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3> > Related issue: [Issue #3506302](https://www.drupal.org/node/3506302)
issue