RE: 3.10 control labelling Re: New Version of BP Addendum

> the verification steps 2 and 3 are partially redundant. I 
> suggest replacing them with:
> 
> Verify that the for attribute of the <label> element is 
> present and corresponds to the id attribute of a form control,
>    or that the label element contains the form control for 
> which it is a label. (Note: doing both of these is also acceptable)

Done.


> 
> (In general I suggest converting the evaluation procedures to 
> ordered lists, or otherwise clarifying that all steps should 
> be undertaken).

Done.  I did some further formatting to make it a bit clearer

> Also, I would split the Examples section into two, as follows:
> 
> A label which requests a person's name but is associated with 
> a birth date field presented as drop down boxes, fails step 4 
> [3 if you accept my collapsing of steps 2 and 3]
> 
> WRONG: <label>Your name <input type="date"/></label>
> 
> The for attribute and coresponding id are meaningless except 
> that they must match, so the following HTML5 fragment is correct:
> 
> <label for="you">Your Name </label><input type="text" name="you"  
> id="you"/> and
> <label for="name">Birthday <input type="date" id="name"  
> name="name"/></label>

Done and I labeled them Bad example and Good example to make the
distinction clear.

Question:  Is it wise to add HTML 5?



-- Kai

Received on Thursday, 17 September 2009 07:38:44 UTC