Open
Bug 2095594
Opened 9 days ago
Updated 9 days ago
Toolbar "dot" badges using badge-blue.svg have no forced-colors (high contrast) treatment
Categories
(Toolkit :: Themes, defect)
Toolkit
Themes
Tracking
()
NEW
People
(Reporter: gstoll, Unassigned)
References
Details
Three toolbar badges draw a dot using chrome://global/skin/icons/badge-blue.svg as a background image:
- #remote-control-toolbar-button (browser/themes/shared/toolbarbutton-icons.css)
- .toolbarbutton-badge.feature-callout (browser/themes/shared/toolbarbuttons.css)
- (in enterprise-firefox only right now) the Content Analysis button's [badge-status="local-copy"] badge (browser/themes/shared/toolbarbutton-icons.css), added in bug 2074118
The SVG has fixed cyan/blue fills and partial-opacity strokes. Forced colors mode doesn't adjust SVG fill and stroke, and none of these rules has a @media (forced-colors) alternative. So with a high-contrast theme the dot may blend into the toolbar or clash with the user's palette.
Instead, we should make it so in forced colors mode the dot uses system colors, for example a background-color: SelectedItem circle with a CanvasText outline instead of the image, or a context-painted monochrome SVG at full opacity.
You need to log in
before you can comment on or make changes to this bug.
Description
•