Different colors for roles depending on light and dark mode
Color contrast is an important accessibility feature for many light mode users. Role colors are often determined in dark mode, however, leading to contrast issues. As a stark example, having a pure or off white role color is very visible in dark mode, but not visible in light mode. A less clear example is that certain shades of yellow blend in on light mode and can be difficult to see for VI users, but on dark mode these roles don't have this issue.
One solution to this problem is to add an option to each role that enables *separate* coloration depending on light and dark mode. That way, a reasonably high-contrast option could be picked for both, when a dark-mode color would conflict with light-mode visibility and vice versa.
-
Came here to say essentially the same thing, but from the other side - the color contrast for the given "dark brown" and "dark purple" on night-mode dark gray is nigh-invisible, and even "dark blue" is a problem.
Having a given Role display as one color on Light mode and another on Dark Mode would fix it, but would presumably require a new code module. In the short term, it might be easier to just identify a set of colors that's acceptably visible in BOTH settings, and have those be the color options. (Users could still pick custom colors with low contrast, of course, but we can't prevent that - although a warning might be nice, given that there's an easy mathematical formula to check against. If you're not going to meet the official standards, please at least consider that if the ratio isn't greater than 3:1 or so, even those of us with no particular visual impairments will have trouble making it out.)
4 -
I 200% agree. Colour for roles in light mode is a disaster and total flop: https://gyazo.com/c06b35ad57092e5e12ec8397c579d5f4. It really hurts an eye to read it like this. Please do something about it guys, it's not even funny. This has been around for like a year or more. My eyes are bleeding guys!
4 -
agree and need to all of the above.. especially for those individuals with disabilities.. it downright removes them from interacting on servers.
2 -
When light mode needs darker roles for contrast and dark mode needs lighter roles for contrast it only makes sense. If the default "no colors" can switch from white on dark mode to black on light mode, why cant other roles?
0 -
" it might be easier to just identify a set of colors that's acceptably visible in BOTH settings, and have those be the color options."
I think I have a more elegant solution: automatically add a white outline to dark usernames when using dark mode, and a black outline to light usernames when using light mode. Problem solved.0 -
"In the short term, it might be easier to just identify a set of colors that's acceptably visible in BOTH settings, and have those be the color options." This isn't possible. No colors achieve a contrast above 3.4:1 on both light and dark mode, and a minimum of 4.5:1 is required by WCAG.
0
Please sign in to leave a comment.
Comments
6 comments