Closed Bug 1916669 Opened 5 months ago Closed 3 months ago

Rules view accordion text isn't legible on hover in High Contrast Mode

Categories

(DevTools :: Inspector: Rules, defect, P2)

defect

Tracking

(Accessibility Severity:s2, firefox134 fixed)

RESOLVED FIXED
134 Branch
Accessibility Severity s2
Tracking Status
firefox134 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

(Keywords: no-plan-to-ship)

Attachments

(3 files)

See screenshot (I tweaked the base variable colors so it's easier to spot)

Note that this also impact the layout panel

Component: Inspector: Rules → Inspector: Layout
Summary: Rules view accordion toggle don't adapt to High Contrast Mode → Inspector accordion toggles don't adapt to High Contrast Mode
Flags: needinfo?(mreschenberg)

Triaging as S2 because UI doesn't adapt to HCM

Accessibility Severity: --- → s2
Flags: needinfo?(mreschenberg)
Severity: -- → S3
Priority: -- → P2

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

For more information, please visit BugBot documentation.

Flags: needinfo?(jdescottes)

For those bugs it's fine to have a different severity than the accessibility severity

Flags: needinfo?(jdescottes)

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 toggle adapts fine now, but the text is not legible on hover

Component: Inspector: Layout → Inspector: Rules
Summary: Inspector accordion toggles don't adapt to High Contrast Mode → Rules view accordion text isn't legible on hover in High Contrast Mode

This adds a new variable with the same colors than the variable one that we can use as a drop-in replacement.
For some cases, we could reuse the existing --theme-body-emphasized-background.
The Debugger ResultList style could be simplified as it should always have either 'small' or 'big' class, which
were both setting a background color for selected item, overriding the declaration that was using --theme-accordion-header-background.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED

Adapt the color of the text and arrow, especially on hover.
This covers accordion in the rules view, the layout panel and the debugger.

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9a4b66196f17 [devtools] Don't use --theme-accordion-header-background on elements that are not accordion headers. r=devtools-reviewers,ochameau. https://hg.mozilla.org/integration/autoland/rev/8188ec57dcc1 [devtools] Adapt Accordion headers in High Contrast Mode. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: