Backlog: Focus does not move at the logical element

XMLWordPrintable

    • 10.03
    • Severity 3 - Minor

      Issue Summary

      When the "Split" button is activated by keeping the mandatory fields empty, the focus remains on the "Split" button rather than moving on the first form field with the error in the "Split issue" modal. 

      Steps to Reproduce

      1. Open DC project.
      2. Activate the "Backlog" link from side navigation. 
      3. Activate "Context menu of issues" button. 
      4. Activate the "Split" button. 
      5. Keep mandatory fields empty. 
      6. Activate the "Split" button.
      7. Navigate through the modal using the down arrow (JAWS/NVDA) and Control+Option+left/right arrow (VoiceOver).
      8. Observe that the error message is announced for screen reader users. However the focus remains on the "Split" button. 

      Screen Recording

      Screen Recording 2025-01-20 at 6.06.44 PM.mov

      Actual Results

      When the "Split" button is activated by keeping the mandatory fields empty, the error message is announced for the screne reader users. However, the focus remains on the "Split" button rather than moving on the first form field with the error in the "Split issue" modal modal. 

      Due to this, the keyboard and screen reader users might feel disoriented.

      Expected Results

      Make sure that focus is moved at the logical element. In this case, make sure that the focus is moved at the first form field with error on activating the "Split" button. This can be achieved by using the 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, 2021)

      macOS Sonoma Version 14.1

      Chrome - Version 131.0.6778.265 (Official Build) (arm64)

      Firefox- 134.0.1 (64-bit)

      Safari- Version 18.2 (19620.1.16.111.6, 19620)

      JAWS- Version 2023

      NVDA- Version 2023.2

      Voiceover - Version Latest

            Assignee:
            Unassigned
            Reporter:
            Shruti Chabukswar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: