[wp-trac] [WordPress Trac] #53542: Honor `prefers-reduced-motion` in sliding Customizer Animations

WordPress Trac noreply at wordpress.org
Mon Jun 28 13:43:32 UTC 2021


#53542: Honor `prefers-reduced-motion` in sliding Customizer Animations
--------------------------+---------------------------------
 Reporter:  mikeschroder  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  accessibility, css
--------------------------+---------------------------------
Description changed by mikeschroder:

Old description:

> While looking into [https://github.com/WordPress/gutenberg/issues/32024
> this Gutenberg issue], I noticed that the transitions between sections in
> the Customizer seem to slide, whether or not I enable "Reduced Motion" in
> the OS, [https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-
> reduced-motion#user_preferences as described here].
>
> Support for `prefers-reduced-motion` looks to be included in some other
> areas of WordPress, but not honored here.
>
> Videos with both Disabled and Enabled attached.

New description:

 While looking into [https://github.com/WordPress/gutenberg/issues/32024
 this Gutenberg issue], I noticed that the transitions between sections in
 the Customizer seem to slide, whether or not I enable "Reduced Motion" in
 the OS, [https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-
 reduced-motion#user_preferences as described here].

 Support for `prefers-reduced-motion` looks to be included in some other
 areas of WordPress, but not honored here.

 Videos with Reduce Motion Disabled and Enabled attached (the behavior is
 the same).

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53542#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list