-
Bug
-
Resolution: Unresolved
-
Medium (View bug fix roadmap)
-
None
-
8.20.30, 9.12.2, 9.4.17
-
8.2
-
Severity 3 - Minor
-
Issue Summary
The label is not provided for the "Choose issue type" input field.
Steps to Reproduce
- Open the "Accessibility Assessment - Roadmaps" page.
- Navigate to the main content.
- Navigate to the "Filter" button and activate it.
- Navigate to the "Issue type all" button and activate it.
- Navigate to the mentioned form field.
- Inspect the code and observe that the label is not provided for the form field.
Screenshot
Actual Results
The "Choose issue type" form field in the main content area does not have the label associated with that.
As a result, screen reader users will not understand the purpose of the form fields.
Expected Results
Apply the following changes:
- Provide unique and descriptive label for mentioned form fields using <label> element.
- Associate the label explicitly with the form field by providing identical value which is unique from other IDs to "for" and "id" attributes of the label and form field respectively.
Alternatively, use either hidden labels or "title" or "aria-label" attribute to convey the purpose of the form fields to screen reader users as well as maintain the presentation.
Code Snippet
<label for="uid-10" class="Label_LabelWrapper-sc-17towfw-0 keOXhT"><div class="Label_LabelInner-sc-17towfw-1 ehMqyL"><span>Choose issue type</span></div></label>
<input class="sc-exAgwC gsTkUe" id="uid-10" placeholder="Choose issue types..." spellcheck="true" type="text" value="">
Workaround
Required, if there is no workaround please state:
Currently there is no known workaround for this behavior. A workaround will be added here when available
Environment
MacBook Pro (16-inch, 2021)
macOs Monterey Version 12.3.1
Chrome - Version 101.0.4606.81 (Official Build) (64-bit)
Firefox- Version 93.0 (32-bit)
Safari- Version 15.3 (17612.4.9.1.5)
JAWS- Version 2022
NVDA- Version 2020.3
Voiceover - Version Latest
- links to
Form Name |
---|