vscode-webview-ui-toolkit
vscode-webview-ui-toolkit copied to clipboard
A11y Testing for vscodeedu.com - VS Code UI Toolkit doesn't adapt to Windows High Contrast themes
Context: Pasted below is a the contents of a linked bug from vscode for edu testing. We use vscode.dev + the vscode webview UI toolkit to provide our UI. In a recent accessibility pass we had a couple of bugs filed that I believe the UI toolkit would need to either resolve or make the choice to not resolve for now.
For this issue the overall Windows visual theme is changed to either high contrast aquatic or desert themes. In the browser window it's expected that the theming would now match this choice. Personally I think that the VS Code theme choices would cover this, but not sure if that meets overall A11y accessibility requirements.
Original bug: https://github.com/microsoft/vscode-edu-extension/issues/1078
Text of Original bug:
Describe the Bug
In High contrast (desert/aquatic) theme focus is not visible on the “checkbox” Note:
- Similar issue is observed in Example True/False Question page scenarios also.
- Similar issue is observed on "overview", "Objectives", "Prerequisites" tabitems.
Github Tags: #A11yMAS; #A11yTCS; #A11ySev2; #DesktopWeb; #Visual Studio Code For Education ; #GH-VisualStudioCodeforEducation-Web-Aug2023; #MAS4.3.1; #No Disruption of Accessibility Features; #High Contrast; ; #Get Healthy; #ChromiumEdge; #Win11;
Steps to Reproduce
- Launch the application using URL: https://vscodeedu.com/.
- "Visual Studio Code for Education" screen will get open.
- TAB till "login" control and hit ENTER.
- Courses tab will get open.
- TAB till "My Courses" tab.
- TAB till "Start" control and hit ENTER.
- TAB till "Introduction to Python" control present in the left navigation and hit ENTER.
- TAB till "Unit 1" control and hit ENTER.
- TAB till "Start" control present in "Unit 1 - Getting Started" section and hit ENTER.
- "Welcome" screen will appear.
- TAB till "Next" control and hit ENTER until "Example: Multiple Choice Question" screen appears.
- "Example: Multiple Choice Question" screen will appear.
- Verify whether In High contrast (desert/aquatic) theme focus is visible on the “checkbox" or not.
Expected behavior
In High contrast (desert/aquatic) theme focus is should be visible on the “checkbox" and “radio buttons”.
Screenshots / Video