wsg  

Re: [WSG] Styling forms

Thomas Thomassen
Tue, 05 Feb 2008 23:38:03 -0800

When the LABEL element wraps around INPUT you do not need the FOR attribute.The hierarchy provides the connection between them. However, when the LABEL does not wrap around the INPUT, the FOR attribute is required for useragent to know the elements are related.


----- Original Message ----- From: "John Faulds" <[EMAIL PROTECTED]>
To: <wsg@webstandardsgroup.org>
Sent: Wednesday, February 06, 2008 7:42 AM
Subject: Re: [WSG] Styling forms


Hi Germ17,I have seen your example presented in GERMWORKS.NETFYI, your approach is perfect to my knowledge, but the <INPUT> element should not wrapped by any <LABEL> element. It's not compliant/accessible...I request you to modify this example according to standards, if you believe
the same.

You're wrong there. It's perfectly valid HTML and I don't believe it is any less accessible as long as the 'for' attribute is specified.


--
Tyssen Design
http://www.tyssendesign.com.au
Ph: (07) 3300 3303
Mb: 0405 678 590


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




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