-
Notifications
You must be signed in to change notification settings - Fork 203
[A11Y] Bug report form can trigger migraines and motion sickness for users with visual or vestibular issues #3505
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
Comments
@MarjaE2 There's no flashing but there is smooth scrolling moving all the page indeed. |
There is flashing when I try that page, as well as painful smooth pain-scrolling. I have a really bad migraine + nausea after checking. |
A lot of standard web design can trigger migraines. For me, smooth scrolling is by far the worst and hardest to protect against. Others include flashing, zooming animation, marquee animation, parallax animation, carousel animation, foregrounds scrolling separately from backgrounds, columns scrolling separately from each other without enough distance and distinctiveness, the nav buttons on the new about:reader, headers flashing and/or animating as users scroll, modals suddenly flashing, and so on. |
@karlcow One step would be that if prefers-reduced-motion is set on the operating system to not autoscroll as the site visitor answers each question as well as suppress the smooth-scrolling feature. Let the site visitor control all scrolling. prefers-reduced-motion is supported on Windows, Android, macOS and iOS in Chrome, Safari, and Firefox. |
Thanks @CharlesBelov. FYI @ksy36 (I lightly participate to this part of the code right now. I hope I can dedicate a bit of time in the future, but not right now. ) |
Thanks for the ping, I'll take a look at this when I have some spare cycles :) |
I currently use layout.frame_rate 1 in Firefox as a global fix to stop animation. Inspecting webcompat, a lot of the site uses transitions with "ease" animation, which explains a lot of the migraines and motion sickness I've encountered. I would suggest removing the "ease" animation, at least for users with rprefers-reduced-motion. |
Hi @MarjaE2, I've removed animation and scrolling for the form and deployed it on https://staging.webcompat.com/issues/new. Could you please check it without modified layout.frame_rate and with prefers-reduced-motion? |
Yes, it's working! Thanks! |
Thanks for checking :) |
Fixes #3505 - Remove animations/scrolling for prefers-reduced-motion
This has been deployed to production |
Currently broken in Firefox. |
It looks like its the result of the "Navigation" section on the top of the form here, as well as the aggressive use of transform functions with timers and "ease in-out" timing code. https://webcompat.com/issues/new The offending code appears to be here:
And/or here:
But the relevant lines haven't been changed anytime recently. |
Visiting https://webcompat.com/issues/new
Type url into 1st field.
Click confirm.
Get hit with blinding pain. Get migraine and motion sickness. It's hard to see as it happens, but I think there's flashing and smooth scrolling. Flashing often gives me migraines, and smooth scrolling, zooming, etc. always reliably do.
See also #3134
The text was updated successfully, but these errors were encountered: