Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-18875

Repository Details: Focus moved inappropriately

    XMLWordPrintable

Details

    Description

      Issue Summary

      The keyboard and screen reader focus is moving inappropriately when user dismiss the modal dialogs.

      Steps to Reproduce

      1. Navigate to the side navigation.
      2. Navigate to and select the "Repository settings" link.
      3. Observe that "Repository Details" page has been appeared on the page.
      4. Navigate to the "Manage Repository" button and activate the options.
      5. Observe that modal dialogs are getting opened on selecting the above options.

      Screen Recording

      Screen Recording 2023-10-11 at 6.44.49 PM.mov

      Actual Results

      When user opens the modal dialog such as "Move this repository", "Archive this repository", and "Delete this repository" (which becomes available on activating "Move", "Archive", and "Delete") focus moves inappropriately to the top of the page instead of moving on the triggering "Manage Repository" button when the user close the modal dialog,
      As a result, keyboard only and screen reader users will have to navigate the screen content again before accessing the content which is after the triggering button.

      Expected Results

      Ensure that the keyboard focus moves to the triggering element when the modal dialog is closed which can be achieved via 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, 2019)
      macOS Ventura Version 13.3.1
      Chrome - Version 114.0.5735.198 (Official Build) (x86_64)
      Firefox- Version 112.0.1 (64-bit)
      Safari- Version 16.4 (18615.1.26.11.23)
      JAWS- Version 2022
      NVDA- Version 2020.3
      Voiceover - Version Latest

      Attachments

        Activity

          People

            91f2c0a8617b Navpreet Ahuja
            c3f9a46dc7c4 Varsha Bansode
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: