WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Combobox sufficiently accessibility-supported?

for

From: _mallory
Date: Oct 10, 2015 1:49PM


Question: as a web developer, if I listen for a Touch event on my
combobox, similar to checking for a keyup (and then checking which
keys) on a control, can I determine that someone touched the screen?

Or can I get false touchWhatevers being fired by a mouse or kb because
the device+browser also supports touch?


_mallory

On Sat, Oct 10, 2015 at 02:11:35AM +0100, Patrick H. Lauke wrote:
> On 10/10/2015 00:52, Bryan Garaventa wrote:
> >>It is conceivable that this could be made to work though, with the focus nominally remaining on the combobox' input, but VoiceOver/TalkBack allowing the
> >>user to swipe up/down (same as cursor up/down) to cycle through the results/suggestions, while swiping left/right would take the user to previous/next
> >>item in the sequential focus order.
> >
> >That is true, and would be helpful if implemented. It doesn't say anything about this in the spec though, so achieving consensus on how it should work is debatable.
>
> I don't believe the spec authoritively defines any user agent
> behavior http://www.w3.org/TR/wai-aria/ - and while we do have the
> best practices http://www.w3.org/TR/wai-aria-practices/ these are
> aimed at web content developers, and are not meant as a guide for
> user agent developers.
>
> I don't think there's any particular need for consensus - all the
> various ATs don't have to use the same touchscreen gestures (and
> indeed, they don't for many things), but what they do need is an
> underlying implementation of the concept of activedescendant, and
> some means for a user to interact with a widget that uses it.
> Whether it be an up/down swipe, or a two- or three-finger swipe, or
> a more complex gesture is really up to each AT to decide.
>
> 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
> > > >