Closed Bug 1916391 Opened 5 months ago Closed 3 months ago

Performance analysis charts legend don't match chart colors in High Contrast Mode

Categories

(DevTools :: Netmonitor, 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

(4 files)

The performance analysis can be triggered by clicking on the stopwatch icon in the bottom left corner of the Netmonitor

The pie charts do keep their colors in High contrast mode, but the legend squares do not (note that the label are put on the pie chart themselves, so that's not too bad)

Not sure if the chart should keep their color though? If not, we could have some distinct patterns for the different categories (which would probably be more accessible in the end)

Triaging as S2, since this makes the graph unusable in HCM.

We can keep the same colours in HCM, but it'd be helpful to add additional differentiation mechanisms (e.g. patterns) so they're readable for folks who may have similar background colours in their custom theme

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

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

For more information, please visit BugBot documentation.

Flags: needinfo?(odvarko)

Higher a11y severity is correct in this case.

Flags: needinfo?(odvarko)

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
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED

The colors that are defined for the charts are specified in High Contrast Mode,
so we can display them in the legend just fine.
This requires making the legend element their own element, as we don't want to
opt out of forced colors for the cell content.

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/18b71efbe503 [devtools] Use light-dark() in chart.css. r=devtools-reviewers,bomsy. https://hg.mozilla.org/integration/autoland/rev/5428f34f96e1 [devtools] Adapt netmonitor charts to High Contrast Mode. r=devtools-reviewers,bomsy. https://hg.mozilla.org/integration/autoland/rev/6967e4d5d89d [devtools] Display Netmonitor Statistics charts legend in High Contrast Mode. r=devtools-reviewers,bomsy.
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: