Skip to content

[Feature Request] Add prefers-reduced-motion support for all carousel animations #41888

@SIVALANAGASHANKARNIVAS

Description

@SIVALANAGASHANKARNIVAS

Description

While Bootstrap supports prefers-reduced-motion for some animations, it would be helpful to ensure comprehensive coverage across all carousel transition effects.

Current Behavior

Some carousel animations may still play even when users have enabled reduced motion preferences in their OS settings.

Proposed Enhancement

  • Audit all carousel CSS transitions and JavaScript animations
  • Ensure @media (prefers-reduced-motion: reduce) is consistently applied
  • Consider adding a JavaScript API option to programmatically disable animations

Benefits

  1. Accessibility: Helps users with vestibular disorders who experience motion sickness
  2. WCAG Compliance: Aligns with WCAG 2.1 Success Criterion 2.3.3
  3. User Experience: Respects user preferences set at the OS level

Environment

  • Bootstrap version: v5.3.x
  • Browser: All modern browsers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions