W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2016

RE: Handeling Talkback focus on Android Apps

From: Jonathan Avila <jon.avila@ssbbartgroup.com>
Date: Sat, 30 Jul 2016 22:45:17 +0000
To: WAI Interest Group <w3c-wai-ig@w3.org>
Message-ID: <BY2PR03MB2725FCB258ABB4B1FF66BCD9B020@BY2PR03MB272.namprd03.prod.outlook.com>
Ajay, you have probably noticed that calling requestFocus on a focusable object does not move the TalkBack focus.  The only way that I am aware to move the TalkBack focus is to send an accessibility event.  I would caution that this is not really designed to work like this and timing will likely be an issue that you may need to schedule these calls.

Example
mybutton.sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_FOCUSED);

Ideally you would use a locazlized accessibility announcement  instead:
myButton.announceForAccessibility("Passed");

Or you would use a live region to cause changed text to be announced by TalkBack or for other important things you could use an alertdialog.

Jonathan

Jonathan Avila
Chief Accessibility Officer
SSB BART Group 
jon.avila@ssbbartgroup.com
703.637.8957 (Office)

Visit us online: Website | Twitter | Facebook | Linkedin | Blog
Check out our Digital Accessibility Webinars!


-----Original Message-----
From: Ajay Sharma [mailto:ajaysharma89003@gmail.com] 
Sent: Saturday, July 30, 2016 4:02 AM
To: WAI Interest Group
Subject: Handeling Talkback focus on Android Apps

Hello and Greetings,

I am working on a project that aims making the product as much accessible as possible and to make the experience delightful to the people.  For that I have few things in mind:


1. Whenever user interacts with the app, and new pane opens up, Talkback doesn't say anything that I think is because  the system focus lands somewhere at the top of the pane where no element is present, but when user swipe couple of times, then talkback focus reaches to the title of that pane and reads it. So, is there any way to make Talkback focus to land on title of the pane by default.


2. Whenever a alert dialogue modal opens, the default focus lands on the entire dialogue container, thus Talkback reads everything in one go, so is it okay to make the Talkback focus to land on first element which is the title of that dialogue. to make it easy for users to understand it's content by swiping.

3. The app allows users to select multiple items, is there any way to make Talkback prompt the number of items selected everytime whenever a new item is selected.

4. How to make Talkback prompt if the folder is empty, or there are no search results and things like "Your item has been deleted" after user deletes an item.

Although there are alternative ways to confirm these actions, that's by swiping again and again to make a sense of what happened. But these kind of tweaks would make experience better, I think. If it's a good idea please help in finding a way to achieve it.



Best,
Ajay

Received on Saturday, 30 July 2016 22:45:50 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 30 July 2016 22:45:52 UTC