a11y: prefers-reduced-motion not respected — animations fire unconditionally (WCAG 2.3.3) #33

Closed
opened 2026-04-08 06:43:14 -07:00 by pyr0ball · 0 comments
Owner

theme.css defined .slide-up, .fade-in, .spinner, kiwi bird walk, and neon-mode animations with no @media (prefers-reduced-motion: reduce) guard. The cascade of simultaneous slide-up animations on recipe card load is a vestibular disorder trigger and sensory overwhelm risk.

Fixed: Global block added to theme.css:

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

Easter egg animations (kiwi bird, neon mode) should also check window.matchMedia('(prefers-reduced-motion: reduce)').matches in JS — tracked separately.

Refs: HIGH-W8, HIGH-N4

theme.css defined `.slide-up`, `.fade-in`, `.spinner`, kiwi bird walk, and neon-mode animations with no `@media (prefers-reduced-motion: reduce)` guard. The cascade of simultaneous `slide-up` animations on recipe card load is a vestibular disorder trigger and sensory overwhelm risk. **Fixed:** Global block added to theme.css: ```css @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } ``` Easter egg animations (kiwi bird, neon mode) should also check `window.matchMedia('(prefers-reduced-motion: reduce)').matches` in JS — tracked separately. **Refs:** HIGH-W8, HIGH-N4
pyr0ball added this to the Beta — Recipe Suggestions milestone 2026-04-08 06:43:14 -07:00
pyr0ball added the
bug
accessibility
labels 2026-04-08 06:43:14 -07:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/kiwi#33
No description provided.