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
- Accessibility: Helps users with vestibular disorders who experience motion sickness
- WCAG Compliance: Aligns with WCAG 2.1 Success Criterion 2.3.3
- User Experience: Respects user preferences set at the OS level
Environment
- Bootstrap version: v5.3.x
- Browser: All modern browsers