AVT 1 - Form Item: DAP violations related to label #2459
Labels
package: react
carbon-components-react
role: dev 🤖
severity: 3
https://ibm.biz/carbon-severity
type: a11y ♿
Environment
macOS Mojave version 10.14.2
Chrome version 72.0.3626.96 (Official Build) (64-bit)
Detailed Description
Run DAP with Feb. 2019 ruleset on the Form Item Component
The following violations are reported:
Each form control must have an associated label
H44: Using label elements to associate text labels with form controls
ARIA16: Using aria-labelledby to provide a name for user interface controls
Provide descriptive text in label element
4.1.2 Name, Role, Value
This issue reopens #2188
To fix the issue fix the typo by replacing arialabel="Numeric input field with increment and decrement buttons" with aria-label="Numeric input field with increment and decrement buttons".
Remove the or include some text in the label. (See screenshot).
The text was updated successfully, but these errors were encountered: