You can make an Apple iOS app accessible, so that when the VoiceOver feature is enabled, the screen contents are read aloud.
This topic provides information specific to Apple iOS. Start with Accessibility to learn how accessibility works in You.i React Native.
Type | Command | Gesture Supported |
---|---|---|
Interaction
|
Activate | One-finger double-tap |
Escape | Two-finger scrub (Z motion) | |
Custom Action | Two-finger double-tap (Magic Tap) | |
Basic Navigation
|
Move to Next Item | One-finger swipe-right |
Move to Previous Item | One-finger swipe-left | |
Other | Select an element under your finger | One-finger single-tap or one-finger drag across the screen |
Scrolling
|
Scroll Down | Three-finger swipe-up |
Scroll Left | Three-finger swipe-right | |
Scroll Right | Three-finger swipe-left | |
Scroll Up | Three-finger swipe-down | |
Output
|
Read from top to bottom | Two-finger swipe-up |
Read page starting at selected item | Two-finger swipe-down |
Setting | Option | Notes |
---|---|---|
Speaking Rate | Changes with the rotor setting. | |
Use Pitch | ||
Verbosity | Emoji Suffix | |
Speech | Voice | |
Audio
|
Pronunciations | |
Add new languages (rotor languages) | Changes with the rotor setting. | |
Audio Ducking | ||
Caption Panel | Only supported on iOS 13. |
For an iOS app, move the accessibility focus using setAccessibilityFocus
after transitioning to a new screen.
Annotate your app code to include appropriate labels or hints using accessibilityHints
or accessibilityLabel
.
The following table provides recommended guidelines for the app code on the gestures and appropriate actions related to those gestures:
Gestures | Recommended Actions for Video Player Controls |
---|---|
Swipe Up | Fast Forward by 15 seconds on iOS only |
Swipe Down | Rewind Video by 15 seconds on iOS only |
Tap on Scrubber | Select current position. Use one-finger swipe-up or swipe-down to adjust the value |
Tap on Any Button | Select Play/Pause/Fast Forward 15 seconds/Rewind Video 15 seconds |
Tap on Video | Select Video |
Double Tap on Video | Toggle Video Player controls |
We’re aware of the following known issues in You.i Platform apps when VoiceOver is enabled on an iOS device.
Keyboard:
Text Announcements:
Gestures:
Lists:
Other:
onPress
and onAccessibilityTap
are defined as props, they will both activate if VoiceOver is enabled on iOS.