Skip to content

App-wide transitions and hover animations never respect prefers-reduced-motion #258

Closed

Description

@chonilius

Across the app, hover/theme transitions are applied unconditionally with no
prefers-reduced-motion guard anywhere in src/app/globals.css or the Tailwind
utility classes used throughout the components:

/* globals.css */
body {
  transition: background-color 0.2s ease, color 0.2s ease;
}
// BountyCard.tsx
className="... transition-all ... hover:-translate-y-0.5 hover:shadow-md ..."

// Navbar.tsx's "Dashboards" dropdown
className="... transition-all group-hover:visible group-hover:opacity-100"

None of these are wrapped in, or overridden by, a @media (prefers-reduced-motion: reduce)
block. A visitor who has explicitly set their OS/browser preference to reduce motion
(a real, common accessibility accommodation for vestibular disorders and motion
sensitivity) still gets every hover-lift animation on every bounty card, every theme
transition, and every dropdown fade, exactly as if no such preference were set —
globals.css never queries it at all.

Suggested fix: add a @media (prefers-reduced-motion: reduce) block in globals.css
that disables/shortens transitions and transforms globally (e.g. forcing
transition-duration: 0.01ms !important on *), so users who've opted out of motion at
the OS level actually get a reduced-motion experience.

Activity

  1. added
    accessibility
    bug
    very hard
    help wanted
    on Aug 21, 2026
  2. added
    Stellar Wave
    on Aug 25, 2026
  3. Mubest29 commented on Aug 25, 2026

    @Mubest29

    @Mubest29 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello Maintainer, I’ve carefully looked over the issue and understand what needs to be done. I’m confident I can handle it successfully. Please consider assigning it to me.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Mubest29 to this issue.

  4. Big-Dammy001 commented on Aug 25, 2026

    @Big-Dammy001

    @Big-Dammy001 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello Maintainer, I’ve carefully reviewed the issue description, requirements, and acceptance criteria. I have a clear understanding of the expected outcome and believe I can implement a clean, reliable solution while following the project’s existing conventions. I’m ready to take ownership of the task, test the changes thoroughly, and submit a quality pull request. Kindly consider assigning it to me.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Big-Dammy001 to this issue.

  5. Levi-Ojukwu commented on Aug 25, 2026

    @Levi-Ojukwu
    Contributor

    @Levi-Ojukwu has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello maintainer, I can handle this issue.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Levi-Ojukwu to this issue.

  6. drips-wave commented on Aug 25, 2026

    @drips-wave

    Congratulations, @Levi-Ojukwu! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @Levi-Ojukwu: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  7. grantfox-oss commented on Aug 30, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox as part of the Third Campaign campaign!

    @Levi-Ojukwu's PR #346 was approved and merged by @chonilius.

    🏆 @Levi-Ojukwu: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (637 total points). Track your full progress on GrantFox.

    👏 Great work, @Levi-Ojukwu! Keep contributing to MergeFi.

  8. drips-wave commented on Aug 30, 2026

    @drips-wave

    This issue has been completed by @Levi-Ojukwu as part of the Stellar Wave Program's 8th Wave 🥳

    😎 @Levi-Ojukwu: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  9. removed
    Stellar Wave
    on Oct 15, 2026
  10. added
    Stellar Wave
    on Oct 15, 2026
  11. removed
    Stellar Wave
    on Oct 15, 2026
  12. added
    Stellar Wave
    on Oct 15, 2026
  13. removed
    Stellar Wave
    on Oct 15, 2026
  14. added
    Stellar Wave
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar Waveaccessibilitybughelp wantedvery hard

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions