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

Prevent video autoplay when user prefers reduced motion #407

Open
2 of 3 tasks
aasensios opened this issue Sep 15, 2024 · 0 comments
Open
2 of 3 tasks

Prevent video autoplay when user prefers reduced motion #407

aasensios opened this issue Sep 15, 2024 · 0 comments

Comments

@aasensios
Copy link

We are happy to answer your questions about the code or discuss technical ideas.

Please complete the following checklist (by adding [x]):

  • I have searched open and closed issues for duplicates
  • This isn't a feature request
  • This is not a report about my app not working as expected

Hello maintainers,

I came across the VideoInstructions component and saw it has autoplay enabled by default.

This should be fine for most of users, but from the Accessibility point of view, it would be nice that the video doesn't autoplay when the user has the setting "Reduce motion" on.

I have already implemented a proposal for that feature, and also adapted the corresponding story in Storybook explaining that concept. The visual change is the following:

Before

before

After

after |

I cannot push my local branch with those changes due to repository permissions.

How could I open a pull request to contribute?

Thanks in advance,
Alejandro

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

No branches or pull requests

1 participant