Skip to content
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

Tab With Problems - Improve Accessibility for Colorblind People #233844

Open
titouandk opened this issue Nov 14, 2024 · 0 comments
Open

Tab With Problems - Improve Accessibility for Colorblind People #233844

titouandk opened this issue Nov 14, 2024 · 0 comments
Assignees

Comments

@titouandk
Copy link

titouandk commented Nov 14, 2024

After several years of using VSCode as a colorblind guy, I realised that tabs also change colors when the file has errors 😅

Tabs that have uncommitted changes are signaled with this text color:
Image

Tabs with problems are signaled with this text color:
Image

Those text colors are very similar for colorblind people.

Proposed solutions

  • My favorite solution: Displaying a custom icon "⚠️" on the tab, instead of showing the file type icon (VueJS in our example).

Here is an example of the Problems tab icon when placed in the right sidebar (alongside copilot):
Image

So this icon could be used as the file icon in the tab, when a file has problems:
Image

  • With bold text when there is an error.
  • With colors that have a higher luminance gap between them. (That you could differentiate easily even if you applied a grayscale filter on your screen.)
  • With a red bar instead of a blue bar on the top of the tab (this solution will probably not be enough on its own).

Image

Short term mitigations

I moved the problem tab away for the bottom bar to the left sidebar.

Problems display on the bottom bar was very discreet (grey color for the tag, and away from the eyes at the bottom of the screen):
Image

It is more obvious in the sidebar:
Image

@titouandk titouandk changed the title Tab Problem Warning Is Not Colorblind Proof Tab Color - Improve Accessibility for Colorblind People Nov 14, 2024
@titouandk titouandk changed the title Tab Color - Improve Accessibility for Colorblind People Tab With Problems - Improve Accessibility for Colorblind People Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants