Closed Bug 1843335 Opened 2 years ago Closed 2 years ago

Color contrast is not sufficient for the highlight used for filtered properties on Light theme

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(Accessibility Severity:s2, firefox121 fixed)

RESOLVED FIXED
121 Branch
Accessibility Severity s2
Tracking Status
firefox121 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(2 files)

Color contrast is not sufficient for the highlight used for filtered properties on Light theme:
the color contrast ratio is 1.7:1 for the light yellow highlight backround against white page background while it’s expected to be 3:1 and higher for essential UI and color-only indication

besides changing the color of the highlight, it’s possible to add a visual icon, side border or any other filter indication to the highlighted properties to avoid relying on color alone

Keywords: access
Accessibility Severity: --- → s2
Severity: S2 → 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)
Flags: needinfo?(jdescottes)

Since it would be tricky to get a color that would give us a good contrast,
we add a bottom border to matching elements to differentiate them from the
other ones.
This also matches the style that we have in Debugger search results.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Attachment #9357849 - Attachment description: Bug 1843335 - [devtools] Add border to matching filter element in rules view. r=#devtools-reviewers,ayeddi. → Bug 1843335 - [devtools] Add border to matching filter element in rules view. r=#devtools-reviewers,#accessibility-frontend-reviewers.
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6e0f177caa13 [devtools] Add border to matching filter element in rules view. r=devtools-reviewers,ochameau,accessibility-frontend-reviewers,ayeddi.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: