View Page | Details Panel: Keyboard focus does not return to the triggering element after closing the panel

XMLWordPrintable

    • Severity 3 - Minor
    • Accessibility

      Issue Summary

      The focus does not return to the triggering element after closing the "Details" panel

      Steps to Reproduce

      1. Open the Confluence Cloud homepage.
      2. In the main content area, navigate to and activate the "Action bar" (or expand the action bar).
      3. From the expanded action bar, navigate to the "Show details" button and activate it → the "Details" panel opens.
      4. Close the panel by activating the "Close" button.
      5. Observe that focus moves to the beginning of the page.

      Screen Recording

      Screen Recording 2026-09-04 at 4.56.23 PM.mov

      Actual Results

      On closing the "Details" panel, the programmatic focus does not return to the triggering element. Instead, the focus is lost initially, and after pressing Tab, it moves to the top of the web content.

      This required screen reader users and keyboard-only users to tab pass the content on the page before they can interact with the content after the triggering element.

      Expected Results

      The programmatic focus of users should be set on the triggering element of the panel as soon as the panel is closed.

      In this scenario, after closing the "Details" panel, focus should return to the triggering "Show details" button.

      Set the keyboard focus to the triggering element of the panel using the JavaScript .focus().

      For more information, please refer to the following link: Modal Dialog Example

      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 26.5.2
      Windows - 11 pro
      Chrome - Version 152.0.7977.77 (Official Build) (arm64)
      JAWS - Version 2026
      NVDA - Version 2024.4.2.35031
      Voiceover - Version Latest

              Assignee:
              Alice Wu
              Reporter:
              Anusooya .
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: