[BUG][MGT-PEOPLE-PICKER] Remove button in selected-person executes incorrect action with JAWS virtual cursor enabled #3341
Labels
bug
Something isn't working
Needs: Attention 👋
Issue needs attention from mantainers
Needs: Triage 🔍
Describe the bug
In the
mgt-people-picker
component from@microsoft/mgt-elements
, when using JAWS screen reader with the virtual cursor enabled, pressing "Enter" on the "remove" button next to a selected person mistakenly triggers the action associated with the previously selected element rather than removing the selected person. This behavior prevents users from accurately managing selected persons within the component.To Reproduce
Steps to reproduce the behavior:
mgt-people-picker
component in the Storybook (https://mgt.dev/?path=/story/components-mgt-people-picker-html--selection-changed-event).Expected behavior
Pressing "Enter" on the "remove" button should remove the selected person from the list, without triggering unintended actions from other elements.
Screenshots
In the next video, I show how JAWS behaves with the people picker first while the virtual cursor is enabled and seconds with it disabled.
https://github.com/user-attachments/assets/2142c159-391f-443f-89ae-a7503e8d2e50
Environment
OS: Windows
Screen Reader: JAWS
JAWS Versions Tested: 2024.2312.53, 2024.2409.2, 2025.2410.106
Browser: Chrome, Edge
Framework: React, HTML
Environment: Storybook
Additional context
The issue was consistently reproducible across multiple versions of JAWS.
The text was updated successfully, but these errors were encountered: