Accessibility violation | aria-label attribute into a generic role
thomas-siozos opened this issue · comments
Describe the bug
The input element with data-test="dp-input" has an "aria-label" attribute (aria-label="Datepicker input") which is not allowed on a generic role.
That leads to an accessibility violation.
To Reproduce
Steps to reproduce the behavior:
- Go to the date picker.
- Run an a11y tool in your browser, I did it with this one.
Screenshots
You can run the test even in the examples in the documentation.
Desktop & mobile (please complete the following information):
- Browser chrome.