2.7 Making Your App Accessible

Android contains accessibility features to help people with certain disabilities use their devices. For people with visual disabilities, Android’s TalkBack can speak screen text or text that you provide (when designing your GUI or programmatically) to help the user understand the purpose of a view. Android also provides Explore by Touch, which enables the user to hear TalkBack speak what’s on the screen where the user touches.

When TalkBack is enabled and the user touches a view for which accessibility text is specified, the device vibrates to indicate that the user touched a significant view and TalkBack speaks the views’s accessibility text. All standard Android views support accessibility. For those that display ...

Get Android How to Program, 3/e now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.