WinUI-Gallery icon indicating copy to clipboard operation
WinUI-Gallery copied to clipboard

[a11y issue] With the DatePicker, the screen readers [NVDA and Narrator] reads the current date instead of the field names being displayed

Open balakood opened this issue 1 year ago • 1 comments

Which version of the app?

WinUI 3 Gallery

Description

When null/no value is set for the SelectedDate in the DatePicker control, the field names are displayed instead of a date - like "Month Day Year". However, the screen readers [NVDA and Narrator] read the current date instead of what is being displayed. Even when I hardcode the AutomationProperties.Name, the screen readers read the hardcoded value and subsequently the current date is also read.

Screenshots

No response

Windows version

Windows 11 22H2 (22621)

Additional context

No response

balakood avatar Apr 02 '24 12:04 balakood

What version of WinUI Gallery are you on? I am unable to repro with the latest release with the first sample "A simple DatePicker with a header".

karkarl avatar Apr 11 '24 18:04 karkarl