WebAIM - Web Accessibility In Mind

E-mail List Archives

label without form-element

for

From: Barthofer Michael
Date: Aug 9, 2005 11:09AM


hello everybody

I am currently checking a course registration system for the adult education centre in Linz concerning WAI-guidelines. on the page, where the user checks the data he entered in the registration form, our contractor uses labels in the code, even though there are no form-elements present (maybe its just a copy/paste-error).

what I would like to know is, how do screenreader handle this situation? will they ignore the label or read it? besides, the label-text is totally senseless at this point. e.g. "please enter your name" - where, if there is no input-element?

because this is no tailored solution just for us, but a standard product of the contractor, I would need "hard facts" against this misuse of the labels to initiate a change of the code.

example:

<label for="tedit_vornameid" class="left" title="Please enter your first name"> Vorname: *</label>
<span class="textsonstiges">Michael</span><br />

yours
Michael Barthofer

------------------------------------
Mag. Michael Barthofer
Stadtkommunikation Linz
Altes Rathaus
A-4041 Linz
Tel. +43 (0)732/7070-1347
Fax +43 (0)732/7070-54-1347
mailto:michael.barthofer |at| mag.linz.at
visit: http://www.linz.at/
visit: http://www.linztermine.at/