Accessibility VoiceOver issue for UIDatePicker

The react-native-date-picker is based on UIDatePicker on iOS. The UIDatePicker element is a wrapper containing other elements that the VoiceOver user can interact with (year, month, day and so on).

I'm using react-native-date-picker with the UK date format(day month year). If I change day, such as 1 July 2024 to 2 July 2024, the VoiceOver says 2 of 12, but 12 is the month total. If I change month, such as 1 July 2024 to 1 August 2024, the VoiceOver says 8 of 31, but 31 is day total. It's weird.

Please help me out on how to solve this issue or let me know if I am missing anything.

iOS 16.3.1 react-native-date-picker 4.4.2

Please file a bug report using the Feedback Assistant tool to upload additional information about your issue including logs from the device, screen recording of you interacting with the date picker, https://developer.apple.com/bug-reporting/ After you create your report, reply here with the Feedback ID so I can take a look

Accessibility VoiceOver issue for UIDatePicker
 
 
Q