Focusable Text
This is an experimental rule, and therefore its result(s) are considered to be in beta testing. Learn more about experimental rules and how you can help improve them.
Focusable Text identifies text elements and ensures they are available to TalkBack.
Supported within:
Impact
People using TalkBack with blindness or low-vision are most impacted. Text elements should be focusable so a screen reader can relay information to the end-user.
Confirmation
- Turn on TalkBack
- Attempt to focus the text element
- One of the following will occur:
- Inaccessible: Text element will not be focusable.
- Accessible: Text element is focused by TalkBack.
How to Fix
Native Android
Avoid setting the importantForAccessibility
property on text views no
. Views that people can access without assistive technology should be available for those using assistive technology.
React Native
Text elements are accessible by default. You'll want to confirm the text is meaningful and provides context. Don't turn off accessibility by using the accessible={false}
property on the Text component directly.