-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
Affects Version/s: 8.20.30, 9.4.17, 9.12.2
-
Component/s: (Advanced Roadmaps) Accessibility
-
8.2
-
Severity 3 - Minor
Issue Summary
On the “Refine Issues Displayed” page, the “Choose issue status”, "Choose issue type", and so on comboboxes are not programmatically declared.
Steps to Reproduce
- Open the "Refine Issues Displayed" page.
- Navigate and activate the "Type" button.
- Navigate to the mentioned instance.
- Inspect the code and observe that the combobox is not programmatically defined.
Screenshot 1

Screenshot 2

Screenshot 3

Actual Results
There is a comboboxes that are not programmatically defined with appropriate roles and properties. The <input > element of the “Choose issue status”, and "Choose issue type" comboboxes, and the "Select releases" combobox present within the "Releases" modal dialog (available by activating the "View releases" button), do not use role="combobox" or aria-activedescendant. As well, the child listbox do not use role="listbox", role="option" and aria-selected attributes.
This may particularly disadvantage the users of a screen reader. That the comboboxes are not correctly programmatically defined may confuse or mislead them about the functionality of the form fields.
Expected Results
Make sure that the combobox components are programmatically determined. In this scenario, we would recommend you to create a combobox with appropriate ARIA roles and properties. On the combobox, use role="combobox". Where possible, expand a native <input>. Make sure that the <input> is labelled. This can be done with <label> or aria-labelledby. Use aria-expanded to differentiate when the listbox is expanded and collapsed. As well, use aria-activedescendant to programmatically determine the active option. This attribute uses the id of the active option. On the listbox, use role="listbox". Where possible, expand a list container such as <ul>. On the options, use role="option". Where possible, expand <li>. As well, use aria-selected to differentiate between the active and inactive options. For more information, you can refer "https://www.w3.org/WAI/ARIA/apg/patterns/combobox/"
Code snippet
<input aria-label="select type" role="combobox" aria-activedescendant="01" aria-autocomplete="list" aria-expanded="true" aria-controls="results" aria-haspopup="listbox" placeholder="Choose type" data-compact="true" data-ds--text-field--input="true" data-testid="exclude-issue-type_input" class="css-16kwnwk"> (...) <ul id="results" role="listbox" class=" css-1s9izoc"> <li id="01" role="option" aria-selected="true" class="sc-cBrjTV gIHTxC"><img src="/images/icons/issuetypes/epic.svg"> Epic</li> (...) </ul>
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available
Environment
MacBook Pro (13-inch, 2018)
macOs Ventura 13.3.1
Chrome - Version 109.0.5414.119 (Official Build) (64-bit)
Firefox- Version 92.0 (64-bit)
Safari- Version 16.4 (18615.1.26.110.1)
JAWS- Version 2022
NVDA- Version 2021.2
Voiceover - Version Latest
- links to