Tabbing through address bar and separate search bar results in inconsistent behavior
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: yoasif, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: blocked-ux, regression)
Spawned from bug 1608766
I noticed while testing the new behavior in bug 1608766, that tabbing through the search box and address bar results in inconsistent behavior.
Steps to reproduce:
- Enable separate search bar.
- Do
control-l
orcontrol-k
- type in query
- press
tab
key
What happens:
The result is inconsistent.
In the address bar, tapping tab moves focus to the search box.
In the search box, tapping tab moves focus through the one off search engines.
Expected result:
The behavior should be consistent. I would prefer to have tab move focus to the one off search engines in both places, but that does open up some questions about whether tab should move through the engines (this was rejected in 1608766 for autocomplete entries) -- this may be solved by using the arrow keys to move between search engines once focus has moved to the search engines.
FWIW, the arrow keys (both left and right and up and down) both work in the separate search box to move the selection between search engines.
I think that ideally, the interaction would look like this (for example on this page):
Control-l
tab
(this moves to one off search engines)- User can switch between search engines using arrow keys
tab
(this moves to "change search settings")tab
(user is moved to separate search box)tab
(this moves to one off search engines)tab
(this moves to "add search engine")tab
(this moves to "change search settings")
That would result in a consistent user interaction and expected results when using tab
.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 1•5 years ago
|
||
I see similar behavior. I have enumerated my prequisites and scenarios in a slightly different way. Hopefully it will help in understand expected behavior (consistent with live 73.0.1) and the bug I am encountering.
The first two scenarios match the behavior of 73.0.1 and are included for context/reference.
Prereq:
Mac
browser.toolbars.keyboard_navigation set to true (default)
Scenario 1 (behavior matches live)
Steps
- New Tab via Cmd+T
- Address bar should be focused
- No text is entered in the address bar
Expectation:
Tab key should navigate through toolbar items
Actual:
Behavior matches live (73.0.1). Does not focus all items on toolbar.
Scenario 2 (behavior matches live)
Steps
- New Tab via Cmd+T
- Address bar should be focused
- No text is entered in the address bar
- click on address bar
- autocomplete/suggestions appear
Expectation:
Tab key should navigate through toolbar items
Actual:
Behavior matches live (73.0.1). Cycles through autocomplete/suggestion results
Scenario 3 (does not match live and is seemingly broken)
Prereq:
Mac
browser.toolbars.keyboard_navigation set to true (default)
Steps
- New Tab via Cmd+T
- Address bar should be focused
- No text is entered in the address bar
- type something that is expected to have completions in the address bar
- autocomplete/suggestions appear
Expectation:
Tab key should navigate through toolbar items
Actual:
Tab key shifts focus to next toolbar item.
Layman's conclusion
This appears to be a problem with the address bar properly capturing focus when characters are typed in.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
If the panel is closed, tab moves to the next widget.
If the panel is open, tab moves through results, this was and is still being discussed at length in bug 1437524, we may or may not introduce a preference to make it easier to access one-off buttons, but it's all there in bug 1437524.
We don't plan to support other behaviors apart from those for now.
Description
•