Details
-
Bug
-
Resolution: Fixed
-
Low
-
4.20.0, 5.3.1
-
Severity 2 - Major
-
Description
Issue Summary
The element appears and functions like a select-only combobx but is missing the required ARIA role(s) and/or attribute(s).
Element:
- View
Location:
Present below the "Share this filter with others" heading in "Save filter" modal
Steps to Reproduce
- Open the homepage
- Navigate to the "Assets" link and activate it
- Navigate to "Search for object" and activate it
- Navigate to the "Create Object" button and activate it
- Search in an object in the input field and click on the "Save as" button
- Try to access the “View" custom combobx with a screen reader on
Actual Results
The role is not provided for the “View” custom combobox. In addition, a label is not provided for the mentioned combobox.
Following problems found with custom combobox →
- The custom combobox is missing the role of combobox.
- There is no accessible name for this combobox.
- role=”option” is missing for combobox options.
- 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 →
- role="combobox" and aria-autocomplete="list" to the <input> element to announce the correct role for this field.
- aria-expanded property to the <input> element and toggle its value programmatically to true/ false depending on the expanded/ collapsed state of combobox.
- <div> element with role=”listbox” and a unique id.
- “aria-owns” attribute to <input> element having value of id property of <div> element.
- role=”option” and unique id to the <div> elements present for options present for combobx.
- aria-activedescendant property to the <input> element having value as id property of <li> element
- A visible label such as “Select Permission” 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/WAI/ARIA/apg/example-index/combobox/combobox-select-only.html
Screenshot
Workaround
Not Available
Bug Ref: 747156
Bulldog Ref:
Attachments
Issue Links
- mentioned in
-
Page Loading...