WebAIM - Web Accessibility In Mind

E-mail List Archives

Labels for file fields?

for

From: dean@bushidodesigns.net
Date: May 7, 2009 6:00PM


I'm wondering how well screenreaders work with file fields in forms and
whether or not it's necessary to use a label. For sighted users, a label
on a file field is kinda redundant.

Is this acceptable?

<fieldset>
<legend>Step 2: Upload Edited File</legend>
<ul>
<li><input name="template" id="template" type="file" /></li>
<li><input name="" type="submit" value="Upload" /></li>
</ul>
</fieldset>