microsoft-graph-toolkit icon indicating copy to clipboard operation
microsoft-graph-toolkit copied to clipboard

[MGTP-Planner-Docs-More option]: Task automatically removed when pressing Esc key to collapse "More Options" button.

Open Raisul123 opened this issue 3 months ago ā€¢ 1 comments

Test Environment: OS Build: Windows 11ā€Æ Version: 24H2 (OS Build 26058.1400)ā€Æ Browser: Edge devā€Æ Browser Version 123.0.2400.1 (Official build) dev (64-bit) URL: Overview - Docs ā‹… Storybook (mgt.dev)

Repro Steps:

  1. Open the above URL.
  2. The ā€˜Microsoft Graph Toolkit Playground' Overview page will get displayed.
  3. Navigate to the ā€˜MGTP-Plannerā€™ and activate it.
  4. Navigate to the ā€˜Docsā€™ and activate it.
  5. Navigate to the ā€˜More optionā€™ three dotted button and activate it.
  6. Navigate to ā€œDelete Taskā€ using Tab key.
  7. Press Esc key to collapse ā€˜More optionā€™ button.
  8. Observe the issue.

Actual Result: Task automatically removed when pressing Esc key to collapse "More Options" button.

Expected Result: Task should not remove when pressing Esc key to collapse "More Options" button. After Pressing Esc key ā€œMore optionā€ should collapse.

User Impact: It will be difficult for the keyboard users to close expanded list and to perform functionality if the Task automatically removed when pressing Esc key to collapse "More Options" button. Hence, they are blocked from performing action.

ā€œ Have feedback on bugs logged, please tag bug as ā€œA11yRCAā€œ and add your feedback in the comment section. ā€œ

Attachments:

https://github.com/microsoftgraph/microsoft-graph-toolkit/assets/23114460/912c4fa9-9581-4e7c-ba97-90c182cbf581

Raisul123 avatar Mar 08 '24 10:03 Raisul123

The escape key press while the delete button is focused is causing the delete button to be clicked.

This also happens for a tab key press.

gavinbarron avatar Mar 08 '24 19:03 gavinbarron