W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] [web-forms] Add ACCESSKEY to SELECT

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 13 Aug 2004 07:02:44 +0200
Message-ID: <411C4B74.1020701@annevankesteren.nl>
>    Is this really needed in light of the fact that <label> supports 
> |accesskey|? Sample code:
> 
> <label accesskey="1">
>   <select>
>     <option>foo
>     <option>bar
>     <option>quuz
>   </select>
> </label>

How can the optional attributes of LABEL affect the optional attributes 
of SELECT? INPUT has an ACCESSKEY attribute as well, we are not going to 
remove it from that element either, do we?

For example, you could have datagrid like:

  <table>
   <thead>
    <tr><th>Foo</th><th>Bar</th>
   </thead>
   <tbody>
    <tr><td><select/></td><td><input/></td></tr>
    <tr><td><select/></td><td><input/></td></tr>
   </tbody>
  </table>

(First select the product, then the amount, for example.)


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Thursday, 12 August 2004 22:02:44 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC