-
Bug
-
Resolution: Fixed
-
High
-
9.4.0, 8.5.20
-
Severity 3 - Minor
-
-
CtB - Improve Existing
-
Accessibility
Issue Summary
The keyboard focus is not restricted within the "Insert Redirect Macro" modal dialog.
Steps to Reproduce
- Open the Confluence DC instance.
- Navigate to the header section, activate the "Spaces" control, and open any space.
- In the main content area, open any existing page and activate the "Edit" control.
- In the Toolbar, select "Insert more content" and then click on "Other macros".
- In the Search form field, type "Redirect", then activate the "Redirect" control to open the modal dialog.
- Navigate through the dialog content pressing Tab or Shift + Tab keys and observe that the background content receives focus.
Screen Recording
Keyboard Focus Not Restricted.mp4![]()
Actual Results
The keyboard focus is not restricted within the "Insert Redirect Macro" modal dialog. Hence, focus moves on to the background content when users press Shift + Tab keys from the first interactive element or Tab key from the last interactive element of the modal dialog.
This creates a poor experience for keyboard-only users, as it breaks the expected modal interaction pattern.
Expected Results
Ensure that keyboard focus is properly restricted within the modal dialog.
Apply the following changes:
- Prevent focus from moving outside the modal dialog when navigating with the Tab or Shift + Tab keys.
- Ensure that pressing Tab on the last interactive element moves focus to the first interactive element within the modal.
- Ensure that pressing Shift + Tab on the first interactive element moves focus to the last interactive element within the modal.
- Modify the scripts to implement and maintain this focus behavior consistently across all supported browsers.
For information on creating accessible modal dialog refer:
Accessible Modal Dialog Example – W3C
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 Sequoia 15.4.1
Operations - Windows11
Chrome - Version 135.0.7049.42 (Official Build) (64-bit)
Safari- Version 18.4
Firefox- Version 135.0 (64-bit)
JAWS- Version 2023
NVDA- Version 2024.4.2
VoiceOver - Version Latest
- resolves
-
CONFSERVER-99745 Insert SAP ADDRESSBOOK Macro Dialog: Keyboard focus not restricted in modal dialog
-
- Closed
-