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

WordPress Trac noreply at wordpress.org
Fri Aug 27 09:35:31 UTC 2021


#53542: Honor `prefers-reduced-motion` in sliding Customizer Animations
--------------------------+---------------------------------
 Reporter:  mikeschroder  |       Owner:  mikeschroder
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  5.9
Component:  Customize     |     Version:  5.8
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  accessibility, css
--------------------------+---------------------------------
Changes (by mikeschroder):

 * owner:  (none) => mikeschroder
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51677" 51677]:
 {{{
 #!CommitTicketReference repository="" revision="51677"
 Customizer: Respect `prefers-reduced-motion` media query in Customizer
 animations.

 Disables Customizer animations when media query `prefers-reduced-motion:
 reduce` returns true.

 Continues the effort to reduce motion within the WordPress admin panel
 when users have enabled this feature in their operating system or browser.

 It has the additional effect of making the Block Editor's end-to-end tests
 run faster, as explored initially with a different approach in #53562.

 See https://github.com/WordPress/gutenberg/issues/32024 for the related
 Gutenberg issue.

 See https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-
 reduced-motion for ways to enable this feature on various platforms.

 Props kevin940726, isabel_brison, zieladam, youknowriad, desrosj,
 mamaduka, mikeschroder.
 Previously [51389], [50028], [47813].
 Fixes #53542.
 }}}

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


More information about the wp-trac mailing list