W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2013

Re: [whatwg] Feedback on a variety of elements

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 17 Jan 2013 18:59:09 +0000 (UTC)
To: Steve Faulkner <faulkner.steve@gmail.com>
Message-ID: <Pine.LNX.4.64.1301171858250.2101@ps20323.dreamhostps.com>
Cc: whatwg <whatwg@whatwg.org>
On Thu, 17 Jan 2013, Steve Faulkner wrote:
> hixie wrote:
> > > On Sun, 10 Jun 2012, Steve Faulkner wrote:
> > > >> >
> > > >> > You don't clearly differentiate between roles, properties and 
> > > >> > states, ther are quite a few states and properties NOT provided 
> > > >> > in HTML5 that may have use cases for adding to an input 
> > > >> > element, for example aria-hapopup, aria-labelledby, 
> > > >> > aria-decirbedby, aria-controls etc
> > > >
> > > > Could you give an example of any of these in valid use?
> > >
> > > the following input (gmail search box) uses aria-haspopup=true
> > >
> > > <input type="text" value="" autocomplete="off" name="q" 
> > > class="gbqfif" id="gbqfq" *aria-haspopup="true"* style="border: 
> > > medium none; padding: 0px; margin: 0px; height: auto; width: 100%; 
> > > background: 
> > > url(&quot;data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw%3D%3D&quot;) 
> > > repeat scroll 0% 0% transparent; position: absolute; z-index: 6; 
> > > left: 0px;" dir="ltr" spellcheck="false">
> >
> > Interesting. Can you elaborate on how this actually works? That is, 
> > aria-haspopup tells the AT that activating the element shows a popup, 
> > but what does activating the element mean? How does the AT expose this 
> > to the user? How does the user know what to do with this?
> 
> aria-haspop maps to haspopup state in acc APIs
>
> Typically the user gets notified that there is a sub menu and may 
> (depending on verbosity preferences) get told how to interact with it.

How does the user agent know how the user is to interact with it?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 17 January 2013 18:59:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:12 GMT