2.7. Making Your App Accessible

Android contains accessibility features to help people with various 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 GUI component. 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 an accessible GUI component, TalkBack speaks the component’s accessibility text and vibrates the device to provide feedback to users who have trouble hearing. All standard Android GUI components support accessibility. For those that ...

Get Android™ How to Program, Second Edition 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.