Open Bug 146045 Opened 23 years ago Updated 3 years ago

key to leave form and focus content area

Categories

(Core :: DOM: UI Events & Focus Handling, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

Details

From discussion about http://labs1.google.com/keys/ : aanallein@wotmania.com (Aan`allein) wrote in message news:<7589d932.0205210951.3e9f18e8@posting.google.com>... > 'A' moves the focus to the search box, but how do you get out again? I > can imagine regular characters can't be used for this, but for example > [escape] could be used to switch back to your previous position. Would > be good to have. I think Mozilla should have Escape to "leave form" built in. That would be easier to remember than Opera's F9 to "focus content area", and it would be easier to predict than "tab", which sometimes focuses another text field rather than allowing the user to scroll. This would be useful on on pages like amazon.com that focus the search field assuming that most users scroll with the mouse. It would also help on pages like http://labs1.google.com/keys/ that use single-letter shortcuts but also have textboxes.
You did not talk about the fact that Escape is also used to stop loading, and pause timed content such as animation. This feature is broken at the moment, but that's the standard use of Escape. Do you think these two uses of Escape should happen simultaneously?
OS: Windows 2000 → All
Hardware: PC → All
See also bug 131134, which asked for this feature without suggesting a key.
*** Bug 211844 has been marked as a duplicate of this bug. ***
How about typing Ctrl+L, Tab? It's not a single keystroke, but it works.
'no' picture this: <frameset rows="*,*"> <frame src='data:text/html,&lt;input value="no me"&gt;'> <frame src='data:text/html,&lt;input value="start here"&gt;'> </frameset> your 'solution' focusses 'not me', not the body of the second frame.
*** Bug 226322 has been marked as a duplicate of this bug. ***
Doesn't Escape already stop animations and scripts from running on a page?
Priority: -- → P3
Summary: press escape to leave form and focus content area → key to leave form and focus content area
Are F6/Shift+F6 any use?
See also bug 277808, same bug in the Firefox product (might be a dup).
*** Bug 277808 has been marked as a duplicate of this bug. ***
*** Bug 345949 has been marked as a duplicate of this bug. ***
From the most recent dup: it might be useful if the same shortcut also worked when focus is in chrome (e.g. the address bar).
I just hit F6 until I get to the frame I want.
(In reply to comment #13) > I just hit F6 until I get to the frame I want. not good enough. I want a shortcut that focus exactly the content page, ie *all* frames. Ctrl-F6 would be good. I just don't want to cycle *until* I find the right place, I figure the content frame is important enough to be granted a shortcut.
Mass un-assigning bugs assigned to Aaron.
Assignee: aaronleventhal → nobody
QA Contact: bugzilla → keyboard.navigation
Until Firefox 57 (Quantum) escape worked for me to go from the address bar back to site content. Now I have to hit F6 which is harder to hit and doesn't get me back to the content necessarily but will focus on something else and will lead to scrolling back to the top of the page sometimes. Or when I was focused on a textarea like this one here at bugzilla.mozilla.org hitting escape doesn't bring me back to that. It's also confusing that sometimes nothing happens when I press escape. For example when the current URL is shown. But when you write in something you can cancel the suggestion by hitting escape, then another hit will go back to the current URL. What I'd like is for another hit to go back to the previously focused content/item. Also, hitting escape when you're focused on a video on youtube.com (which happens by default) nothing happens. You can't get the focus away from the video by hitting Escape. However F6 works, but above mentioned problems arise and I need to press it two times. I also don't like that nothing happens when I press Escape. Is that because youtube's javascript file intercepts the escape button? Could it also prevent Firefox in the same way from changing the focus with F6? I think capturing or intercepting Escape and F6 should not be possible/allowed. But the youtube problem may be independent from this issue. Should I file a new one on that? This reminds me of the time when Flash captured all button presses and your only way to get out of it was a meta key or a click with the mouse...
Component: Keyboard: Navigation → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.