WebAIM - Web Accessibility In Mind

E-mail List Archives

labels in forms

for

From: Jon May
Date: May 31, 2007 5:20PM


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000099">
<font size="-1"><font face="Verdana">Hi all,<br>
<br>
I'd like some clarity on labels in forms please. Is it OK to put
&lt;label for="fname"&gt; if it for a first name input box or is it
better to put </font></font><font size="-1"><font face="Verdana">&lt;label
for="firstname"&gt;</font></font><font size="-1"><font face="Verdana">
or even &lt;label for="first name"&gt;. I wasn't sure if screen readers
and the like actually read the value in the label and whether it is
best to have something in there that actually makes sense to the
visitor or if it is fine to use abbreviations.<br>
<br>
Thanks for you time.<br>
Jon May<br>
Mayhem Design<br>
<a class="moz-txt-link-freetext" href="http://www.mayhemdesign.com.au">http://www.mayhemdesign.com.au<;/a></font></font>
</body>
</html>