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

XMLWordPrintable

    • 8.2
    • Severity 3 - Minor

      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

            Assignee:
            Unassigned
            Reporter:
            Rinku Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: