Closed Bug 1843318 Opened 2 years ago Closed 2 years ago

Secondary pane headings (Threads, Watch Expressions, etc.) are not marked as expanded

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Accessibility Severity:s3, firefox121 fixed)

RESOLVED FIXED
121 Branch
Accessibility Severity s3
Tracking Status
firefox121 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

No description provided.
Accessibility Severity: --- → s3
Priority: -- → P3

This adds a proper button element to toggle panels, with the appropriate aria-expanded
and aria-controls attributes.
The button directly includes that toggle arrow, as a background, and in order
to properly handle the color in CSS, we add a context-fill attribute to the SVG file.

Since button can handle keyboard activation by default, we don't have to carry
the onKeyDown listener that was on the h2 before.

Also, since the "header buttons" (e.g. add watch expression, remove breakpoints, …)
are not under the "accordion toggler" element anymore, we can remove all the
event.stopPropagation calls that we had to prevent toggling the panes when
interacting with those buttons.
That also mean that we need to properly expand the watch expression panel and
the xhr breakpoint panel when clicking on the "+" icon..

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Attachment #9359992 - Attachment description: Bug 1843318 - [devtools] Make Debugger secondary panes accordion accessible. r=ayeddi,#devtools-reviewers. → Bug 1843318 - [devtools] Make Debugger secondary panes accordion accessible. r=#accessibility-frontend-reviewers,#devtools-reviewers.
Attachment #9359992 - Attachment description: Bug 1843318 - [devtools] Make Debugger secondary panes accordion accessible. r=#accessibility-frontend-reviewers,#devtools-reviewers. → Bug 1843318 - [devtools] Make Debugger secondary panes accordion accessible. r=ayeddi,#devtools-reviewers.
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2fde555365f1 [devtools] Make Debugger secondary panes accordion accessible. r=devtools-reviewers,accessibility-frontend-reviewers,ayeddi,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: