Create new page | Set Page Location: Focus moves inappropriately

XMLWordPrintable

    Issue Summary

    When the user activates the "Location" button, the focus moves to the "New parent page" form field in the modal dialog.

    Note: A similar issue is observed in the "Labels" modal dialog

    Steps to Reproduce

    1. Navigate to the header and activate the "Create" link.
    2. Using the screen reader, navigate to the "Location" button and activate them.
    3. Observe that the focus moves to the "New parent page" form field instead of the "help" link.

    Screen recording 1: Set Page Location

    Screen Recording 2023-08-14 at 4.37.11 PM.mov

    Screen recording 2: Labels

    Screen Recording 2023-08-14 at 4.59.18 PM.mov

    Actual Results

    The focus moves inappropriately to the "New parent page" form field  instead of moving on to the "Help" link
    As a result, keyboard-only and screen reader users will have to navigate the screen content again before accessing the content which is updated below.

    Expected Results

    Ensure that the keyboard focus moves the first interactive element present in the modal dialog ( i.e "Help" link) which can be achieved via the JavaScript focus() method.

    Workaround

    Not available

    Environment 

    MacBook Pro (16-inch, 2019)
    macOS 13.4.1 (c) (22F770820d)
    Chrome - Version 115.0.5790.170 (Official Build) (x86_64)
    Firefox- Version 114.0 (64-bit)
    Safari- Version 16.5.2 (18615.2.9.11.10)
    JAWS- Version 2023.2306.28
    NVDA- Version 2022.2.2
    Voiceover - Version Latest

          Assignee:
          Unassigned
          Reporter:
          Rahil Shaikh
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Created:
            Updated: