datePickerSemantics

fun datePickerSemantics(yearPickerLabel: String? = "Year", monthPickerLabel: String? = "Month", dayPickerLabel: String? = "Day", previousItemActionLabel: String? = PreviousItemActionLabel, nextItemActionLabel: String? = NextItemActionLabel): DatePickerSemantics

Creates semantics configuration for a date picker.

Return

A DatePickerSemantics instance with the specified semantics behavior.

Parameters

yearPickerLabel

Accessibility label for the year picker. Pass null to omit the picker label prefix.

monthPickerLabel

Accessibility label for the month picker. Pass null to omit the picker label prefix.

dayPickerLabel

Accessibility label for the day picker. Pass null to omit the picker label prefix.

previousItemActionLabel

Accessibility action label used by child pickers to select the previous item.

nextItemActionLabel

Accessibility action label used by child pickers to select the next item.