Details
-
Bug
-
Resolution: Fixed
-
Low
-
9.7.0
-
9.07
-
Severity 3 - Minor
-
Description
Issue Summary
When the users close the modal dialog the focus moves inappropriately instead of moving to the triggering element.
Steps to Reproduce
- Navigate to “Boards” menu pop-up link and activate it.
- Navigate to “View all Boards” link and activate it.
- Navigate to the “More action” button and activate it.
- Navigate to "Delete" link and activate it.
- Modal dialog gets available.
- Navigate to the “Cancel” button in the modal dialog box and activate it.
- Observe the focus moves inappropriately.
Actual Results
When the users activate the “Cancel” button in the modal dialog (that becomes available on activating the “Delete link), the focus moves to the “Main content” instead of moving to the triggering element.
As a result, keyboard-only and screen reader users need to pass the extra content to reach the desired element.
Expected Result
Ensure that the keyboard focus moves to the triggering element when the modal dialog gets closed on the page.
Screen Recording
Screen Recording 2023-04-14 at 2.02.44 PM.mov
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Environment
MacBook Pro (13-inch, 2020)
macOs Ventura 13.3.1
Chrome - Version 108.0.5359.124 (Official Build) (64-bit)
Firefox- Version 92.0 (64-bit)
Safari- Version 16.2 (18614.3.7.1.5)
JAWS- Version 2021
NVDA- Version 2021.2
Voiceover - Version Latest