[Bug] Scrolling with Vimium browser extension not working
Created by: SimonEggert
At first, I want to say thank you for the great work on a collection about this important topic!
Bug description
When trying to navigate the site with vimium, scrolling does not work as intended, i.e. pressing J
or K
are not doing anything.
Expected outcome
The page should scroll down/up.
Steps to reproduce
Technical info
What device were you using when you encountered the bug?
Desktop
What operating system were you using? What version is the operating system?
macOS 12.2.1
What web browser were you using? What version is the web browser?
Occurs in Chrome and Firefox.
Additional information
I did a little digging and this seems to happen because of the following line: https://github.com/a11yproject/a11yproject.com/blob/46e5c5e379ea704ae9e2df23a45d563ba15ca1e7/src/css/base/_html.scss#L16
It was added in 2015 via https://github.com/a11yproject/a11yproject.com/commit/82a9ae928b292b475c705e8adb7970434a419201 to
keep page centred in all browsers regardless of content height.
Is this workaround still necessary or can we get rid of it to fix the above issue? In my understanding the <body>
will be the scrollable container on the page, so setting it on <html>
feels hacky and counterproductive.
Terms
-
I have read, and agree to follow this project's Code of Conduct