microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.42k stars 29.34k forks source link

Acccessibility: Java Icon violates 1.4.3 Contrast requirement #233931

Open gagan-h-hegde opened 4 hours ago

gagan-h-hegde commented 4 hours ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

First set the Preferences to Dark Mode [ cmd + shitf + p] -> preferences : Color Theme -> e.g. Dark Modern or any dark mode option. Open any Java file. Validate the Java icon on side panel on the left.

Image

Color Contrast for "J" symbol for generated java classes under WCA4z Side Panel violates 1.4.3 Contrast requirement. This "J" symbol can also be seen in the tab view as well which also violates the requirement as shown below:

Image

This icon will change colour between themes, for example the hex value in Dark Modern theme is #cc3e44, while in Light Modern it's #b8383d. As per the the guidelines there should be a minimum contrast ratio of 4.5:1.

vs-code-engineering[bot] commented 4 hours ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.95.3. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

gagan-h-hegde commented 4 hours ago

Double checked with the updated version of VSCode(1.95.3) , the issue still persists.