W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

checklink

From: <hugo.cunha@anacom.pt>
Date: Fri, 7 May 2004 11:32:19 +0100
Message-ID: <2685DE8093C12742863385DD3945D3D771CE9B@RHEA.ICP.PT>
To: <www-validator@w3.org>

Only a little repair.
I've noticed that in the checklink validator
http://validator.w3.org/checklink there are 2 encapsulated inputs in
labels elements without the attribute "for". 

<fieldset>
  <legend>Options</legend>
  ...
    <label><input type="radio" name="hide_type" value="all"
checked="checked"> all</label>
    <label><input type="radio" name="hide_type" value="dir"> for
directories only</label>
  ...
  </p>
</fieldset>


There are WAI guidelines that referring to this matter:

http://www.w3.org/TR/WCAG10-HTML-TECHS/#forms-labels
12.4 Associate labels explicitly with their controls. [Priority 2] 
Checkpoint 12.4 <http://www.w3.org/TR/WCAG10-TECHS/>
http://www.w3.org/TR/WCAG10-TECHS/#tech-associate-labels


The question is: "It's sufficient to encapsulate input controls in
labels, or the "for" attribute in labels are always required?"

Best Regards
Hugo Silveira da Cunha

**************************************************************
Este email e ficheiros em anexo sao confidenciais e destinados somente 
ao conhecimento e utilizacao da(s) pessoa(s) ou entidade(s) a quem foram
enderecados. Se recebeu este email ou anexos por erro, ou a eles teve 
acesso nao sendo o destinatario, por favor elimine-os contactando o 
remetente.
**************************************************************
This email and files in attach are confidential and intended solely
for the knowledge and use of the individual or entity to whom they were
addressed. If, not being the addressee, you have received this email 
in error, or had access to it by any means, please delete it and notify
the sender.
**************************************************************
ICP-ANACOM - Autoridade Nacional de Comunicacoes http://www.anacom.pt
<http://www.anacom.pt/> 
Received on Friday, 7 May 2004 07:27:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:13 GMT