W3C home > Mailing lists > Public > public-html@w3.org > October 2007

Re: Embeded label on selects

From: Ben 'Cerbera' Millard <cerbera@projectcerbera.com>
Date: Tue, 23 Oct 2007 09:48:39 +0100
Message-ID: <002f01c81562$321849d0$0201a8c0@ben9xr3up2lv7v>
To: "Julian Guy" <contact@julianguy.co.uk>
Cc: "HTMLWG" <public-html@w3.org>

Julian Guy wrote:
> [...] For instance at the moment:
>
> <select>
>        <option value="0">Please Choose</option>
>        <option value="1">Option 1</option>
>        .... etc .....
> </select>

I've seen it done like that and also like this:

[[[
<select>
       <option value="">Please Choose</option>
       <option value="1">Option 1</option>
       .... etc .....
</select>
]]]

Some people could survey existing websites to see how authors are currently 
doing this and whether there are patterns we could make use of. If this is 
common, perhaps when the first <option> uses <option value=""> or exactly 
<option value>, we can imply it is a label instead of an option?

Giving common markup trends native accessibility could be useful outside the 
niche of table headers. If we spread the workload we could find out sooner.

--
Ben 'Cerbera' Millard
Collections of Interesting Data Tables
<http://sitesurgeon.co.uk/tables/readme.html> 
Received on Tuesday, 23 October 2007 10:53:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:40:04 GMT