A11Y: disable non-essential CSS animations for reduced-motion users (#23571)

This commit is contained in:
Kris
2023-09-14 17:31:43 -04:00
committed by GitHub
parent 4a1621c677
commit 98c8dcecba
27 changed files with 131 additions and 41 deletions

View File

@ -26,7 +26,9 @@
.dot {
display: inline-block;
animation: wave 1.8s linear infinite;
@media (prefers-reduced-motion: no-preference) {
animation: wave 1.8s linear infinite;
}
&:nth-child(2) {
animation-delay: -1.6s;