Open schuetza opened 3 years ago
This issue has been marked as stale because it has required additional info or a response from the author for over 14 days. When you get the chance, please comment with the additional info requested. Otherwise, this issue will be closed in 14 days.
Detailed description
This is a follow-on of #408.
We are using the cv-date-picker with
kind="range"
and calOptionaltInput: true
. When using this combination, the label of the start date picker refers to a hidden input element, which leads to an A11y violation.The "for" attribute of the label should point to the second, visible input field (
class="bx--date-picker__input form-control input active"
)bug
CvDatePicker
Component should be accessible
Firefox 89.0.2
carbon/vue 2.37.0 and 2.38.2
no time pessure
Steps to reproduce the issue
calOptions
enterAdditional information
none