Skip to content

Guard placeholder glow/wave animations behind prefers-reduced-motion - #42769

Merged
julien-deramond merged 1 commit into
mainfrom
main-jd-placeholder-animations-a11y
Jul 28, 2026
Merged

Guard placeholder glow/wave animations behind prefers-reduced-motion#42769
julien-deramond merged 1 commit into
mainfrom
main-jd-placeholder-animations-a11y

Conversation

@julien-deramond

@julien-deramond julien-deramond commented Jul 28, 2026

Copy link
Copy Markdown
Member

Description

Backport #42768 from v6.

Live previews

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR backports the Bootstrap v6 change to respect prefers-reduced-motion for placeholder shimmer effects, ensuring .placeholder-glow and .placeholder-wave no longer run infinite animations for users who request reduced motion (while still allowing the behavior to be compiled out via $enable-reduced-motion).

Changes:

  • Added an $enable-reduced-motion-guarded @media (prefers-reduced-motion: reduce) override to disable .placeholder-glow’s animation.
  • Added the same reduced-motion override to disable .placeholder-wave’s animation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@julien-deramond
julien-deramond marked this pull request as ready for review July 28, 2026 20:54
@julien-deramond
julien-deramond requested a review from a team as a code owner July 28, 2026 20:54
@julien-deramond
julien-deramond merged commit 6177d5f into main Jul 28, 2026
15 checks passed
@github-project-automation github-project-automation Bot moved this from Needs review to Done in v5.4.0 Jul 28, 2026
@julien-deramond
julien-deramond deleted the main-jd-placeholder-animations-a11y branch July 28, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants