Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Accessibility is, or should be, a major concern of every web and app developer. Google has made accessibility a primary focus of Jelly Bean and followed through with built-in tools, APIs, and even a developer center dedicated to the topic. Let's take a look at the system wide accessibility features to start off. For the vision impaired, Android 4.1 includes a screen reader service called TalkBack to describe the results of actions, as well as a companion feature called Explore by Touch that audibly describes the interface as you touch the various elements.
To enable it, you will first have to open Settings, that I have here on one of my home screens. So I'll swipe over to that and tap Settings and then I'll scroll down, almost to the bottom, where I see Accessibility, and tap that. Next tap TalkBack right up top. When that opens, tap the ON/OFF switch in the upper right, by default it's set to OFF. That will display a dialog box asking you to confirm your choice. Once you tap OK, TalkBack will kick in. So let's tap OK.
Now every action that I take will be echoed by TalkBack. So if I change my Ringtone volume, [Audio] I'm told of the action and this specifies to what percentage I change it. Let me raise the volume a little bit. [Audio] Now if I want to navigate through the system there are a series of special gestures you can use. To use an icon, I'll need to tap it not once but twice. Let's click the TalkBack settings at the bottom of the page to go to that screen.
I find it's best for most icons and options to highlight it first and then double tap. So I'll tap it once to highlight. [Audio] And you can hear TalkBack read it back, and then again twice. [Audio] Now here is a pretty big list of options. It says there are 16 at all and we're seeing 1 through 9. So how do you see the rest? Well, you can't use a simple swipe up to scroll, that would cause the last item you touched to be read.
To scroll when you're in TalkBack mode, you'll need to use a two finger swipe. [Audio] I want to point out two options in the TalkBack settings. The first is Launch "Explore by touch" tutorial, found almost at the bottom of the screen. We won't go into it, but I recommend that you work your way through it in order to better understand the wide range of gestures used in this mode. Now I do want to go into Developer Settings, however. Let met first highlight it.
[Audio] And now I'll double tap it. [Audio] As you can see, and hear, there are three options here which you can set to trace what's happening in TalkBack mode during a debugging process. First you can set the Log Output Level. If I tap it once. [Audio] And double tap to open. [Audio] You can see all seven levels ranging from NONE to VERBOSE. Let me Cancel it.
[Audio] You can also highlight the event sources in the log to see what's triggering the TalkBack. And finally, you can display the actual speech output in the log. Now if you're following along on your device for the first time, you may be wondering how to get back to the previous screen. Well, you can try double-tap back. That's often a little tricky. Luckily, there's a special gesture for going back a page, and that's swipe down and to the left, just like you're going to the previous page of a book.
[Audio] Let's do that one more time. [Audio] And now I'm going to highlight the ON/OFF switch. [Audio] And then double tap to disable the feature. [Audio] To confirm, I'll highlight OK. [Audio] And then double tap. I mentioned that Google has a great deal of information about accessibility.
You can find that on the developerandroid.com site. There's detailed information about accessibility APIs, how to build an accessibility service, and even a checklist. I think you'll find, like I did, that it's a terrific resource.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 101175 Viewers
61 Video lessons · 87929 Viewers
71 Video lessons · 71811 Viewers
56 Video lessons · 103672 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.