microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.58k stars 6.56k forks source link

[Power Toys-System Tool >Text Extractor]: Name is not defined for the Cancel icon button on Power Toy Text Extractor. #36038

Open Suriya617 opened 1 day ago

Suriya617 commented 1 day ago

Microsoft PowerToys version

0.86.0

Installation method

PowerToys auto-update

Running as admin

None

Area(s) with issue?

TextExtractor

Steps to reproduce

Test Environment: OS Build: Windows 11 version Dev (OS Build 27749.1000) Application: Power toys version: v0.86.0 Screen reader: Narrator

Repro Steps:

  1. Open the Microsoft PowerToys app and turn on Narrator.
  2. Go to the "System Tools" tab and expand it.
  3. Use the down arrow key to navigate to "Text Extractor" and press Enter.
  4. Toggle on the "Enable Text Extractor" option.
  5. Press "Windows+Shift+T".
  6. Use the Tab key to navigate to the "Cancel" button and listen for the announcement.

Note: When navigating to this button with JAWS or NVDA, these screen readers only announce the role ("button") without the name.

User experience: Screen reader users are unable to understand the purpose of the Cancel button as it lacks a proper accessible name. This creates usability challenges, especially for users relying on assistive technologies.

Guideline Reference: https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html

✔️ Expected Behavior

The "Cancel" button should be announced with the name first, followed by the role.

❌ Actual Behavior

When navigating to the "Cancel" button, Narrator announces it as "button cancel," which seems unusual. Typically, the name of the control is announced first, followed by its role.

Other Software

https://github.com/user-attachments/assets/dd94b751-5d89-46bd-842e-27b443c4445c