View pull request : Focus does not remain on the activated element

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      On the "View pull request" page, the focus does not remain on the activated element.

      Steps to Reproduce

      1. Navigate onto the above mentioned page.
      2. Navigate onto the "2 open tasks" button and activate it.
      3. Navigate onto the "Resolve task" checkbox with a screen reader and activate it.
      4. Observe that screen reader focus does not remain on the activated element.
      5. Observe that the screen reader focus is lost in the background.

      Screen recording

      Actual Results

      When the "Resolve task" checkbox is activated with a screen reader, the screen reader focus is lost somewhere in the background. It does not remain on the activated element. This may particularly disadvantage screen reader users. That the focus is getting lost and the background content is found with virtual arrow keys may confuse or mislead them.

      Expected Results

      In this case, make sure that focus remains on the element when it is activated. This is the standard behaviour of a checkbox. Make sure that there is no scripting that is moving focus. As well, make sure that the element is not being temporarily removed from the DOM.

      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 Ventura 13.3.1
      Chrome - Version 113.0.5672.63 (Official Build) (x86_64)
      Firefox- Version 92.0 (64-bit)
      Safari- Version 16.4 (18615.1.26.110.1)
      JAWS- Version 2023
      NVDA- Version 2023.3
      Voiceover - Version Latest

              Assignee:
              Carlos Sanchez Rosa
              Reporter:
              Cynthia Singh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: