microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.35k stars 6.5k forks source link

[Power Toys-Genera]: Keyboard focus gets lost after pressing tab and after pressing tab twice it lands on the expected control. #32222

Open Anshi0420 opened 6 months ago

Anshi0420 commented 6 months ago

Microsoft PowerToys version

v0.79.0

Installation method

PowerToys auto-update

Running as admin

None

Area(s) with issue?

General

Steps to reproduce

Test environment: OS Build: Windows 11 Enterprise insider preview 23H2 (22631.3296) Power toys version: v0.79.0

Repro Steps:

  1. Open the Power Toys app in the desktop.
  2. Select the general option from left navigation pane.
  3. Now activate the Check for update button.
  4. And now navigate to the Administrator mode section.
  5. Observe the keyboard focus.

User Experience: Users who rely on keyboard navigation may find it inconvenient and confusing when the keyboard focus is lost unexpectedly. This behavior interrupts the flow of navigation and requires users to press the tab key multiple times to reach the desired control.

Guideline reference: https://www.w3.org/WAI/WCAG22/Understanding/focus-order

Attachments:

https://github.com/microsoft/PowerToys/assets/117908911/5cf332ae-2cfc-4996-9397-3fc44dc167c9

✔️ Expected Behavior

When navigating through the editor using keyboard focus, pressing the tab key should move the focus sequentially to each interactive element. After pressing the tab key once, the focus should move to the next interactive element, and after pressing it again, the focus should land on the expected control, such as the Running as user list item.

❌ Actual Behavior

Currently, when navigating through the editor using keyboard focus and pressing the tab key, the focus is lost after the first tab press. After pressing the tab key again, the focus eventually lands on the expected control.

Other Software

No response

github-actions[bot] commented 6 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.