readthedocs / sphinx_rtd_theme

Sphinx theme from Read the Docs
https://sphinx-rtd-theme.readthedocs.io/
MIT License
4.78k stars 1.74k forks source link

Non-scrolling sidebar can trigger migraines #1289

Open MarjaE2 opened 2 years ago

MarjaE2 commented 2 years ago

Details

Expected Result

Unfortunately most of todaty's web design is made of migraine triggers, so I can't say I expect an accessible web site.

Actual Result

The page has a separate non-scrolling sidebar. I have visually-induced dizziness/visual vertigo, so having one column scroll, and another not, can give me migraines.

This may be a useful intro: https://vestibular.org/article/coping-support/living-with-a-vestibular-disorder/visually-induced-dizziness-supermarket-syndrome/

nienn commented 2 years ago

Hi @MarjaE2, thank you for sharing these resources. We will definitely look into them and look forward to improving the user experience for everyone.

We plan to implement a complete UX restructuring of the sidebar in the next major version - possibly 2.0 - and there are already several issues related to the sidebar scroll, thought I don't think any of them refers the linked resources nor this specific case, so it's useful information to have!

andy-maier commented 2 years ago

If you implement a scrolling sidebar, please provide an option to have it not scroll, like today. For people without that syndrome, it is useful to have the sidebar visible when scrolling down the page.

The main issue with such an option is that it would need to be selectable by the page viewer, not during page build.