Open
Bug 2051182
Opened 1 month ago
Updated 1 month ago
New sidebar: Panel selectors have confusing accessibility behaviour
Categories
(Firefox :: Sidebar, defect, P2)
Firefox
Sidebar
Tracking
()
NEW
| Accessibility Severity | s3 |
People
(Reporter: Jamie, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: access, Whiteboard: [fidefe-sidebar])
STR (with the NVDA screen reader):
- Ensure the new sidebar is enabled.
- Press control+h to open the history sidebar panel.
- Shift+tab thrice to reach the panel selectors.
- Expected: NVDA should say: "tab control, History tab selected 3 of 4"
- Actual: NVDA says: "tab control, Open bookmarks (Ctrl+B) toggle button not pressed"
There are several problems here:
- The container has role="tablist", which makes sense. However, the items have a role button, which doesn't make sense inside a tablist. They should be role="tab" with aria-selected instead of aria-pressed.
- Because of the incorrect role, position information (1 of 4) isn't reported. That makes it less clear to a user that they're in a group they can navigate with arrow keys.
- Bookmarks (the last item) always gets focus when you first focus the selectors. Ideally, it should be the selected panel.
- The labels for History and Bookmarks include "Close" or "Open". This is a bit confusing for a tablist style pattern, though I do understand that it's a bit different to a normal tablist in that clicking it while it's open will close the panel. Interestingly, "Tabs from other devices" doesn't have this Open/Close prefix.
Access s3 because this is pretty confusing, but it can be worked around and the user will eventually figure it out.
| Reporter | ||
Comment 1•1 month ago
|
||
I prototyped a fix for this using Claude. It works, but I haven't dug into whether the code is remotely feasible yet. For reference, it's in my wip/sidebar branch.
Updated•1 month ago
|
Severity: -- → S3
Priority: -- → P2
Updated•1 month ago
|
Whiteboard: [fidefe-sidebar]
Updated•1 month ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•