Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-25564

Advanced Roadmaps Feedback: Keyboard focus does not return to the triggering element of modal dialog

    Issue Summary

    When the users dismiss the "Advanced Roadmaps feedback" dialog, the focus moves to the top of the page inappropriately.

    Steps to Reproduce

    1. Open the "Accessibility Assessment - Roadmaps" page.
    2. navigate to the "Give feedback" and activate it.
    3. A modal dialog appears on the page.
    4. Close the modal dialog using "Close" link or "ESC" key.
    5. Observe that focus moves to the beginning of the page.

    Screen Recording

    My Plan - Advanced Roadmaps - InstEnv Jira - Google Chrome 2024-01-29 16-14-49.mp4

    Actual Results

    On closing the modal dialog, the programmatic focus does not return to the triggering element. Instead the focus is updated to the beginning of the page. 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

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

    Workaround

    Required, if there is no workaround please state:
    Currently there is no known workaround for this behavior. A workaround will be added here when available

    Environment

    MacBook Pro (16-inch, 2021)
    macOs Monterey Version 12.3.1
    Chrome - Version 101.0.4606.81 (Official Build) (64-bit)
    Firefox- Version 93.0 (32-bit)
    Safari- Version 15.3 (17612.4.9.1.5)
    JAWS- Version 2022
    NVDA- Version 2020.3
    Voiceover - Version Latest

          [JSWSERVER-25564] Advanced Roadmaps Feedback: Keyboard focus does not return to the triggering element of modal dialog

          Marc Dacanay made changes -
          Labels Original: 2.4.3 Level-A WCAG2.1 a11y-triaged ax-at-JAWS ax-at-NVDA ax-at-VO ax-at-user ax-bug ax-desktop ax-dev-ready ax-high-priority ax-jiradc-arj ax-jiradc-arj-vpat2024 ax-jiradc-vpat ax-jiradc-vpat-accessibilityassessmentroadmaps ax-jiradc-vpat-advancedroadmapsfeedback ax-jiradc-vpat-pg06 ax-kb-user ax-macos-safari ax-qa New: 2.4.3 Level-A WCAG2.1 a11y-triaged ax-at-JAWS ax-at-NVDA ax-at-VO ax-at-user ax-bug ax-desktop ax-dev-ready ax-high-priority ax-jiradc-arj ax-jiradc-arj-vpat2024 ax-jiradc-vpat ax-jiradc-vpat-accessibilityassessmentroadmaps ax-jiradc-vpat-advancedroadmapsfeedback ax-jiradc-vpat-pg06 ax-kb-user ax-macos-safari ax-qa ril
          Marc Dacanay made changes -
          Remote Link New: This issue links to "Internal ticket (Web Link)" [ 963647 ]
          Sylwia Mikołajczuk made changes -
          Priority Original: High [ 2 ] New: Medium [ 3 ]
          Stasiu made changes -
          Introduced in Version Original: 9.12 New: 8.2
          Affects Version/s New: 8.20.30 [ 106364 ]
          Affects Version/s New: 9.4.17 [ 106909 ]
          Sylwia Mikołajczuk made changes -
          Labels Original: 2.4.3 Level-A WCAG2.1 a11y-triaged ax-at-JAWS ax-at-NVDA ax-at-VO ax-at-user ax-bug ax-desktop ax-dev-ready ax-high-priority ax-jiradc-vpat ax-jiradc-vpat-accessibilityassessmentroadmaps ax-jiradc-vpat-advancedroadmapsfeedback ax-jiradc-vpat-pg06 ax-kb-user ax-macos-safari ax-qa New: 2.4.3 Level-A WCAG2.1 a11y-triaged ax-at-JAWS ax-at-NVDA ax-at-VO ax-at-user ax-bug ax-desktop ax-dev-ready ax-high-priority ax-jiradc-arj ax-jiradc-arj-vpat2024 ax-jiradc-vpat ax-jiradc-vpat-accessibilityassessmentroadmaps ax-jiradc-vpat-advancedroadmapsfeedback ax-jiradc-vpat-pg06 ax-kb-user ax-macos-safari ax-qa
          Stasiu made changes -
          Component/s Original: Accessibility [ 62491 ]
          Component/s Original: (Advanced Roadmaps) Other [ 73719 ]
          Component/s New: (Advanced Roadmaps) Accessibility [ 74392 ]
          Stasiu made changes -
          Priority Original: Low [ 4 ] New: High [ 2 ]
          Sylwia Mikołajczuk made changes -
          Labels Original: 2.4.3 Level-A WCAG2.1 a11y-triaged ax-at-JAWS ax-at-NVDA ax-at-VO ax-at-user ax-bug ax-desktop ax-dev-ready ax-high-priority ax-jiradc-vpat ax-jiradc-vpat-advancedroadmapsfeedback ax-jiradc-vpat-pg06 ax-kb-user ax-macos-safari ax-qa New: 2.4.3 Level-A WCAG2.1 a11y-triaged ax-at-JAWS ax-at-NVDA ax-at-VO ax-at-user ax-bug ax-desktop ax-dev-ready ax-high-priority ax-jiradc-vpat ax-jiradc-vpat-accessibilityassessmentroadmaps ax-jiradc-vpat-advancedroadmapsfeedback ax-jiradc-vpat-pg06 ax-kb-user ax-macos-safari ax-qa
          ssuryavanshi (Inactive) made changes -
          Component/s New: (Advanced Roadmaps) Other [ 73719 ]
          ssuryavanshi (Inactive) made changes -
          Component/s Original: Accessibility [ 62490 ]
          Component/s New: Accessibility [ 62491 ]
          Key Original: JRASERVER-76972 New: JSWSERVER-25564
          Affects Version/s Original: 9.12.2 [ 106456 ]
          Affects Version/s New: 9.12.2 [ 106455 ]
          Project Original: Jira Data Center [ 10240 ] New: Jira Software Data Center [ 12200 ]

            Unassigned Unassigned
            4cbd728b4726 Rinku Kumar
            Affected customers:
            0 This affects my team
            Watchers:
            2 Start watching this issue

              Created:
              Updated: