Open Bug 278308 Opened 20 years ago Updated 2 years ago

Need way to jump to first visible link with keyboard

Categories

(Firefox :: Keyboard Navigation, enhancement)

1.0 Branch
x86
Windows XP
enhancement

Tracking

()

People

(Reporter: kevind, Unassigned)

Details

(Keywords: helpwanted)

It would be really nice if there was a way to use the keyboard to navigate to
the first _visible_ link (or whatever tab element is visible - text box, image,
etc). Currently when you hit "tab" to navigate the open document with the
keyboard, it jumps to the first tab element on the page, and if you've scrolled
down then the page is scrolled back to the beginning. Ordinarily if you're
tabbing onto the page you want to select the link that you're looking at, not
one that's scrolled off the top of the screen. This is also an accessibility
issue for users who can't use the mouse for navigation.
The quickest way to navigate to a link you're looking at is to use find as you
type. Type apostrophe followed by some text in the link.

I could see a hidden pref changing the tab key behavior, but that would only
help the rare individual who hears about it. We'll keep the enhancement request
around, in case anyone comes up with a design worth pursuing. It's not something
people will want to expose a pref in the UI for.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: helpwanted
I played around with your suggestion (on this comment page, in fact), but since
Find As You Type starts from the beginning of the page and scrolls the page as
it matches things, it doesn't quite achieve the right effect. Also, if the link
text is fairly generic (something like 'here' - pretty common), then there may
be lots of matches.

 I would be happy with a keyboard shortcut - it doesn't have to be the tab key,
per se. I looked into writing an extension to accomplish this, but couldn't find
a way to determine the first visible link in the scroll region.
Version: unspecified → 1.0 Branch
> I looked into writing an extension to accomplish this, but couldn't find
> a way to determine the first visible link in the scroll region.

I don't know what source find as you type uses, but in my mind at least, i could
see something as simple as indexing each tab for text, 1, 2, 3, 4, 5 and or
otherwise removing the page breaks in between tabs.  The real tough part would
be makeing FAYT jump to the correct tab once it did find the right word.
QA Contact: jruderman → keyboard.navigation
Mass un-assigning bugs assigned to Aaron.
Assignee: aaronleventhal → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.