WCAG 1.0 Double A Checkpoint 12.4

Skip Quick Links

“Associate labels explicitly with their controls.”

This is complementary to Checkpoint 10.2, which requires that labels be implicitly associated with their controls until browsers allow explicit associations. Checkpoint 12.4 goes further, requiring explicit association.

Example

<label for="firstname">First name: <input type="text" id="firstname" tabindex="1"></label>

Warning icon Warning: The example given above is an example of explicit association, not implicit, as stated on the W3C website. It is worth noting here that the W3C examples often contain errors, so they should be used with caution.

Reference

Labeling Form Controls