E-mail List Archives
Thread: RE: "adjacent" <label> elements
Number of posts in this thread: 1 (In chronological order)
From: Kevin Spruill
Date: Tue, Apr 02 2002 2:46PM
Subject: RE: "adjacent" <label> elements
No previous message | No next message
Good question Leo, without testing it directly I can't say for sure one
way or the other. However, I'd imagine that the newer AT agents (which
handle forms and elements much better in general) should correctly
associate "adjacent" labels with the appropriate element (your label
uses the for attribute, and it's placed in the logical flow/order of the
form). I'd be more concerned about placing the form elements, and labels
in separate table data cells... also not sure why the form tags can't
encapsulate all of the forms elements.
Any thoughts from others on this?
>Well, on one of my pages the form element's label is adjacent to it
>(directly above), but in this instance the <form> tags cannot
>encapsulate both the <label> and the form element:
>Is a screen reader not going to associate the label with the form
>element in this instance?
Kevin Spruill
National Library of Medicine
OCCS
= EMAIL ADDRESS REMOVED =
(301) 402-9708
(301) 402-0367 (fax)
www.nlm.nih.gov
----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/