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

[whatwg] Selectable category tree, nested optgroups?

From: Oldřich Vetešník <vetesnik@mrmil.cz>
Date: Thu, 09 Jul 2009 11:06:07 +0200
Message-ID: <op.uwsl8mffo84pey@pc08>
Hi,

Imagine you have a (for example) category tree like this:

* Cars
   * Sporty
   * Limo
     * 18 wheeler
   * Bloody good
   * Big
* Places to live in
   * Villa
   * Flat
   * Under bridge
...

and you are to select one for your article of some sort. <optgroup> isn't  
capable of doing this at the moment as it cannot be nested and you cannot  
select "Cars" category (it's its label attribute). Currently this is done  
by intending with spaces and, in my humble opinion, it doesn't look too  
accessible - I wouldn't want to crawl through it with my screenreader if  
it was a longer list.

I'm here to ask if there is/could be a better way than intending.

Thanks,
Ollie.
Received on Thursday, 9 July 2009 02:06:07 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC