-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Open
Labels
Description
Problem to solve
When you set allowed-minutes on time picker some values get disabled and that works fine, but it is hard to target it in testing.
I wan to test that certain hours and minutes are disabled.
Proposed solution
Add aria-disabled to disabled hour/minutes divs.
<div class="v-time-picker-clock__item v-time-picker-clock__item--disabled" style="left: 75%; top: 7%;"><span>05</span></div>
this is how it currently looks like, it has 1disabled in class value but you could also add aria-disabled to it.
it would also help with screen readers since it would be more informative to the end user that some values are disabled.