Open mika-lindell opened 3 years ago
Great summary! Just let me know if you get stuck somewhere or have questions about the codebase, and I'll try to help out!
For any random person reading this issue just want to say following: I might not have the chance to fix everything in the list above. So if you find you're in need of some accessibility improvements, I hope you can use this as inspiration and chip in :)
Hi, we have encountered a transparent component that is focusable by talkback on Android.
I have found a place where it is located and can be easily fixed by adding importantForAccessibility="no"
to the images
Should I create a new issue or what?
Package version 4.1.1
RN 0.66.0
Android 9
@ZioVio Great catch, thanks for the PR!
Any updates here by chance? The Android variant still doesn't read interaction instructions correctly. It reads "edit box, double tap to edit text, double and hold to apply, button, double tap to activate". The above and below options read "button, double tap to activate, double and hold to long apply, button, double tap to activate". This package is almost ideal for our use case but may not be selectable due to this a11y limitation.
@hcbreedl I am aware there are several issues on accessibility side and it is something I would like to approve. Not sure when I am able to prioritize it though. Any help with PRs or sponsoring are appreciated!
There are better read back support in v4 iosClone variant that might help you temporarily.
Accessibility is in demand right now, and this is my attempt to make a draft of accessibility roadmap for react-native-date-picker. IosClone and AndroidVariant are fundamentally so different, that I've found they require separate solutions to fix similar problems (event though the API looks the same).
Principles
IosClone
should implement accessibility similar to the wheel picker used in iOSAndroidNative
should implement accessibility of the vanilla NumberPickerIosPicker
When element is accessibility focused
Tuesday second of March, set date, slider
ACTUALReads only content description:Set date
When scrolling
373
When value is selected
Tuesday second of March
ACTUALReads content of all wheelsFor example:Selected value: Tuesday second of March 2021, 12:15 pm
When using with keyboard
ACTUALIt's not possible to increment / decrement value using volume buttons --> This is how sliders (android.widget.seekBar) work w/ keyboard, you can experiment with system volume or brightness sliders for example.AndroidNative
When element is accessibility focused
When selected value is accessibilityFocused
3rd of May, selected, button
3rd of May, editbox
, but you can't use it like you would use editbox (==native input field)When scrolling
When value is selected
When using with keyboard
Resources