Skip to content

stop marquees in prefers-reduced-motion #2001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

hasparus
Copy link
Contributor

@hasparus hasparus commented May 22, 2025

Description

I realized I overlooked the accessibility of the marquees and currently they still animate even if the user has reduced motion setting on.

Apart from this change, this PR introduces an initial shift for the transitions, so stacked rows of marquees moving at the same speed (like with the keywords) look a tiny bit better (they're currently aligned on character width, so it looks a bit too even). This is more important in prefers-reduced-motion context, but it is a small visual improvement for all other users too.

Copy link

vercel bot commented May 22, 2025

@hasparus is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented May 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graphql-github-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2025 2:56pm

@saihaj saihaj merged commit f192c30 into graphql:source May 22, 2025
4 checks passed
@saihaj saihaj deleted the new-conf-design--motion-reduce-marquees branch May 22, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants