Accessibility language on React Native
When content is written in multiple languages, foreign words should ideally be indicated in their respective language. For example, you can indicate a French quote in a Dutch piece of content. This enables assistive technologies to use the right pronunciation.
In React Native, there is limited support to change the accessibility language. The accessibilityLanguage
prop of Text
only works on iOS. Multiple Text
elements can be combined to speak content in multiple languages.
<Text>
<Text accessibilityLanguage="nl-NL">Appt</Text>
<Text>is an accessibility platform.</Text>
</Text>