Pull Request Diff tab : Form elements must have labels

XMLWordPrintable

      Issue Summary

      In the diff section for the pull requests, the Commit selector input has a missing explicit association.

      Steps to Reproduce

      1. Launch the URL
      2. Navigate to the Commit selector in the main content area and activate them to select the changes options available.

       

      Screenshot

      Actual Results

      The "Commit selector" input in the diff section of the pull request does not have a label explicitly associated with it. The 'for' and 'id' association is missing between the label and the input form control.

      Labels need to be explicitly associated with their respective form controls for assistive technologies to identify the label accurately and convey the information to the users.

      Expected Results

      Associate the label explicitly with the form control by providing an identical value that is unique from other IDs to "for" and "id" attributes to ensure that assistive technologies identify the label for the form control correctly. 

      Workaround

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

      Bug Ref: 737316

        1. Screenshot 2022-04-25 at 4.59.28 PM.png
          430 kB
          Akhilesh Paradhi
        2. Screenshot 2022-04-25 at 5.54.11 PM.png
          1.16 MB
          Akhilesh Paradhi

            Assignee:
            Carlos Sanchez Rosa
            Reporter:
            Matthew Brennan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: