WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Site evaluation

for

From: julian.rickards
Date: Feb 13, 2004 7:24AM


There is a bit of a problem with your form code here. You correctly use for
in the <label> tag but the for="name" must be the same as the id="name" in
the <input> tag. In your snippet below, you have for="Name" and
id="cadName".

It also appears that you are using XHTML because of the /> at the end of
<input />. Starting with XHTML 1.0, the name attribute has been deprecated
in favour of the id attribute. It is commonly recommeded that you use both
for older browser support so they should be the same: name="x" id="x".

HTH,

Jules

---------------------------------------------------------
Julian Rickards
Digital Publications Distribution Coordinator
Publications Services Section
Ontario Ministry of Northern Development and Mines
Phone: (705) 670-5608
Fax: (705) 670-5690


>