Skip to content

[P2][a11y] No prefers-reduced-motion support anywhere — 0 rules out of 2892 #704

Closed

Description

@EVWorth

Walked every CSS rule the app loads in the browser, including nested at-rules:

2892  total rules
   0  mentioning prefers-reduced-motion

The app does animate — 30 elements carry a transition on the default screen
alone, plus dialog entrances and panel transitions elsewhere.

Reduced motion is an OS-level accessibility setting people turn on for
vestibular disorders and migraine. It is not a preference in the decorative
sense; for some users motion is a symptom trigger. Right now the setting has
no effect on this app.

Fix

One global rule, in globals.css:

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

Near-zero rather than none so transition-end handlers still fire — code that
waits for a transition to finish keeps working instead of hanging.

Worth knowing

The motion the app does have is in good shape: two durations (0.15s and 0.1s)
and no easing sprawl. Consistent, restrained, close to the "feels instant"
target in §1.3. This is not a request to animate less — only to honour the
setting when someone has asked.

Found during the UI review.

Activity

  1. added
    audit
    severity/p2
    kind/a11y
    on Sep 17, 2026
  2. EVWorth commented on Sep 17, 2026

    @EVWorth
    OwnerAuthor

    Landed in #708 (merged as 6fa7abc), which is in main.

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

    Near-zero rather than none, so transitionend still fires and anything waiting on it keeps working.

    Reopened-by-hand note: this stayed open because #708's description said "Closes #700, #704, #707" — GitHub only acts on the first issue in a bare comma list, and needs the keyword repeated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cross-cuttingauditkind/a11yseverity/p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions