E-mail List Archives
RE: label element containing input element
From: Terence de Giere
Date: Nov 7, 2003 2:45PM
- Next message: Paul Bohman: "Labeling external links as external links"
- Previous message: Karl Groves: "RE: Opening New Windows"
- Next message in Thread: None
- Previous message in Thread: Tim Harshbarger: "RE: label element containing input element"
- View all messages in this Thread
Enclosing the input element in the label element is 'implicit
association' of the label with the form control. It also allows certain
visual format effects using cascading style sheets, such as indicating
the label and the control are a single unit and go together, but some
browsers do not support this construction properly which may be why
screen readers are not handling this correctly. It probably is better to
keep the label separate from the control until the problem software is
sufficiently obsolete. Strictly speaking, the text in any element
between the start and end tags should be rendered by an HTML compliant
agent, whether or not the element is supported by the agent.
Terence de Giere
<EMAIL REMOVED>
----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/
- Next message: Paul Bohman: "Labeling external links as external links"
- Previous message: Karl Groves: "RE: Opening New Windows"
- Next message in Thread: None
- Previous message in Thread: Tim Harshbarger: "RE: label element containing input element"
- View all messages in this Thread