Tooltip caret markers invisible in about:preferences when HCM is active
Categories
(Firefox :: Settings UI, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: morgan, Assigned: fchasen)
References
(Blocks 1 open bug)
Details
(Keywords: access, Whiteboard: [fidefe-Quality-Foundation])
Attachments
(7 files)
STR:
In System Preferences > Accessibility > Display, check the "Increase Contrast" checkbox.
- Navigate to about:preferences
- In the in-content search bar, type a letter that corresponds to an access key (ex. "a")
Expected:
Occurrences of the letter are visibly highlighted within the page and a tooltip appears over buttons whose spawned popup includes the text.
Actual:
The tooltips are unreadable because they feature white text on a white background. They should probably use the same highlight color.
A related issue is reproducible with FF-level HCM instead of OS-level HCM:
(Ensure no box is checked in System preferences)
- In about:preferences, scroll to Language & Appearance, click "colors" and select "always" in the dropdown
- Hit OK
- As above, search for text in the in-content search bar (ex. "a")
Expected:
tooltips are rendered in tightly wrapped boxes with a small arrow denoting the button or dropdown they pertain to
Actual:
tooltips are rendered in tightly wrapped boxes with black squares partially obscuring content below them (no arrows are visible)
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 1•3 years ago
|
||
Reporter | ||
Comment 2•3 years ago
|
||
Reporter | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•2 years ago
|
||
OS-level HCM tooltips in Dark mode
Comment 5•2 years ago
|
||
OS-level HCM tooltips in Light mode
Comment 6•2 years ago
|
||
Firefox-level HCM tooltips without arrows
Comment 7•2 years ago
•
|
||
Tested on MacOS Monterey v.12.1 with Nightly build 98.0a1 (2022-01-21) (64-bit), locally built from the mozilla-unified.
It appears that the only issue remaining is the lack of arrows for Firefox-level HCM, as OS-level HCM appears to work as expected for both Dark and Light modes/themes as on screenshots added above
Comment 8•2 years ago
|
||
The severity field for this bug is set to S3. However, the accessibility severity is higher, [access-s2].
:jaws, could you consider increasing the severity?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Actually, if this is now only about the arrows being blocks rather than arrows, is this still S2? (And, can we easily fix this on the front-end side? It looks like we're filling in foreground color across the image used for the arrow... which I think we can't change with CSS?)
Reporter | ||
Comment 10•2 years ago
|
||
(In reply to :Gijs (he/him) from comment #9)
Actually, if this is now only about the arrows being blocks rather than arrows, is this still S2? (And, can we easily fix this on the front-end side? It looks like we're filling in foreground color across the image used for the arrow... which I think we can't change with CSS?)
I'm not familiar with how the arrow gets drawn here :( I looked at it in the inspector and it seems like it's a pseudoelement on the actual <span> the tooltip is contained in?
It looks like this is still an issue if I forcibly disable backplate (browser.display.permit_backplate=false) so it probably has to do with how we do color inheritance, but I can't say if that's a style-system issue or something else.
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 11•1 year ago
|
||
I don't think we currently don't apply any styles on psuedo elements in HCM (so transparency wouldn't be applied).
Now that https://bugzilla.mozilla.org/show_bug.cgi?id=1591210 landed, we should be able to fix this by adding forced-color-adjust: none
.
I just tested it with layout.css.forced-color-adjust.enabled
pref on and it the arrow look as expected when I added that adjust rule.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 12•1 year ago
|
||
Adds "forced-color-adjust: none" to the search tooltip psuedo styles in preferences.css to disable any backplating in forced color mode.
High contrast color are now specified in a forced-colors media query.
Comment 13•1 year ago
|
||
Pushed by fchasen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7cf4e898abf8 Fix color of tooltip caret markers for about preferences in forced color mode r=desktop-theme-reviewers,mossop,Itiel
Comment 14•1 year ago
|
||
bugherder |
Updated•11 months ago
|
Description
•