Vuepic / vue-datepicker

Datepicker component for Vue 3

Home Page:https://vue3datepicker.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. Go to the date picker.
  2. 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.
image
image

Desktop & mobile (please complete the following information):

  • Browser chrome.