View Pull Request : Role not defined

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      The “to” interactive element lacks an image role.

      Steps to Reproduce

      1. Activate any project.
      2. Activate any repository
      3. Activate pull request link from left navigation menu.
      4. Activate any link from the summary column of the data table.
      5. Navigate to the mentioned content.
      6. Inspect the code.
      7. Notice that the programmatic role of the interactive element is not defined.

      Screenshot

      Actual Results

      The “to” element lacks a programmatic role. This made it difficult for keyboard-only and screen-reader users to access the functionality of the mentioned interactive element.

      Expected Results

      All interactive elements should be focusable and operable with a keyboard.

      The image role is not defined for "to." Since the image role is not defined, the value of aria label is not communicated to screen reader users.

      Code Snippet

      <span role="img" class="arrow" aria-label="to">→</span>

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

      Environment

      MacBook Pro (16-inch, 2022)
      macOs Sonoma vERSION 14.7
      Chrome - Version 131.0.6778.265 (Official Build) (arm64)
      Firefox- Version 92.0 (64-bit)
      Safari-Version 18.2 (19620.1.16.111.6, 19620)
      JAWS- Version 2023
      NVDA- Version 2021.2
      Voiceover - Version Latest

            Assignee:
            Unassigned
            Reporter:
            Rohit Yadav (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: