label vs aria-labelledby

Hi All,

In 4.1.1 Labelling

http://www.w3.org/TR/wai-aria-practices/#relations_labeling

It says, "It should be noted that (X)HTML provides a <label for>
element which you can use to label form controls. For all visual
objects, including (X)HTML form elements, you should use the WAI-ARIA
aria-labelledby property for labeling."

Does this mean that in all cases for forms we should be using
aria-labelledby to properly label input elements even when
aria-labelled by is not needed? If so, does that mean we need to use
both the label element and the aria-labelledby attribute? Currently,
if you use both the label and aria-labelled by, JAWS speaks the label
twice. It is the only major screen reader that has this behavior - all
of the others only speak the label once.

Thanks.

Greg

--
Greg Kraus
University IT Accessibility Coordinator
Office of Information Technology
North Carolina State University
919.513.4087

Received on Monday, 27 June 2011 14:03:20 UTC