You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: datetime month/year picker is hard to use with screen readers #25221
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v4.x
v5.x
v6.x
Nightly
Current Behavior
When using ion-datetime's month/year picker with a screen reader, swiping to get around the page, it isn't possible to close the picker without unintentionally changing your selection. You have to swipe past all months to get back to the picker, and the scrolling automatically changes which month is selected.
You should be able to change the month/year on a screen reader to any value. I'm not sure what should change about the design, though. Pressing Escape to toggle the picker would work on desktop, but not on phones, for example.
Steps to Reproduce
Use any ion-datetime with a presentation that shows the month/year picker as a separate overlay.
Code Reproduction URL
No response
Ionic Info
Recording was from core hosted through ngrok; output from hosting PC:
[WARN] You are not in an Ionic project directory. Project context may be missing.
Ionic:
Ionic CLI : 6.18.1
Utility:
cordova-res : not installed globally
native-run : 1.4.1
System:
NodeJS : v16.13.0
npm : 8.1.0
OS : Windows 10
Native iOS does something similar that we can probably follow:
RPReplay_Final1651585768.mov
With VoiceOver enabled, users can select the column as a whole. In order to interact with the picker, they need to double tap the column. At this point, users are able to drag the column up or down. Swiping to proceed to the next/prev items does not appear to select the individual picker items.
This same behavior ocurs for the ion-datetime in wheel mode
in the video of liamdebeasi you can hear the voiceover say the month and year are sliders but the actual month selector is readed as buttons and nothin hapens when you select those buttons
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
liamdebeasi commentedon May 3, 2022
Native iOS does something similar that we can probably follow:
RPReplay_Final1651585768.mov
With VoiceOver enabled, users can select the column as a whole. In order to interact with the picker, they need to double tap the column. At this point, users are able to drag the column up or down. Swiping to proceed to the next/prev items does not appear to select the individual picker items.
iamandersonp commentedon Aug 30, 2022
This same behavior ocurs for the ion-datetime in wheel mode
in the video of liamdebeasi you can hear the voiceover say the month and year are sliders but the actual month selector is readed as buttons and nothin hapens when you select those buttons
feat(picker): picker column is easier to select with assistive techno…
liamdebeasi commentedon Apr 24, 2024
This will be fixed in an upcoming minor release of Ionic 8: #29371
ionitron-bot commentedon May 24, 2024
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.