Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-14242

Project | All open: Keyboard focus does not return to the triggering element of modal dialog

    Issue Summary

    After activating the close button the focus does not return to the modal dialogs of" Clone queue" and "delete queue" in more options in the main region of the page.

    Steps to Reproduce

    1. Open the Project -All open page

    2. Using a screen reader or keyboard, activate the mentioned buttons in the page.

    3. Observe the dialogs appear.

    4. Close the dialogs using an Esc key and try to navigate further.

    5. Observe that the focus moves to the start of the page.

    Screenshot

    Screen Recording 2023-09-15 at 1.39.58 PM-1.mov

    Actual Result

    After activating the close button the focus does not return to the modal dialogs of the" Clone queue"modal dialog and "delete queue"modal dialog present in more options in the main region of the page. Instead, the focus is updated to the start of the page.

    This required screen reader users and keyboard-only users to tab-pass the content on the page before they could interact with the content after 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.

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

    For more information refer to this link: https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/examples/dialog/ 

    Workaround

    Currently, there is no known workaround for this behaviour. A workaround will be added here when available

    Environment

    MacBook Pro (16 inch, 2021)
    macOs Ventura  13.5
    Chrome - Version 115.0.5790.170 (Official Build) (arm64)
    Firefox- Version 112.0. 1
    Safari- Version 16.5 (18615.2.9.11.4)
    JAWS- Version 2023
    NVDA- Version 2023
    Voiceover - Version Latest

          [JSDSERVER-14242] Project | All open: Keyboard focus does not return to the triggering element of modal dialog

          There are no comments yet on this issue.

            Unassigned Unassigned
            415c9ec44a7c Pravalika Suragani (Inactive)
            Affected customers:
            0 This affects my team
            Watchers:
            2 Start watching this issue

              Created:
              Updated: