W3C home > Mailing lists > Public > w3c-wai-hc@w3.org > October to December 1997

Re: SELECT structures with lots of OPTIONs

From: Dave Raggett <dsr@w3.org>
Date: Tue, 14 Oct 1997 09:51:57 -0400 ()
To: Al Gilman <asgilman@access.digex.net>
cc: HC team <w3c-wai-hc@w3.org>
Message-ID: <Pine.WNT.3.95.971014094445.-124091B-100000@hazel.hpl.hp.com>
On Mon, 13 Oct 1997, Al Gilman wrote:

> <form>
>   <p>Nested selections
>   <select name=pizza>
>     <lh>size</lh>
>       <option>medium
>       <option>large
>     <lh>toppings</lh>
>       <option>onions
>       <option>meat balls
>   </select>
> 
> </form>

If we want to allow for the possibility of arbitrarily nested
menus, then OPTGROUP with a required end tag is needed.

> This may have the advantage of getting the group label displayed
> in legacy browsers as opposed to the NAME attribute which hides
> except in new releases. 

You LH example when rendered by Netscape 3.0 also hides the
list headings. I suspect this will be also true for most
other widely deployed legacy browsers.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2984 (or 2521) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Tuesday, 14 October 1997 09:54:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:56:11 UTC