Integration with TalkBack

Integration with TalkBack

Problem Description:

I am a student programmer and the topic my degree work is to finalize one of the input methods for touchscreen devices by visually impaired people (including the blind).
I want to make my application work correct with TalkBack. But I totally don’t know, how to do it. I’ve found the package for accessibility, but it’s not clear for me, how to it integrates with TB.

Solution – 1

You can start with simple layout with ImageView and add android:contentDescription=”your string” as a parameter in xml. Then turn on talkback and click on that image to see what happens.

Solution – 2

As an application developer, you don’t need to specifically integrate your app with TalkBack. Instead, you should focus on providing correct data to the accessibility framework. This will ensure that your application works not only with TalkBack, but also with Braille and switch-based accessibility services.

See the Android Developer guide on Making Applications Accessible for an overview of what steps you need to take to ensure your application works correctly with accessibility services.

You may also want to watch the Google I/O 2012 talk Making Android Apps Accessible, which covers basic application accessibility.

Solution – 3

Use android:contentDescription="Generic Image" in any View with any custom content.

Note: When using ViewGroup, should be careful of clicking through view.

Here is a example:

Rate this post
We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.