pressing Esc when address bar is selected should return focus to window

UNCONFIRMED
Unassigned

Status

()

enhancement
UNCONFIRMED
5 years ago
7 months ago

People

(Reporter: vitto.giova, Unassigned)

Tracking

33 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20141011015303

Steps to reproduce:

I wanted to go back one page when the address bar was selected, but without using the mouse. So I pressed backspace and it didn't work, then I pressed cmd/alt and arrow keys but it didn't work either.


Actual results:

The address was cleared out in case of backspace, and the cursor went at the beginning or at the end of it.

My keyboard was imprisoned in the address bar and the only way to exit was with a few tabs. 


Expected results:

Ideally when pressing 'esc' when the address bar is selected (and there is no more undo to it) it should return priority to the window and allow to navigate history normally.
Summary: pressing esc should when address is selected should return priority to window → pressing esc when address is selected should return priority to window
Summary: pressing esc when address is selected should return priority to window → pressing Esc when address bar is selected should return focus to window
Press a several of Tab key may focus to page.
Severity: normal → enhancement
Component: Untriaged → Keyboard Navigation
OS: Mac OS X → All
Hardware: x86 → All
I have no problem with Alt+Left on Linux even if the address bar is focused.  If I had, I'd use F6 to switch focus.
QA Whiteboard: [bugday-20141027]
A workaround is to use Tab to move focus from the address bar to the page.
This is still an issue. On a Mac the F6 key is very inconvenient (requires Fn key), and the Esc key just makes more sense-- it performs this function in every other pane or input box.

To [::dao] or anyone: I'd like to give this a stab.

Before I try to get my hands in the code, is there any good reason (UX? Backwards compatibility? Addons?) for not implementing this?
(And that would mean an eventual patch of mine would be refused 😕)

You need to log in before you can comment on or make changes to this bug.