Closed Bug 259595 Opened 20 years ago Closed 20 years ago

Going back does not restore the focus to the link that was pressed to get you to that page

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 36539

People

(Reporter: jonathan.payne, Assigned: aaronlev)

Details

(Keywords: access)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10

So, for a long time pressing the Back key did not always scroll you to the right
position in previous page.  That seems to work pretty reliably now.

What I'd like to see is, Pressing back restores you to the same scroll position
AND selects the link that you had clicked on to get to the page you're coming
back from.  If you have a page full of links then when you come back to that
page with the BACK button it's often hard to tell which link you just clicked on.

IE does this correctly and since mozilla/firefox allows you to tab around the
links and press Return to select one, it would be great if it restored the tab
focus to the last link you clicked on.

I hope I am making sense.  I searched high and low for this bug - I hope I
didn't miss it.

Reproducible: Always
Steps to Reproduce:
1. Go to any web page.
2. Tab around until a link is selected.  By selected I mean there's a little box
around the link showing it's selected.
3. Press Return to select that link and go to that page.
4. Press the back key to go back.
5. Notice that that link is not selected anymore, and if you do press the Tab
key you start at the beginning of the document instead of where you left off.

Actual Results:  
So, the tab focus seemed to be reset to the top of the document, even though the
scroll position was just as you had left it.

Expected Results:  
The focus should be on the link you had pressed, so that (1) you can easily tell
exactly what link you're coming back from, and (2) so you can easily tab to the
next one.
I'm seeing this with both
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041008
Firefox/0.10 and
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041008
->Browser

Couldn't find a dupe, confirming
Status: UNCONFIRMED → NEW
Component: Accessibility → Keyboard: Navigation
Ever confirmed: true
Keywords: access
Product: Firefox → Browser
Summary: pressing BACK button does not restore the focus to the link that was pressed to get you to that page → Going back does not restore the focus to the link that was pressed to get you to that page
Version: unspecified → Trunk

*** This bug has been marked as a duplicate of 36539 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.