[wp-trac] [WordPress Trac] #49723: Login failure shake should respect the prefers-reduced-motion media query
WordPress Trac
noreply at wordpress.org
Sat Mar 28 22:47:55 UTC 2020
#49723: Login failure shake should respect the prefers-reduced-motion media query
----------------------------------+----------------------------------------
Reporter: johnbillion | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and | Version: 5.3
Registration |
Severity: normal | Keywords: needs-patch good-first-bug
Focuses: accessibility, css |
----------------------------------+----------------------------------------
When a login failure occurs, the login form shakes (recently reimplemented
in CSS in #48490). This shake should not occur when the user has opted to
reduce motion, for example by selecting the "Reduce motion" option in
macOS' preferences or unselecting "Show animations in Windows" in Windows'
preferences.
The `prefers-reduced-motion` media query can be used to disable the
animation in this case. See [46824] as an example of where this is used in
TwentyTwenty.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49723>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list