Skip to content

Ensure role attribute has an appropriate value for the element (.feature-card[href$="agents"][role="listitem"]): A11y_code.visualstudio.com_AI4W #9581

@kapilvaishna

Description

@kapilvaishna

GitHub Tags:

#A11yTCS; #A11yMAS; #A11ySev2; #DesktopWeb; #ChromiumEdge; #Win11; #Visual Studio Code Services; #E2E_Visual Studio Code Services_Web_Jan26; #WCAG4.1.2; #Name Role Value; #ES Chat; #WCP; #P1_WCP; #aria-allowed-role; #Closed; #A11yFixed;

"Please do not close this bug. This bug should only be closed by TCS, C+AI Accessibility tester after bug verification."

"Leveraging SWE Agent can help accelerate this accessibility bug fix; review and validate all AI generated changes before merge."

Try ES Chat to learn more about the MAS rule and how to fix the issue. If you need more help, use our Teams channel or office hours.

Environment Details:

Application Name: Visual Studio Code Services
URL: https://code.visualstudio.com/docs
Chromium Edge: Version 145.0.3800.97 (Official build) (64-bit)
Edition: Windows 11 Enterprise Insider Preview
Version: 24H2
OS build: 26544.1000

Repro steps:

  1. Hit the URL: https://code.visualstudio.com/docs
  2. Visual Studio Code Documentation page will get open.
  3. Run accessibility Insights for Web.
  4. Observe the issue.

Issue:

Ensure role attribute has an appropriate value for the element (aria-allowed-role - https://dequeuniversity.com/rules/axe/4.10/aria-allowed-role?application=msftAI)

Target application:

Documentation for Visual Studio Code - https://code.visualstudio.com/docs

Element path:

.feature-card[href$="agents"][role="listitem"]

Snippet:

How to fix:

Fix any of the following:
ARIA role listitem is not allowed for given element
Environment: Microsoft Edge version 145.0.0.0

====

This accessibility issue was found using Accessibility Insights for Web 2.46.0 (axe-core 4.10.2), a tool that helps find and fix accessibility issues. Get more information & download this tool at http://aka.ms/AccessibilityInsights.

Attachment:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions