Accessibility: Child items/dropdown menu items inside a view fails for WCAG 2.2 , SC 4.1.2 Name, Role, Value (Level A)

Open
#321,958 1 comment 0 reactions 1 assignee View on GitHub

@meganrogge is already working on this.

Since Jun 18, 2026.

Assessment

This issue has not been assessed yet.

Description

accessibility

Description:
The ARIA attributes "aria-label" are not valid for the element

with implicit ARIA role "generic"

VS Code Version: 1.119.0
OS Version: Windows 11

Steps to Reproduce:

  1. Open VSCODE
  2. Select Extension
  3. Run accessibility checker on it

Screenshots for views showing this error:

Outline default view showing same issue:

Image Image

Rationale:
This requirement ensures that Assistive Technologies (AT) can gather information about, activate, set, and receive status of all user interface components.

Note: This requirement is primarily for developers who develop or script their own custom user interface components. Standard HTML controls already meet this requirement when used according to specification.

Custom interactive user interface components often do not expose proper role, state, and property information needed for assistive technologies. As a result, people with disabilities have difficulty identifying and interacting with the components. Common examples are custom menus, trees, data grids, accordions, and dialog boxes. Ensuring proper markup and keyboard operation enables people with disabilities to identify and interact with the custom components in the same manner they identify and interact with standard components.

Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.