Create new page | Insert link: Focus moves inappropriately

XMLWordPrintable

    Issue Summary

    When the user searches for anything and activates the "Search" button focus moves to the "Link text" form field instead of the updated content. 

    Note: A similar issue is observed in "File" tab in "Insert link" modal dialog.

    Steps to Reproduce

    1. Navigate to the header and activate the "Create" button.
    2. Navigate to the "Insert link" link and activate it.
    3. Navigate to the search input field and search with valid data
    4. Using the screen reader, navigate to the "Search" button and activate them.
    5. Observe that the focus moves to the "Link text" form field instead of updated content.

    Screen Recording

    Screen Recording 2023-08-17 at 4.01.56 PM.mov

    Actual Results

    The focus moves inappropriately to the "Link text" form field instead of moving on to the updated content (i.e. the searched content updated below in the table)
    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 updated content (i.e. the searched content updated below in the table) which can be achieved via the JavaScript focus() method.

    Workaround

    Currently, there is no known workaround for this behaviour. 

    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: