Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-75718

Create issue : Focus is not set onto the success message

    XMLWordPrintable

Details

    Description

      Issue Summary

      the focus is not set onto the "Issue Kab-21 - test issue has been successfully created." success message (that appears on activating the "Create" button in the "create issue" modal dialog) when the issue is created.

      Note: this issue is applicable for all kind of notifications which appears throughout the Jira 

      Steps to Reproduce

      1. Navigate onto "Create issue" modal.
      2. Create an issue by filling the details and activating the "Create" button.
      3. Observe that focus is not moved onto the success message.
      4. Observe that the success message is not announced.
      5. Observe that the update will not otherwise be immediately obvious to all users.

      Actual Results

      When the "Create" button is activated in the "Create issue" modal, a success message gets added on the page. However, the focus remains on the "Create issue"link instead of moving onto the newly added success message. This illogical focus order might make the page difficult to understand for the keyboard and screen reader users.

      Expected Results

      Make sure that the focus is managed appropriately when the page is updated. Make sure that when the user activates the "Create" buttons, the focus goes onto the newly added success message. This can be done with tabindex=”-1” or the “focus” method. This will allow elements to receive programmatic focus when they are not naturally in the focus order.

      For more information, please refer “https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus

      Screenshot

      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 Monterey Version 12.4
      Chrome - Version 103.0.5060.134 (Official Build) (arm64)
      Firefox- Version 93.0 (32-bit)
      Safari- Version 15.5 (17613.2.7.1.8)
      JAWS- Version 2022
      NVDA- Version 2020.3
      Voiceover - Version Latest

      Attachments

        Issue Links

          Activity

            People

              34a5d0a5a65c Pavlo Samchuk
              773dd3a38dd5 Cynthia Singh
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: