Issue Summary

      The dropdowns in the help portal form are inaccessible for the screen reader users as well as have missing roles and labels.

      Steps to Reproduce

      1. In the Help center, select any Request.
      2. In the Request form main content area, keep the screen reader on and navigate to dropdowns such as "Component/s ", "Approvers", etc., and try to interact with the component and inspect the source code.

      Actual Results

      In the help center Requests for different scenarios, there are dropdowns present such as "Component/s ", "Approvers", etc. These dropdown menus are not accessible to the screen reader users and have missing roles and labels.

      Additionally, the labels are not announced to the screen reader user when the focus is on the input field.

      Hence this makes it the screen reader users difficult to access the information effectively.

      Expected Results

      Ensure the dropdown element is accessible to the screen reader users and the labels and roles are provided correctly. The dropdown is similar to a combobox with list autocomplete.

      Implement the following changes to make the combobox more accessible:

      • Provide and role="comobox" and aria-expanded="false" and aria-autocomplete="list" to the <input> element.
      • Structure the options inside a list structure instead of <select> element.
      • Provide role="listbox" to the <ul> element and role="option" to the <li> element.

       

      Refer to the following link for more details : https://www.w3.org/WAI/ARIA/apg/example-index/combobox/combobox-autocomplete-list.html

      Screenshot

      Screen recording

      Screen Recording 2023-01-06 at 4.31.21 PM.mov

       

      Workaround

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

            [JSDSERVER-12291] Help center: Missing role and labels for the dropdowns

              f8cc0f3bb64f Shova Acharya
              2b3f463b7e2d Akhilesh Paradhi (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: