Re: Radio and checkbox texts

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 UTC