#53542 closed enhancement (fixed)
Honor `prefers-reduced-motion` in sliding Customizer Animations
Reported by: | kirasong | Owned by: | kirasong |
---|---|---|---|
Milestone: | 5.9 | Priority: | normal |
Severity: | normal | Version: | 5.8 |
Component: | Customize | Keywords: | has-patch |
Focuses: | accessibility, css | Cc: |
Description (last modified by )
While looking into 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, 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).
Attachments (3)
Change History (14)
#2
@
3 years ago
- Milestone changed from Awaiting Review to 5.9
This sounds to me like a great, focused enhancement to try for in 5.9.
This ticket was mentioned in PR #1608 on WordPress/wordpress-develop by kevin940726.
3 years ago
#4
- Keywords has-patch added; needs-patch removed
Respect prefers-reduced-motion: reduce
in the customizer.
Test steps:
- Enable
reduce motion
in your OS settings (macOS for instance) - Visit Appearance -> Customize
- Click around different sections and panels
- There should be no transition nor animation effects
- Focus should not lost when expanding sections
- Everything should work fine when disabling
reduce motion
too
Trac ticket: https://core.trac.wordpress.org/ticket/53542
kevin940726 commented on PR #1608:
3 years ago
#5
@tellthemachines Good catch! I don't think it's too much of an issue but I pushed a fix anyway :).
#9
@
3 years ago
@dlh Cool, thank you much for the review!
Unless anyone thinks otherwise, I'll plan on handling a commit for this tomorrow.
#10
@
3 years ago
- Owner set to mikeschroder
- Resolution set to fixed
- Status changed from new to closed
In 51677:
hellofromtonya commented on PR #1608:
3 years ago
#11
Committed via https://core.trac.wordpress.org/changeset/51677.
Reduce Motion Disabled