Test Environment:
OS Version: 22H2 (OS Build 25370.1)
Browser: Edge Dev (Version 115.0.1866.1 (Official build) dev (64-bit))
URL: https://tsdoc.org/
Repro Steps:
Open the above URL in edge dev browser and login with v-.
Run the fast pass of accessibility insights for web.
Observe the issue on 'Search' button and activate it.
Now navigate on the 'Search' dialog and press Esc key to close the dialog.
Actual Result:
Keyboard focus is not retaining back to the 'Search' button on pressing Esc key to close the 'Search' dialog.
Keyboard focus is getting lost and on pressing tab keyboard focus is landing on the 'Roadmap' link in header.
Expected Result:
On pressing Esc key to close the 'Search' dialog, keyboard focus should retain back to the 'Search button'.
User Impact:
Keyboard dependent user will get impacted as user will have difficultfy inidentifying the keyboard focus and have to renavigate to content to land on 'Search' button.
Test Environment: OS Version: 22H2 (OS Build 25370.1) Browser: Edge Dev (Version 115.0.1866.1 (Official build) dev (64-bit)) URL: https://tsdoc.org/
Repro Steps:
Actual Result: Keyboard focus is not retaining back to the 'Search' button on pressing Esc key to close the 'Search' dialog. Keyboard focus is getting lost and on pressing tab keyboard focus is landing on the 'Roadmap' link in header.
Expected Result: On pressing Esc key to close the 'Search' dialog, keyboard focus should retain back to the 'Search button'.
User Impact: Keyboard dependent user will get impacted as user will have difficultfy inidentifying the keyboard focus and have to renavigate to content to land on 'Search' button.
WCAG Reference Link: https://www.w3.org/WAI/WCAG21/Understanding/focus-order.html
Have feedback to share on Bugs? Please help fill Trusted Tester Bug Feedback (office.com)"
https://github.com/microsoft/rushstack-websites/assets/104483005/e60dd7d9-2547-4d4c-b879-5509bd2c53f2