Issue Summary

      When the "Versions" and "Epics" sections are dismissed using the "Close version panel" and "Close epics panel" buttons respectively, the focus moves at the "Toggle swimlane visibility" button rather then moving back to the "Versions" and "Epics" buttons. 

      Steps to Reproduce

      1. Open DC project.
      2. Activate the "Backlog" link from side navigation. 
      3. Activate the "VERSIONS" and "EPICS" buttons. 
      4. Navigate through page using TAB key using the keyboard. 
      5. Navigate through the modal using the down arrow (JAWS/NVDA) and Control+Option+left/right arrow (VoiceOver).
      6. Observe that the these sections are opened. 
      7. Close these sections using the e "Close version panel" and "Close epics panel" buttons. 
      8. Observe that the on closing the sections focus moves at the "Toggle swimlane visibility" button instead of the"Versions" and "Epics"  buttons. 

      Screen Recording

      Screen Recording 2025-01-17 at 4.23.55 PM.mov

      Actual Results

      When the "Versions" and "Epics" sections are dismissed using the "Close version panel" and "Close epics panel" buttons respectively, the focus moves at the "Toggle swimlane visibility" button rather then moving back to the "Versions" and "Epics" buttons. As a result, the screen reader users might feel disoriented. 

      Expected Results

      Make sure that the focus move at the logical element on closing the "Versions" and "Epics" sections. Make sure that the on closing the sections focus moves at the "Versions" and "Epics" buttons. This can be achieved by using the JavaScript focus() method. 

      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

            [JSWSERVER-26275] Backlog: Focus moves inappropriately

            Richard Atkins made changes -
            Labels Original: 2.4.3 Level-A WCAG2.2 a11y-triaged ax-at-user ax-bug ax-high-priority ax-jiradc-vpat-2025 ax-jiradc-vpat-2025-backlog ax-kb-user ax-qa New: 2.4.3 Level-A WCAG2.2 a11y-triaged ax-at-user ax-bug ax-high-priority ax-jira-dc-vpat ax-jira-dc-vpat-Backlog ax-jiradc-vpat-2025 ax-jiradc-vpat-2025-backlog ax-kb-user ax-qa
            Bilal Cinarli made changes -
            Labels Original: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jiradc-vpat-2025 ax-jiradc-vpat-2025-backlog ax-kb-user ax-qa New: 2.4.3 Level-A WCAG2.2 a11y-triaged ax-at-user ax-bug ax-high-priority ax-jiradc-vpat-2025 ax-jiradc-vpat-2025-backlog ax-kb-user ax-qa
            Sameer Shaikh made changes -
            Priority Original: Medium [ 3 ] New: Low [ 4 ]
            Shruti Chabukswar made changes -
            Labels Original: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jira-vpat-2025-backlog ax-jiradc-vpat-2025 ax-jiradc-vpat-2025-backlog ax-kb-user ax-qa New: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jiradc-vpat-2025 ax-jiradc-vpat-2025-backlog ax-kb-user ax-qa
            Shruti Chabukswar made changes -
            Labels Original: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jira-vpat-2025-backlog ax-jiradc-vpat-2025 ax-kb-user ax-qa New: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jira-vpat-2025-backlog ax-jiradc-vpat-2025 ax-jiradc-vpat-2025-backlog ax-kb-user ax-qa
            Sameer Shaikh made changes -
            Labels Original: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jira-vpat-2025 ax-jira-vpat-2025-backlog ax-jiradc-vpat-2025 ax-kb-user ax-qa New: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jira-vpat-2025-backlog ax-jiradc-vpat-2025 ax-kb-user ax-qa
            Sameer Shaikh made changes -
            Labels Original: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jira-vpat-2025 ax-jira-vpat-2025-backlog ax-kb-user ax-qa New: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jira-vpat-2025 ax-jira-vpat-2025-backlog ax-jiradc-vpat-2025 ax-kb-user ax-qa
            Sameer Shaikh made changes -
            Labels Original: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jira-vpat-2025 ax-jira-vpat-2025-backlog ax-kb-user ax-medium-priority ax-qa New: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jira-vpat-2025 ax-jira-vpat-2025-backlog ax-kb-user ax-qa
            Sameer Shaikh made changes -
            Labels Original: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-jira-vpat-2025 ax-jira-vpat-2025-backlog ax-kb-user ax-medium-priority ax-qa New: 2.4.3 Level-A WCAG2.2 ax-at-user ax-bug ax-high-priority ax-jira-vpat-2025 ax-jira-vpat-2025-backlog ax-kb-user ax-medium-priority ax-qa
            Shruti Chabukswar made changes -
            Priority Original: High [ 2 ] New: Medium [ 3 ]

              Unassigned Unassigned
              8b74bced7d61 Shruti Chabukswar
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: