I think some people dont understand Forms to well.

Without a label how will you label what your inputs are to be used for?


On 5/25/07, Stephen Kelly <[EMAIL PROTECTED]> wrote:

On 25/05/07, Karl Lurman <[EMAIL PROTECTED]> wrote:
> Im not the biggest fan of a label 'around' an input. To me, it doesn't
> make a lot of sense, but I know that its standard practice with a lot
> of people. I understand that it gives us another means of
> encapsulating our label/field pair, but again I am unsure on the
> semantics - it poses the question, what is the purpose of the
> attribute "for" in labels?

Putting the label around the input is implicit association - it is a
standard. It needs to be done correctly though.

http://www.w3.org/TR/WCAG10-HTML-TECHS/#forms-labels

Using 'for' explicitly associates the label with the control.

Stephen
http://www.twoplayer.net


*******************************************************************
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]
*******************************************************************

Reply via email to