Skip to content

[Feature Request] Add aria-disabled to disabled hours/minutes in time pickerΒ #21885

@Smrtnyk

Description

@Smrtnyk

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions