Closed Bug 1916344 Opened 5 months ago Closed 4 months ago

Console input selected text doesn't have any background color

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(Accessibility Severity:s2, firefox132 fixed)

RESOLVED FIXED
132 Branch
Accessibility Severity s2
Tracking Status
firefox132 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

(Keywords: no-plan-to-ship)

Attachments

(2 files)

In High Contrast Mode, write document.querySelector in the input, then use Ctrl/Cmd + A to select the whole input text

-> the input looks as if nothing is selected (see screenshot)

Blocks: 1916380

Triaging S2 because no indication of selection is given

Accessibility Severity: --- → s2
Severity: -- → S3
Priority: -- → P2

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

For more information, please visit BugBot documentation.

Flags: needinfo?(nchevobbe)

We usually don't align a11y severity and severity in DevTools, but we'll set a P2 for all a11y s2 as we plan to work on this in the next months

Flags: needinfo?(nchevobbe)

Adding a keyword no-plan-to-ship as an ad-hoc flag here. This keyword was meant to exclude specific bugs from the general access-S2 tracking when there are no plans to ship the affected feature. However, we do plan to address and ship this and other HCM-related devtools bugs, which are part of a larger project. This Dev Tools High Contrast Mode support project, tracked by the meta bug 1590215, is ongoing and is tracked by the Dev Tools team separately.

Keywords: no-plan-to-ship

This makes selection visible in all the CodeMirror callsites, no matter if
they're using cm5 or cm6.

For cm5, we had to enable the mark-selection addon which wraps elements in a
class that can be targetted in CSS.

Highlighting of search results will be handled in another bug.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/00afdb7d117b [devtools] Tweak CodeMirror selection/matching styles in High Contrast Mode. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
QA Whiteboard: [qa-132b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: