Can't navigate out of open folders in Bookmarks Toolbar by using left/right keys
Categories
(Toolkit :: UI Widgets, enhancement)
Tracking
()
People
(Reporter: scott, Unassigned)
Details
(Keywords: access, uiwanted)
Attachments
(1 file)
90.94 KB,
image/png
|
Details |
Reporter | ||
Comment 2•19 years ago
|
||
Reporter | ||
Comment 3•17 years ago
|
||
Comment 4•17 years ago
|
||
Updated•17 years ago
|
Comment 5•16 years ago
|
||
Reporter | ||
Comment 7•16 years ago
|
||
Comment 8•12 years ago
|
||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Reporter | ||
Updated•12 years ago
|
Comment 11•5 years ago
|
||
This works as expected, probably ever since toolbar keyboard nav was implemented.
Reporter | ||
Comment 12•5 years ago
|
||
🎉
15 years, several operating systems, countless computers, and 76 major versions of Firefox after I filed this bug, I'm delighted to hear it.
Reporter | ||
Comment 13•2 years ago
|
||
I regret to report that celebration may have been unwarranted, because in Firefox 121.0b4 on Windows it does not in fact work as expected. The steps to reproduce that I gave 19 years ago are still applicable.
Reporter | ||
Updated•2 years ago
|
Updated•1 years ago
|
Comment 14•1 years ago
|
||
Hi Scott, thanks for sticking with this one, love the commitment :D
To clarify you want the bookmarks toolbar items to work similarly to the File/Edit menus? Where if you click on the File heading you can move over to Edit with the right arrow key?
I think this is somewhat unexpected in the bookmarks toolbar since not everything is a folder so they may not have a menu to show, and opening the folder probably shouldn't move your keyboard focus to it. If we move the focus there then after closing the menu you would need to re-focus the address bar if you wanted to type into it.
Comment 15•1 year ago
|
||
I think this is technically invalid since the left/right arrows are intended for navigation within the folder that was opened, not the toolbar items themselves at this point. Moving the focus upon clicking with the mouse is similarly probably unexpected
Reporter | ||
Comment 16•1 year ago
|
||
Hi Mark,
Sorry for not getting back to your query a couple of months ago, it got buried under a lot of stuff which was happening at the time.
You said:
To clarify you want the bookmarks toolbar items to work similarly to the File/Edit menus? Where if you click on the File heading you can move over to Edit with the right arrow key?
Yes, that's correct, whether the menu is focused by mouse or keyboard. Here's a comparison of the behavior since at least 2005:
Using application menus with the keyboard:
- Move between them by pressing left/right.
- If none are open, press space to open the one currently focused. The first menu item gets focus.
- Move to the next one by pressing left/right and it will open. The first menu item gets focus.
- Alternatively, press escape to close the open one, returning focus to its name. Repeat steps 1 and 2.
Using bookmarks toolbar folders with the keyboard:
- Move between them by pressing left/right.
- Press space to open the one currently focused. Focus remains on the folder name. Press down to focus the first folder item.
- Move to the next one by pressing escape to close the open one, returning focus to its name. Repeat steps 1 and 2.
I think this is technically invalid since the left/right arrows are intended for navigation within the folder that was opened, not the toolbar items themselves at this point.
This appears to be incorrect? Navigating within the folders uses up/down, not left/right. Relatedly,
I think this is somewhat unexpected in the bookmarks toolbar since not everything is a folder so they may not have a menu to show...
My expectation would be that navigating to/from an open folder item with left/right should work regardless of the destination type. When the destination is also a folder, it would open in the same way that the application menus do, and similarly give focus to the first item. Bookmarks toolbar folders are just user-defined menus by another name, so I think that they should exhibit consistent behavior.
If we move the focus there then after closing the menu you would need to re-focus the address bar if you wanted to type into it.
I'm not sure I follow your point? Users do have to do that already if navigating the bookmarks toolbar by keyboard.
If this clarification helps, would you mind reopening this? Many thanks.
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 17•1 year ago
|
||
Based on the preceding this bug is still valid, so reopening.
Comment 18•1 year ago
|
||
Moving this to an enhancement since I don't think it was previously intended for this to function in this manner
This appears to be incorrect? Navigating within the folders uses up/down, not left/right. Relatedly,
There can be folders inside of folders where left/right is used to move into/out of folders. I do see on macOS native menus that when focusing a folder the left arrow will move to next menu but the right arrow will open the menu, this feels odd but I suppose is something that we could theoretically support
I'm not sure I follow your point? Users do have to do that already if navigating the bookmarks toolbar by keyboard.
It's not the current behaviour for the focus to move from the address bar when interacting with menus provided by Firefox. For example in the app/hamburger menu if you use arrow keys to navigate the focused element is actually moved from the address bar to the menu item, however upon closing the menu the focus once again returns to the address bar
Reporter | ||
Comment 19•1 year ago
|
||
(In reply to Mark Striemer [:mstriemer] from comment #18)
There can be folders inside of folders where left/right is used to move into/out of folders. I do see on macOS native menus that when focusing a folder the left arrow will move to next menu but the right arrow will open the menu, this feels odd but I suppose is something that we could theoretically support
I can't speak for macOS, but on Firefox for Windows, in a menu left/right always moves to the next menu/submenu in that direction. By type of focused item the behavior is:
- top level item with no submenu: left/right goes to next menu
- top level item with submenu: left goes to next menu, right goes into submenu
- submenu item with no submenu: left goes up to parent, right goes to next menu
- submenu item with submenu: left goes up to parent, right goes into submenu
In other words, if your cursor key direction "hits the edge" of the menu or submenu you're in, focus goes that way. I'd expect toolbar folders to exhibit consistent behavior for being menus themselves.
I'm not sure I follow your point? Users do have to do that already if navigating the bookmarks toolbar by keyboard.
It's not the current behaviour for the focus to move from the address bar when interacting with menus provided by Firefox. For example in the app/hamburger menu if you use arrow keys to navigate the focused element is actually moved from the address bar to the menu item, however upon closing the menu the focus once again returns to the address bar
I hadn't seen that behavior before, it happens if you click open the app menu while having focus in the address bar. However I'm talking about having navigated out of the address bar by keyboard and into the bookmarks toolbar, like this:
- Focus address bar
- Hit Esc to close dropdown
- Hit Tab to move to the first button on the toolbar
- Hit Tab again to move to the first item on the bookmarks toolbar
- Navigate by keyboard as described previously
Can you confirm whether that's possible on macOS as well? If not, I can retitle this issue to be more platform-specific. Thanks!
Description
•