Select container element button hover color doesn't adapt to High Contrast Mode
Categories
(DevTools :: Inspector: Rules, defect, P2)
Tracking
(Accessibility Severity:s2, firefox134 wontfix, firefox135 verified, firefox136 verified)
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
(Keywords: no-plan-to-ship)
Attachments
(2 files)
See screenshot (I tweaked the base variable colors so it's easier to spot)
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Comment 1•6 months ago
|
||
Triaging as S2 because UI doesn't adapt to HCM
Assignee | ||
Updated•6 months ago
|
Comment 2•6 months ago
|
||
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.
Comment 3•6 months ago
|
||
For those bugs it's fine to have a different severity than the accessibility severity
Updated•6 months ago
|
Comment 4•6 months ago
|
||
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.
Assignee | ||
Comment 5•5 months ago
|
||
The color is fine now, but we're still setting a non system color on hover
Assignee | ||
Comment 6•3 months ago
|
||
Depends on D228944
Updated•3 months ago
|
Updated•2 months ago
|
Comment 9•1 month ago
|
||
Nicolas, can you provide a minimal test case to use for verification? Thank you.
Assignee | ||
Comment 10•1 month ago
|
||
(In reply to Daniel Bodea [:danibodea] from comment #9)
Nicolas, can you provide a minimal test case to use for verification? Thank you.
- Make sure you're OS has a high contrast theme, and check that you have the following prefs values set
devtools.high-contrast-mode-support: true
browser.display.document_color_use: 2
ui.useAccessibilityTheme: 1
- Go to
data:text/html,<meta charset=utf8><style>html { container-type: inline-size; } @container (width > 0) { body {background: gold; }}</style>Hello
- Open the inspector
- Select the
<body>
element - In the rule view, you should see a crosshair icon in the
@container ✜ (width > 0px) {
line
-> the button should have a high contrast color (it depends of the selected theme, but for example, on Windows, with the Night Sky high contrast theme, the button should be yellow)
Comment 11•1 month ago
|
||
I have verified the default color on the crosshair icon and on hold. These are the results:
Windows 10
- Affected version (v134.0.1):
- High Contrast White: black, white on hover (invisible)
- High Contrast Black: white, black on hover (invisible)
- High Contrast #2: white, white on hover (no hover change)
- High Contrast #1: white, white on hover (no hover change)
- Fixed version (v135.0b5):
- High Contrast White: black, black on hover (no hover change)
- High Contrast Black: white, light blue on hover
- High Contrast #2: white, dark blue on hover
- High Contrast #1: white, green on hover
Windows 11:
- Affected version (v134.0.1):
- High Contrast Aquatic: white, dark blue on hover
- High Contrast Desert: black, white on hover (invisible)
- High Contrast Dusk: light blue, very dark blue on hover (almost invisible)
- High Contrast Night Sky: yellow, dark gray on hover (almost invisible)
- Fixed version (v135.0b5):
- High Contrast Aquatic: white, light blue on hover
- High Contrast Desert: black, brown on hover
- High Contrast Dusk: light blue, slightly darker blue on hover
- High Contrast Night Sky: yellow, light blue on hover
MacOS 11:
-
Affected version (v134.0.1):
Increase contrast enabled: dark gray, white on hover (invisible) -
Fixed version (v135.0b5):
Increase contrast enabled: dark gray, light gray on hover
Ubuntu 22:
-
Affected version (v134.0.1):
High Contrast Enabled: black, white on hover (invisible) -
Fixed version (v135.0b5):
High Contrast Enabled: black, blue on hover
In conclusion, the hover color of the container button is now considerably improved. Most importantly, it no longer disappears when it is in hover mode. Closing report as verified. Thank you.
Updated•1 month ago
|
Description
•