Skip to content

bug: A11y: Components ignore prefers-reduced-motion (carousel, loading, collapse, dropdown) #4298

@QuickHarsh

Description

@QuickHarsh

Reproduction URL (Required)

https://play.tailwindcss.com/7PTqWz1XeD

What version of daisyUI are you using?

5.5.5

Which browsers are you seeing the problem on?

Chrome

Describe your issue

Expected

When OS or browser requests reduced motion (prefers-reduced-motion: reduce):

  • Loading indicators render a static visual (no movement).
  • Collapse opens/closes without animated transitions.
  • Dropdown opens/closes without fade/scale animation.
  • Carousel does not smooth-scroll; snap still works.

Actual

  • Loading animations continue to move (animated SVG masks).
  • Collapse and dropdown animate transitions.
  • Carousel uses smooth scrolling.
  • This creates unnecessary motion for users who requested reduced motion.

Notes

  • This seems component CSS-related (independent of framework/build tools).
  • I can implement a minimal, CSS-only fix via targeted @media (prefers-reduced-motion: reduce) overrides.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions