Skip to content

Accessibility Roles

Maciej Jastrzebski edited this page Sep 15, 2023 · 9 revisions

Default View role

iOS

Element Traits Label Screen Reader
<View accessible /> (none) (none) ...
<View accessible accessibilityRole="none" /> Static Text Hello ...
<Text accessibilityRole="none">Hello</Text> Static Text Hello ...

Android

Element Screen Reader
<View accessible /> ...
<View accessible accessibilityRole="none" /> ...
<Text accessibilityRole="none">Hello</Text> ...

Default Text role

iOS

Element Traits Label Screen Reader
<Text>Hello</Text> Static Text Hello ...
<Text accessibilityRole="text">Hello</Text> Static Text Hello ...
<View accessible accessibilityRole="text" accessibilityLabel="Hello" /> Static Text Hello ...
<View accessible accessibilityLabel="Hello" /> (none) (none) ...

Android

Element Screen Reader
<Text>Hello</Text> ...
<Text accessibilityRole="text">Hello</Text> ...
<View accessible accessibilityLabel="Hello" /> (none)
<View accessible accessibilityRole="text" accessibilityLabel="Hello" /> ...
Clone this wiki locally