Skip to content
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

A11y: add functionality for prefers-reduced-motion to the timeline #876

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Tanvez
Copy link

@Tanvez Tanvez commented Jul 19, 2024

This PR is related to issue #861 and #860. Users can enable prefer-reduced-motion in their respective operation system(macOS or windows) and TimelineJS should pick up those changes and change the duration of the slider/timenav when navigating the timeline.

  • Add prefer-reduced-motion checker on the timeline story slider prev, next button and change event
  • Add prefer-reduced-motion checker on the timenav timeline ticker press and change event

TimelineJS3-reduce-motion-2024-07-22

@Tanvez Tanvez changed the title add functionality fro prefers-reduced-motion to the timeline buttons add functionality for prefers-reduced-motion to the timeline Jul 19, 2024
@Tanvez Tanvez marked this pull request as ready for review July 22, 2024 18:28
@Tanvez
Copy link
Author

Tanvez commented Jul 22, 2024

FYI: @JoeGermuska

@Tanvez Tanvez changed the title add functionality for prefers-reduced-motion to the timeline A11y: add functionality for prefers-reduced-motion to the timeline Sep 11, 2024
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.

1 participant