Skip to content

DatePicker, TimePicker: Improve accessibility #56986

Description

@Pareder

What problem does this feature solve?

In the latest version (v6) tab navigation does not work for Picker components (DatePicker, TimePicker) and it breaks WCAG Success criteria 2.1.1, 2.1.3. Try to open https://ant.design/components/date-picker, navigate to DatePicker control using Tab and hit Enter, press Tab again and the focus is moved to the next DatePicker component though it should be moved to the opened DatePicker panel.

In v4 (https://4x.ant.design/components/date-picker/) it was partially handled but without focusing next/prev year/month buttons.

There were similar issues but they are not resolved yet:

What does the proposed API look like?

It should work like in other UI libraries:

Metadata

Metadata

Labels

Inactivehelp wantedThe suggestion or request has been accepted, we need you to help us by sending a pull request.⌨️ Accessibility

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions