-
Notifications
You must be signed in to change notification settings - Fork 7
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
Improve accessibility, particularly relating to color #353
Comments
One comment I've seen over and over again about accessibility is that we shouldn't be depending just on color. |
Additional note re colors: At the moment, something like highlighting ("spotlighting" in the code to distinguish from other highlights) is set to have an orange background, and either black or white text depending on if the theme is light or dark. However, in the "default" theme case, the current code assumes it's "light" and sets the text color to be black on orange. If, as is possible on a Mac, the default theme follows the system theme, the default may actually be dark with white text. The highlighted text is then black on orange when it should really be white on orange. One solution would be to leave the Text foreground color unchanged, so it matches the rest of the text, but with an orange background. However, suppose your Mac theme had orange text - it would then be unreadable against an orange background. So, it appears as though it is necessary to set the fg as well as the bg color. All of the above may be irrelevant depending on if/how/how many colors we make user-configurable. |
A couple of comments: My impression (and I don't remember where I read/heard this) is that if you're setting a background color, you should always set the text color, also. Mind you, this is mainly as applied to HTML/CSS, but I see a parallel here. I think, as long as you set both bg and fg colors to be readable, it doesn't really matter what theme the user has set, it's still readable. I certainly don't object to having black text on a lighter highlight/spotlight if the spotlight needs to be light. |
I know we're not quite ready for beta releases yet, but I would not delay the first beta release for this, even if it is tagged as a core feature. I think that ultimately, we need input from the community, especially those who have accessibility needs. |
At the moment, things like the key bit of text in a checker dialog error message are shown highlighted in the same foreground and background colors as the OS scheme "selected text" (e.g. Windows default is white text on blue background).
Some may not find colors distinguish the text sufficiently.
Therefore:
The text was updated successfully, but these errors were encountered: