microsoft / vscode

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

Accessibility: Keyboard focus indicator is not clearly visible on list options. #212318

Open formulahendry opened 5 months ago

formulahendry commented 5 months ago

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

Copied from: https://github.com/microsoft/vscode-azureapicenter/issues/109

"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier."

Please do not close this bug. This bug should only be closed by Trusted Tester after verification.

GitHub Tags

A11yTCS; #A11yMAS; #A11ySev2; #WCAG2.4.7; #GH_VSCodeextensionforAPICenter_Linux_Apr2024; #DesktopApp; #VS Code Extension for API Center; #Keyboard; #Linux; #FTP;

Environment Details:

Application Name: VS Code Extension for API Center OS: Linux- Ubuntu 22.04.4

Repro Steps:

  1. Create an API center in azure portal.
  2. Open Visual studio Code.
  3. Tab till API center extension in the left side panel and press enter.
  4. Tab till definition under the Api name which you have created, and press enter.
  5. The name which you have provided to the definition will appear for ex-"openapi4", right click on it.
  6. List options will appear.
  7. Navigate using down/up arrow key and observe that Keyboard focus indicator is not clearly visible on list options.

Actual Result:

Keyboard focus indicator is not clearly visible on list options when we navigate using up/down arrow key.

Expected Result:

Keyboard focus indicator should be clearly visible on list options when we navigate using up/down arrow key.

User Impact:

People with low vision often have difficulty perceiving tab focus that have insufficient contrast if Luminosity contrast ratio of visual focus indicator fails to meet the required ratio of 3:1. This can be exacerbated if the person has a color vision deficiency that lowers the contrast even further. Providing a lightness difference of 3:1 or greater can make these items more distinguishable when the person does not see a full range of colors.

Attachment:

109_A11y_VS Code extension for API Center_APICenter_DefinitionFeature_Keyboard

daviddossett commented 4 months ago

@sbatten how do we make changes to context menus in Linux? I thought we used custom menus for windows/web/linux, but it looks like that's not correct.