We need to detect if a person is using VoiceOver, Switch Control, TalkBack, or Switch Access to display alternate buttons on our swipe-dependent application.
Normally we'd look for UIAccessibilityIsVoiceOverRunning
, AccessibilityManager
, and other hooks to detect the need to display these buttons.
We are also respecting the user's preference for bold fonts and simplified animation via hooks like UIAccessibilityIsBoldTextEnabled()
.
I couldn't find documentation within React that details how we can get this type of information from the device and write the logic for changing the app's interface.