[wp-trac] [WordPress Trac] #54174: Twenty Twenty-One: @media (prefers-reduced-motion) in sass/07-utilities/a11y.scss breaks some plugins
WordPress Trac
noreply at wordpress.org
Thu Mar 10 05:20:06 UTC 2022
#54174: Twenty Twenty-One: @media (prefers-reduced-motion) in
sass/07-utilities/a11y.scss breaks some plugins
-------------------------------------+-------------------------------------
Reporter: gregoiresailland | Owner: peterwilsoncc
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.0
Component: Bundled Theme | Version: 5.6
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: ui, accessibility, css
-------------------------------------+-------------------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"52835" 52835]:
{{{
#!CommitTicketReference repository="" revision="52835"
Twenty Twenty-One: Reverse logic for `prefers-reduced-motion` media query.
Reverse the logic of the `prefers-reduced-motion` to enable transitions
based on `no-preference` rather than disable them based on the `reduce`
preference. This removes the need to disable transitions with the `!
important` tag and unintended interactions with plugins as a result.
Props gregoiresailland, sabernhardt, ryokuhi.
Fixes #54174.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54174#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list