-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
High
-
Component/s: Extensibility - Global/General Page
-
Severity 3 - Minor
-
Accessibility
Issue Summary
The focus does not return to the “Ask Rovo” button when the Rovo Chat dialog is closed.
Steps to Reproduce
- Open the Confluence Cloud homepage.
- Navigate to the “Ask Rovo” button in the header section and activate it.
- Using the keyboard and a screen reader, navigate to the “Close” button and activate it.
- Observe that the focus does not return to the triggering “Ask Rovo” button; instead, it moves unexpectedly to the top of the page.
Screen Recording
Actual Results
When the “How can I help, Chirag?” Rovo Chat non-modal dialog is closed, programmatic focus does not return to the triggering “Ask Rovo” button. Instead, focus moves to the beginning of the page, requiring screen reader and keyboard-only users to navigate through the page content before they can interact with content following 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.
Use JavaScript’s .focus() method to move keyboard focus back to the triggering element.
For information on creating accessible modal dialog refer https://www.w3.org/WAI/ARIA/apg/example-index/dialog-modal/dialog.html
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Environment