Closed Bug 1916341 Opened 18 days ago Closed 3 hours ago

Pretty print icon in Editor toolbar is not visible in High Contrast Mode

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)

See screenshot (the button is focused so it has an outline, but the icon is completely missing)

Triaging as S2 because UI doesn't appear in HCM.

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

The button was still using mask-image to properly style the icon, but the svg
does have a context-fill property, so we can use fill directly, which is what
the debugger and style editor are already doing.

With that fixed, it seems reasonable define a specific color for --theme-icon-color
in High Contrast Mode, as it does fix the original bug issue, and will probably
cover a lot of the other issues regarding icon colors in High Contrast Mode.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/389c090df49e [devtools] Make Console Editor pretty print icon visible in High Contrast Mode. r=devtools-reviewers,ochameau,accessibility-frontend-reviewers,nlapre.
Status: ASSIGNED → RESOLVED
Closed: 3 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: