Open tjosepo opened 1 year ago
Input elements log an error about accessibility when aria-label, aria-labelledby and placeholder are missing.
aria-label
aria-labelledby
placeholder
There is no check for <label> elements, which makes some accessible inputs still log an error.
<label>
Create an element with this return:
<> <Label htmlFor="test">Label</Label> <TextInput id="test" /> </>
There should be no errors. The text input has an accessible label.
Describe the bug
Input elements log an error about accessibility when
aria-label
,aria-labelledby
andplaceholder
are missing.There is no check for
<label>
elements, which makes some accessible inputs still log an error.Steps to reproduce
Create an element with this return:
Expected results
There should be no errors. The text input has an accessible label.