Typically a user loads a web page and can immediately start scrolling without the need to navigate into the page. Here, keyboard-only users have to move keyboard focus into the content area in order to scroll the page.
This is not a WCAG violation, but it is a hassle for keyboard-only users to peruse the page.
Issue
Typically a user loads a web page and can immediately start scrolling without the need to navigate into the page. Here, keyboard-only users have to move keyboard focus into the content area in order to scroll the page.
This is not a WCAG violation, but it is a hassle for keyboard-only users to peruse the page.
To reproduce
↓
) to scroll the page.Space
to scroll one screenful.Tab↹
until "Skip to Content" is in focus.Enter↵
↓
orSpace
to scroll the page.Additional notes:
href="#page-main"
but the scrolling container isid="pageContent"
(id="page-main"
is a child).Suggestion
The following should / could resolve the issue.
.oPsli { overflow: unset; }
.position: sticky
andtop: 0
to the<div class="SurveyBanner__Banner_-sc-md19pk-0 kPzTea">
.z-index: 1;
to the<div class="SurveyBanner__Banner_-sc-md19pk-0 kPzTea">
some of the content boxes don't sit above it.position: sticky
,top: 2.8em
, and height: calc(100vh - 2.7em); (you may want to adjust the sizes) to<div id="sidebar">
.overflow
styles from.REBFc
.Or I guess I could have just pasted this into the issue (which includes overrides for the things I could not remove):
That CSS is from a custom style block I added to Stylus for the site in Firefox. It may not be perfect.