W3C home > Mailing lists > Public > www-html@w3.org > April 2008

Re: Radio and checkbox texts

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Mon, 28 Apr 2008 17:35:16 +0100
Message-ID: <4815FCC4.2000508@googlemail.com>
To: "Anas R." <anas.linuxfuture@gmail.com>
CC: w3-html <www-html@w3.org>

Anas R. wrote:
> But regarding backwards compatibility, I've post another syntax:
> 
> <label>Gender:</label>						<input name="gender" value="male" type="radio">Male</input>
> 															<input name="gender" value="female" type="radio">Female</input>
> 
> Which is backwards compatible.

What do you base this statement on? It clearly isn't since current user 
agents that associate labels with fields using LABEL and implicit 
nesting, or, more reliably, FOR and ID, and labels with fieldsets using 
LEGEND and FIELDSET, cannot reliably associate "Gender" with its radio 
button set, or "Male" with its input or "Female" with its input.

"Looking okay" is not the same as being backwards compatible.

--
Benjamin Hawkes-Lewis
Received on Monday, 28 April 2008 16:36:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:13 GMT