Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
If you are doing that make sure that it either responds to the media query prefers-reduced-motion: reduce and switches it off or have an option to switch it off on the site.
Smooth scrolling can cause people with motion sensitivity to feel sick etc. As we are talking about an accessibility feature I think this is even more important to consider!
Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
You should also add
`
in your project. It will smoothen the effect and make the process more enjoyable for the user.
If you are doing that make sure that it either responds to the media query
prefers-reduced-motion: reduce
and switches it off or have an option to switch it off on the site.Smooth scrolling can cause people with motion sensitivity to feel sick etc. As we are talking about an accessibility feature I think this is even more important to consider!
I didn't know that this can make people sick.
Yeah look up “vestibular disorders”, it is quite common, especially for temporary conditions such as vertigo.
Easy enough to account for -> developer.mozilla.org/en-US/docs/W...
Just something to bear in mind while adding animations of any kind.
True. Agree with you. Since this is related to accessibility will have to keep this in mind.