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

WordPress Trac noreply at wordpress.org
Fri Jul 9 08:12:43 UTC 2021


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

Comment (by mikeschroder):

 In [changeset:"51389" 51389]:
 {{{
 #!CommitTicketReference repository="" revision="51389"
 Customizer: Skip animations when they have no duration.

 In addition to skipping animations when a related style doesn't Exist, now
 checks to see if animation styles are Empty as well.

 This resolves a case where the Gutenberg End to End tests were failing,
 due to running with animations disabled.

 This change should also help some users who are intentionally overriding
 styles to remove animations.

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

 Props zieladam, isabel_brison, kevin940726, desrosj, mikeschroder.
 Fixes #53562.
 See #53542.
 }}}

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


More information about the wp-trac mailing list