Ask Rovo: Keyboard focus does not return to the triggering element of non-modal dialog

XMLWordPrintable

    • 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

      1. Open the Confluence Cloud homepage.
      2. Navigate to the “Ask Rovo” button in the header section and activate it.
      3. Using the keyboard and a screen reader, navigate to the “Close” button and activate it.
      4. 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

      Focus Management Issue

      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

       

              Assignee:
              Unassigned
              Reporter:
              Chirag Goyal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: