W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2015

Re: Understanding How Focus Behavior Works For VoiceOver On IOS and TalkBack On Android

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Thu, 09 Apr 2015 19:55:17 +0100
Message-ID: <5526CB15.3030407@splintered.co.uk>
To: w3c-wai-ig@w3.org
On 09/04/2015 19:43, Jonathan Avila wrote:
> Jim, it depends on whether you are talking about native apps or web apps.  For web apps you can use the standard practices for web accessibility.

One interesting/specific aspect of VO/iOS (may also extend to VO/OS X, 
but not tested on that platform in a while) is that if focus is lost 
(e.g. a <button> was focused, and it's then removed from the DOM/hidden 
via display:none), VO will attempt to find a focusable element that's 
closest to the position of its last known focused element...so for 
instance, if you had a modal dialog and the user focuses and activates 
the close button, and you don't explicitly manage focus by moving it 
programmatically back to a sensible place (e.g. the control that first 
triggered the modal), VO will compensate by then focusing whatever is 
near enough to the position previously occupied by the close button in 
the main page.

Depending on the page you're testing, this can look like completely 
erratic behavior, until you realise it's VO's compensating for lost 
focus (rather than resetting focus back to start of page, as happens in 
many other ATs)

Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke
Received on Thursday, 9 April 2015 18:55:40 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 25 May 2017 01:54:15 UTC