WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Unexpected Voiceover Tab Order and Focussing on Hybrid App

for

From: Patrick H. Lauke
Date: Mar 12, 2015 6:55AM


On 12/03/2015 12:27, Jonathan Avila wrote:
>> I know that Voiceover can sometimes work from the top of the screen down when determining tab order, but there must be a reliable way of influencing that so that the tab order makes sense to Voiceover users.
>
> The only option you have other than layout to control reading order is shouldGroupAccessibilityChildren. This property will cause VoiceOver to respect the view's grouping of child elements as a whole rather than intermixing them in the reading order with other views children.
>
>> Also, at times, there is a requirement to move focus into an overlay panel, and then back to the original focus location when the panel closes. Getting that to work as expected is proving a challenge too.
>
> To set focus call UIAccessibilityPostNotification with UIAccessibilityLayoutChangedNotification as the first parameter and the second with the object to set focus to.

If it's a hybrid app, wouldn't this need use JavaScript's focus()
method? (serious question, as I've not played with building hybrid apps
myself).

P
--
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