-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
d9eeae9
commit 3cfa7ae
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters