Skip to content

Programmatically incorrect role 'generic" is provided for "Error" control.: A11y_TypeSpec_Playground_Name Role Value #8559

@kupatkar99

Description

@kupatkar99

GIT Hub Tags:

#A11yTCS; #A11ySev2; #TypeSpec; #GH_TypeSpec_Web_Sept2025; #DesktopWeb; #A11yMAS; #WCAG4.1.2; #Name Role Value; #AILimited; #Win11; #FTP; #ChromiumEdge; #Developer Tool;

Environment and OS details:

Application name: typespec.io
URL: https://typespec.io/
ChromiumEdge Version: 140.0.3485.66 (Official build) (64-bit)

Reproduction Steps:

  1. Open url "https://typespec.io/playground/?sample=API+versioning" and login with valid Credentials.
  2. "TypeSpec Playground" Page will get open.
  3. Edit the Code with some errors.
  4. TAB till Error button in bottom of the editor Error Section.
  5. Observe the issue whether Correct role property is provided to "Error" button or not.

Actual behavior:

Programmatically incorrect role 'generic" is provided for "Error" control.

Expected behavior:

Programmatically suitable role "button" Should be provided for "Error" Control.

User Impact:

Screen Reader users will not be able to get information about the control is role is not programmatically defined.

Attachment:

Image

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions