Closed Bug 1866902 Opened 2 years ago Closed 2 years ago

Bookmarks and History sidebars have Tree elements that are not labeled

Categories

(Firefox :: Bookmarks & History, defect, P3)

defect

Tracking

()

RESOLVED FIXED
123 Branch
Accessibility Severity s3
Tracking Status
firefox123 --- fixed

People

(Reporter: ayeddi, Assigned: ayeddi)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

The sidebar includes tree views for the Bookmarks and the History which are programmatically not labeled.

We could resolve it by referencing the on-screen label with id=sidebar-title which is updated with the change in the sidebar, as we want it to be.

Reference: ARIA Design pattern for Tree view

Fixing this bug would allow to pass the following five Tier 2 a11y_checks:

Result	Path	Error	El ID	El tagName	El className
FAIL	browser/components/places/tests/browser/browser_bookmarkProperties_xulStore.js	Interactive elements must be labeled	bookmarks-view	tree	sidebar-placesTree
FAIL	browser/components/places/tests/browser/browser_sidebar_history_telemetry.js	Interactive elements must be labeled	historyTree	tree	sidebar-placesTree
FAIL	browser/components/places/tests/browser/browser_sidebar_open_bookmarks.js	Interactive elements must be labeled	bookmarks-view	tree	sidebar-placesTree
FAIL	browser/components/places/tests/browser/browser_sidebarpanels_click.js	Interactive elements must be labeled	bookmarks-view	tree	sidebar-placesTree
FAIL	browser/components/places/tests/browser/browser_sidebarpanels_click.js	Interactive elements must be labeled	historyTree	tree	sidebar-placesTree

The severity field for this bug is set to S4. However, the accessibility severity is higher, .
:mak, could you consider increasing the severity?

For more information, please visit BugBot documentation.

Flags: needinfo?(mak)
Severity: S4 → S3
Flags: needinfo?(mak)

The sidebar includes tree views for the Bookmarks and the History which are programmatically not labeled.

We could resolve it by adding an aria-label that would reuse the on-screen label with a word folders for each of two sidebar views.

Assignee: nobody → ayeddi
Status: NEW → ASSIGNED
Attachment #9365859 - Attachment description: Bug 1866902 - Add accessible names to tree views on the Bookmarks and History sidebars → Bug 1866902 - Exclude accessible name tests from tree views a11y-checks on the Bookmarks and History sidebars
Pushed by ayeddi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/840545607fdc Exclude accessible name tests from tree views a11y-checks on the Bookmarks and History sidebars r=Jamie,places-reviewers,Standard8
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: