On Fri, Nov 10, 2006 at 10:49:43AM -0500, Mike at Green-Beast.com wrote:
> I echo what Mel said, though I'd like to add that the label should probably 
> be the same as the name (and the ID, if needed, may as well match too).

You mean the text used to label the control with should be the same as
the value of the name and id attributes?

That is not always reasonable. The two key examples being multilingual
websites and radio buttons (where the name and id have to be different).
 
> <label for="answer"><input type="radio" value="0" name="answer" alt="make
> your mark" id="answer" />Text</label><br />

Why alt text on a radio button? The purpose of the attribute is to
provide an textual alternative for image inputs.

-- 
David Dorward                                      http://dorward.me.uk



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to