mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 02:54:42 +00:00
3cfa7ae698
Summary: Added in a prop for CurrentViewState that is used to set the state of the current view for both accessibility and regular view settings.. Ex: AccessibilityRole = "button" CurrentViewState = ['selected'] This will trigger talk back/voiceover to announce both the role and the state. Unlike Accessibility Role, Accessibility States can take on more than one form, and are passed in an array. Ex: AccessibilityState = ['selected', 'disabled'] Currently, two options are available: selected and disabled Reviewed By: PeteTheHeat Differential Revision: D8837848 fbshipit-source-id: ca30c950a2aa713813be8577ea4fa9ba9bfc698a