Gå direkt till innehållet

help.sitevision.se hänvisar alltid till senaste versionen av Sitevision

12.4 Do associate controls explicitly with their labels.

Explicit label association is preferred to implicit. Match input's id attribute with label for attribute.

Do associate controls explicitly with their labels. Specify an id attribute for input and match it with label's for attribute.

Translation

Make sure that control elements in forms are explicitly associated with the labels.

Means

In HTML, use the LABEL and its "for" attribute.

The page published:

Did the information help you?

Contact us

Sitevision AB (headquarter)
Drottninggatan 18A
702 10 Orebro
Sweden

Info: +46 19-17 30 30
Support: +46 19-17 30 39

Follow us