microsoft / pxt-microbit

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

[Programmatic Access - Make code - About monster]: Links present on the 'About monster racer' page do not have discernible text. #5495

Closed vroopea closed 7 months ago

vroopea commented 9 months ago

User Experience:

Visually impaired people who depend on screen readers for navigation will get impacted if the screen reader does not announce the accessible name for the links. Due to which the end user will not be able to able to use the blocks.

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

Repro Steps:

  1. Launch application URL: https://arcade.makecode.com/skillmap/educator-info/racer-map-info/.
  2. About monster racer page opens. Turn on the AI (Accessibility Insights).
  3. Verify whether discernible text is defined for the links present on the page or not.

Actual Result:

Issue: Links present on the 'About monster racer' page do not have discernible text.

Observation: When focus lands on the links, the screen reader announces as "Link".

Expected Result:

Accessible name should be defined for all the links which are present on the 'About monster racer' page.

Example: Aria-label="Place on random tile" should be defined.

Issue:

Ensures links have discernible text (link-name - https://accessibilityinsights.io/info-examples/web/link-name)

Target application:

About Monster Racer - https://arcade.makecode.com/skillmap/educator-info/racer-map-info

Element path:

table:nth-child(17) > tbody > tr:nth-child(2) > td:nth-child(2) > .link.ui:nth-child(5)

Snippet:

<a class="ui link" href="/reference/tiles/place-on-random-tile">

How to fix:

Fix all of the following:

Fix any of the following:

MAS Reference:

MAS 4.1.2 – Name, Role, Value

ARIA Authoring Ref Link/Fluent Patterns Guidance /HITS Guidance:

link-name

UIA/DOM details available:

Yes (Refer the attachment)

Reference Links:

Test Environment:

vroopea commented 9 months ago

Accessibility;#A11yMAS;#A11ySev2;#MAS4.1.2;#A11yAuto:#K4W;#HCL;#Benchmark;#Win11-Chrome;#E2E-HCL-MakeCode-Feb2024;#WCP