E-mail List Archives

Unlabelled form field with adjacent button as label?

for

From: Lynn Holdsworth
Date: Feb 28, 2015 4:19PM


Hi all,

http://www.w3.org/TR/WCAG20-TECHS/G167.html

Technique G167 (link above) for WCAG2 success criterion 3.3.2 (labels
or instructions) describes the use of a button to label an adjacent
field.

There's a note that says "The field must also have a programmatically
determined name, per Success Criterion 4.1.2".

Does this mean that the field *does* need a label of some description,
and that the adjacent button doesn't serve as a label by itself unless
it's associated somehow with the field, for example by using the
ARIA-LABELLEDBY attribute?

Thanks as always,

Lynn