New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Making ship market comparison colors colorblind friendly #5715
Conversation
Adding two new colors: compare_worse and compare_better Worse is the same as warning_300, which was used previously for the ship market comparison. Better became a saturated blue. Updated the ship market to use these two.
In good "a camel is a horse designed by committee"-fashion: I wonder if it's possible to have two color palettes, one for colorblind, then more things could be tweaked. I suspect many of our players are colorblind, so this is an issue that we should always consider. |
I thought about that too. Would be nice to provide the option in the settings. |
@nozmajner this looks similar enough to the Do note that the Ideally, this PR should define |
Okay, will read, will do! |
Better now uses accent_300 Worse reverted to warning_300
This is pretty good. Ran the preview image through a set of colorblind filters and it retains visual differentiation beyond just the icons, however it looks like my |
AFAIK, blue/green isn't as much of a problem for colorblind accessibility the way red/green is. Most colorblind people can still differentiate blue from everything-else, and contrast plays a big part there. Additionally, introducing orange/red into those icons runs the risk of semantic leakage - blue/orange pairs are used to indicate good vs. bad choices, but export/import is a "neutral" concept. |
OK. objection withdrawn. |
I've changed the coloring of better stats from green to a saturated blue to provide much more contrast for colorblind folks. The red-green pairing can be really hard to distinguish. This pairing should provide better contrast to all four types of color blindness.
I've added two new colors to the theme:
compare_worse - kept the orange-ish red of warning_300
compare_better - added a saturated blue of similar lightness. Could have gone brighter, but then it competed with the white.
And changed the market lines to use these new colors. These could then be used on the eqipment market later too.
(I've also just created an Accessibility tag on github)
Before:
After: