The DOM mutation breakpoint enable checkboxes have no accessible name
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
People
(Reporter: florian, Assigned: florian)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
Each row of the DOM Mutation Breakpoints pane starts with a checkbox that enables or disables that breakpoint. devtools/client/debugger/src/components/SecondaryPanes/DOMMutationBreakpoints.js renders it with no label of any kind, so a11y_checks reports Interactive elements must be labeled. A screen reader user hears an unlabeled checkbox and cannot tell which breakpoint it belongs to.
The name has to identify both the node and the mutation type, or every checkbox in the pane sharing a type reads the same. It cannot be taken from the row with aria-labelledby: the node label is a Rep, which renders an "open in inspector" button whose title would be pulled in. Composing it from the node front and the type avoids that.
| Assignee | ||
Comment 1•2 days ago
|
||
The enable checkbox of a DOM mutation breakpoint had no accessible name. The
name has to carry the node as well as the mutation type, or every checkbox in
the pane sharing a type reads the same. It cannot be borrowed from the row with
aria-labelledby, because the node label is a Rep which renders an "open in
inspector" button whose title would be pulled in, so it is composed from the
node front instead.
The a11y_checks annotations this retires were filed as Bug 1849028.
Updated•2 days ago
|
Description
•