Closed Bug 2071232 Opened 1 month ago Closed 1 month ago

The editor's column breakpoint markers have no accessible name

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox158 fixed)

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: florian, Assigned: florian)

References

(Blocks 2 open bugs)

Details

Attachments

(1 external file)

devtools/client/debugger/src/components/Editor/ColumnBreakpoints.js builds each column breakpoint marker as a button containing only an SVG. It has no text, no title and no aria-label, so a11y_checks reports Interactive elements must be labeled for it. Whether a breakpoint is set there is shown only by an active CSS class, which assistive technology cannot see either.

Giving the button a localized name and an aria-pressed reflecting that class fixes both. A line can hold several markers, so the name numbers each one within its line rather than repeating a single string for all of them.

Three more tests click these markers and keep their annotation: they also click the CodeMirror gutter, which is aria-hidden upstream, and an annotation only retires once every accessibility failure in that test stops.

The marker is a button holding only an SVG, so it had no accessible name at
all. A line can hold several and they are identical but for their position, so
the name numbers each one within its line. aria-pressed carries the state the
active class shows visually.

The a11y_checks annotations this retires were filed as Bug 1849028.

Assignee: nobody → florian
Status: NEW → ASSIGNED
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6acfcf358b3e https://hg.mozilla.org/integration/autoland/rev/2696cb53eee9 Give the editor's column breakpoint markers an accessible name, r=devtools-reviewers,bomsy.
Pushed by sstanca@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ad03a1b3d9f5 https://hg.mozilla.org/integration/autoland/rev/4d9c6002a13f Revert "Bug 2071232, Bug 2070914, Bug 2070909 - Give the editor's column breakpoint markers an accessible name, r=devtools-reviewers,bomsy." for causing Linux mochitests failures.

Reverted this because it was causing Linux mochitests failures.

Flags: needinfo?(florian)
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/af7de84600ca https://hg.mozilla.org/integration/autoland/rev/442200b47de2 Give the editor's column breakpoint markers an accessible name, r=devtools-reviewers,bomsy.
Severity: -- → S3
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
See Also: → 2074802
QA Whiteboard: [qa-triage-done-c159/b158]
Flags: needinfo?(florian)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: