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

[whatwg] Comment on Forms 2.0: OPTGROUP Nesting

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Tue, 06 Jul 2004 05:17:29 -0400
Message-ID: <40EA6E29.70401@earthlink.net>
levik wrote:
> I'm not quite sure what the current behavior is as far as optgroups
> are concerned... I am guessing the optgroup labels are either "read"
> aloud, or skipped altogether. either way, nested groups would work the
> same way. newer readers could announce an optgroup by its label as a
> special choice leading to a sub-selection of choices.

    Yeah, I don't see what the problem is either. Existing vendors could 
just extend their current approach to <optgroup> elements.

    Heck, I myself could right a script that looks for an <optgroup> 
within an <optgroup> then takes it's children and puts them in the 
parent <optgroup>, inserting spaces for indentation in the <option> 
elements. You then just insert a disabled <option> to take the place of 
the <optgroup> in the menu. Only thing you don't get is bold text, and 
that you might be able to solve with styling.
Received on Tuesday, 6 July 2004 02:17:29 UTC

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