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

          Form Name

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

            Shova Acharya made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 914953 ]
            Shova Acharya made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 915137 ]
            Rahil Shaikh made changes -
            Labels Original: 2.1.1 4.1.2 Accessibility Level-A WCAG21 ax-at-JAWS ax-at-NVDA ax-at-VO ax-bug ax-dev-ready ax-high-priority ax-qa ax-qa-prioritised New: 2.1.1 4.1.2 Accessibility Level-A WCAG21 ax-at-JAWS ax-at-NVDA ax-at-VO ax-bug ax-high-priority ax-qa ax-qa-fixed ax-qa-verified
            Shova Acharya made changes -
            Fix Version/s New: 5.16.0 [ 107596 ]
            Shova Acharya made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Short Term Backlog [ 12074 ] New: Closed [ 6 ]
            Rahil Shaikh made changes -
            Shova Acharya made changes -
            Assignee New: Shova Acharya [ f8cc0f3bb64f ]
            Shova Acharya made changes -
            Status Original: Ready for Development [ 10049 ] New: Short Term Backlog [ 12074 ]
            Matthew Brennan made changes -
            Labels Original: 2.1.1 4.1.2 Accessibility Level-A WCAG21 ax-at-JAWS ax-at-NVDA ax-at-VO ax-bug ax-dev-ready ax-high-priority ax-qa-prioritised New: 2.1.1 4.1.2 Accessibility Level-A WCAG21 ax-at-JAWS ax-at-NVDA ax-at-VO ax-bug ax-dev-ready ax-high-priority ax-qa ax-qa-prioritised
            ssuryavanshi (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 719448 ]

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

                Created:
                Updated:
                Resolved: