microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
711 stars 589 forks source link

[Programmatic access - Make Code - Home]: Role attribute does not have an appropriate value for the element. #5475

Closed Keertisree closed 5 months ago

Keertisree commented 7 months ago

User Experience:

Visually impaired users who depend on screen reader will not understand the exact purpose of the controls and will find it difficult to find role of the controls on the page.

Note: User credentials should NOT be included in the bug.

Repro Steps:

  1. Open URL: https://arcade.makecode.com/hardware/raspberry-pi and sign in with valid credentials.
  2. Run Accessibility Insights tool.
  3. Navigate the page.
  4. Verify whether elements with aria roles have all required attributes or not.

Actual Result:

Role attribute does not have an appropriate value for the element. Observation: Screen reader announcing as 'search button' but navigating with swift tab it is announcing as 'Menu search button to move items press down arrow' when focus moves to search button.

Expected Result:

ARIA role form is not allowed for given element.

Note: The same issue exists throughout the application.

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

Target application: Raspberry Pi - https://arcade.makecode.com/hardware/raspberry-pi

Element path: #tocsearch1

Snippet:

Keertisree commented 7 months ago

Accessibility;#A11yMAS;#A11yAuto;#A11ySev2;#K4W;#HCL;#E2E-HCL-MakeCode-Feb2024;#Win11-chrome;#MAS4.1.2

vroopea commented 5 months ago

As checked the issue on URL: https://makecode.microbit.org/. The issue is still repro and severity is fine. #Regressed:04-08-24;InternalReviewed-Apr2024