Closed neoncitylights closed 3 years ago
Thanks for pointing this out, I think it's an issue with Firefox and Edge not making full use of the native dropdown. It seems to use the native dropdown everywhere else, including Chromium-based browsers. I chose to use native un-styles dropdowns instead of custom ones to avoid issues like this, but I guess I didn't test it enough with Firefox and Edge😅.
Sounds like an easy fix, so I'll hopefully fix it this week. Thanks again!
@neoncitylights should be fixed now, thanks for your help. Still not 100% with the fix, as it's still not using the native dropdown selector on Edge and Firefox when I apply a "color" or "background" property to the dropdown, but at least it has contrast again. I'm surprised no one brought this up earlier, I'll get into the habit of testing new updates in different browsers from now on.
When using your OS's native dark mode, there is a low amount of contrast between the white (
#ffffff
) background of select menu, and#e0e0e0
(very close to white) color for select menu options, which is a 1.32:1 WCAG contrast ratio. This makes the menu harder to read.Steps
System Preferences > General > Appearance > Dark
#fff
background of select menu, and#e0e0e0
(very close to white) color for select menu options.Proposed solution
Using the same text color from buttons:
Edit: While submitting this, it would probably make more sense to instead make the select menu have a dark background color so it blends in with everything else, oops 😅
Notes
#252525
using the CSS aboveSystem Preferences > General > Accent color
. E.g, choosing blue will make it equal to#0063e1
. The default style for options is declared from the user agent stylesheet rules (being the CSS system color keywords):select:focus > option:checked, select:focus > optgroup > option:checked { background-color: Highlight !important; color: HighlightText !important; }