Closed Bug 1470779 Opened 6 years ago Closed 6 years ago

[a11y] History and Bookmarks sidebar containers have obscure label for accessibility

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 63
Tracking Status
firefox63 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

Details

(Keywords: access)

Attachments

(1 file)

STR (with the NVDA screen reader):
1. Open firefox with the NVDA screen reader running.
2. Press control+h to open the History sidebar.
Expected: nVDA should report "History  grouping, search history  edit"
Actual: NVDA reports "chrome://browser/content/places/historySidebar.xul  grouping, Search history  edit"
Similar behaviour applies to the Bookmarks sidebar.

This occurs because the <page> element for these sidebars has nothing that would assign them an accessible label, so Gecko a11y falls back to the URL. This can be fixed using aria-label (assuming there isn't a more appropriate XUL mechanism for this that doesn't affect the visual presentation).

Originally reported in NVDA issue: https://github.com/nvaccess/nvda/issues/7572
I'm not entirely sure it is appropriate to use &historyButton.label; and &bookmarksButton.label; for this purpose. I guess it's possible those labels could be phrased as the action of opening the sidebar, rather than just its name. I was reluctant to unnecessarily add accessibility specific labels, though.
Comment on attachment 8988024 [details]
Bug 1470779: label History and Bookmarks sidebar containers for accessibility.

https://reviewboard.mozilla.org/r/253278/#review260372

thank you, I think it's fine to use these labels since the same are used for the Sidebar command select itself, and it's effectively what appears as a title to any user.
Attachment #8988024 - Flags: review?(mak77) → review+
Assignee: nobody → jteh
Status: NEW → ASSIGNED
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2110dad4d2ec
label History and Bookmarks sidebar containers for accessibility. r=mak
https://hg.mozilla.org/mozilla-central/rev/2110dad4d2ec
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Flags: qe-verify+
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: