Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-11466

Filter : Combobox: Combobox is missing appropriate roles and/or attributes

    XMLWordPrintable

Details

    Description

      Issue Summary

      The element appears and functions like a combobox but is missing required ARIA role(s) and/or attribute(s).

      Element:

      • name or group

      Location:
      Present in the "Save filter" modal

      Steps to Reproduce

      1. Open the homepage
      2. Navigate to the "Assets" link and activate it
      3. Navigate to "Search for object" and activate it
      4. Navigate to the "Create Object" button and activate it
      5. Search in an object in the input field and click on the "Save as" button
      6. Try to access the “Name or group“ custom combobx with a screen reader on

      Actual Results

      The role is not provided for the “Name or group” custom combobox. In addition, a label is not provided for the mentioned combobox.

      Following problems found with custom combobox →

      1. The custom combobox is missing the role of combobox.
      2. There is no accessible name for this combobox.
      3. role=”option” is missing for combobox options.
      4. The accessible name for this combobox is not announced for screen reader users.

       

      Due to this, screen reader users may not be able to use the functionality effectively.

      Expected Results

      Making custom combobox accessible →

      1. role="combobox" and aria-autocomplete="list" to the <input> element to announce the correct role for this field.
      2. aria-expanded property to the <input> element and toggle its value programmatically to true/ false depending on the expanded/ collapsed state of combobox.
      3. <div> element with role=”listbox” and a unique id.
      4. “aria-owns” attribute to <input> element having value of id property of <div> element.
      5. role=”option” and unique id to the <div> elements present for options present for combobx.
      6. aria-activedescendant property to the <input> element having value as id property of <li> element
      7. A visible label such as “Select name or group” should be provided for Combobox using <label> element. Additionally “for“ and “id” attribute should be used to associate the label with its corresponding input field.

       

      For details on implementation, please see this example → https://www.w3.org/favicon.icoEditable Combobox With List Autocomplete Example

      Screenshot

      Workaround

      Not Available

      Bug Ref: 747154

      Bulldog Ref:

      Attachments

        Issue Links

          Activity

            People

              36a811bdd856 Yurii Travenko (Inactive)
              12b69dcabe29 Matthew Brennan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync