-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 10.3.1
-
Component/s: Accessibility
-
10.03
-
Severity 2 - Major
Issue Summary
When the modals dialogs are dismissed using "Cancel/ESC" buttons, focus moves to the top of the page rather than moving on the triggering element.
Steps to Reproduce
- Open DC project.
- Activate the "Backlog" link from side navigation.
- Activate "Context menu of issues" button.
- Activate "Archive / Delete / Split issue / Add comment" buttons.
- Observe that the modal dialogs appear.
- Dismiss the modals using "Cancel/ESC" buttons.
- Observe that the focus moves at the top of the page rather than moving on the triggering element.
Screen Recording
Screen Recording 2025-01-21 at 1.49.29 PM.mov![]()
Actual Results
On closing the "Archive", “Delete“, "Add flag and comment" and "Split issue" modal dialogs, the programmatic focus does not return to the triggering element. Instead, the focus is updated to the beginning of the page. This required screen reader users and keyboard-only users to tab pass the content on the page before they could interact with the content after the triggering element.
Expected Results
The programmatic focus of users should be set on the triggering element of the dialog as soon as the dialog is closed.
Set the keyboard focus to the modal dialogs' respective “Context menu” buttons of issues triggering element using the JavaScript .focus().
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Environment
MacBook Pro (16-inch, 2021)
macOS Sonoma Version 14.1
Chrome - Version 131.0.6778.265 (Official Build) (arm64)
Firefox- 134.0.1 (64-bit)
Safari- Version 18.2 (19620.1.16.111.6, 19620)
JAWS- Version 2023
NVDA- Version 2023.2
Voiceover - Version Latest