アクセシビリティ (a11y) は、スクリーンリーダーなどを使用している障害者を含むすべての人がアプリを使用できるようにします。React NativeはアクセシビリティプロパティとAPIを提供しています。アクセシブルなアプリを構築することは、包括性のために重要であり、しばしば法的に要求され、品質エンジニアリングを反映しています。
なぜ重要なのか
→ INCLUSIVITY — people with disabilities (visual, motor, hearing) should be able to use
the app (screen readers like VoiceOver/TalkBack, larger text, etc.)
→ Often LEGALLY required (accessibility regulations) and an app-store/quality consideration
→ Good a11y often improves UX for everyone (clear labels, good contrast, large targets)
React Nativeのアクセシビリティプロパティ
<
accessible={}
accessibilityLabel=
accessibilityHint=
accessibilityRole=
accessibilityState={{ : }}
>
</>
