WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Short cut keys

for

From: glen walker
Date: Jul 17, 2020 3:04PM


Home/end or ctrl+home/end have always worked for me. As noted earlier, it
scrolls the page but does not move the keyboard focus, but I don't consider
that a big deal (for me). If I need my focus moved to the first or last
element on the page, I can easily get there by going to the address bar
(which has a shortcut key) then either tabbing forwards or backwards
depending if I want my focus at the top or bottom of the page, respectively.

For sighted keyboard users, you have to think about what it means to go to
the top or bottom of the page. Visually, it's easy to scroll the page to
the top or bottom, but if you want your focus moved, for keyboard users, it
should move the first or last *focusable* element and not just the first or
last DOM element. For screen reader users, moving to the top of the page
puts the screen reader focus on the first DOM element, which makes sense.
For keyboard users, putting the focus on the first DOM element, if it's not
an interactive element, does not make sense.