14.ÌýForm control label is missing text

,Ìý,ÌýÌý(´¡´¡)

Empty label incorrect example

Description:ÌýThe form element has a label but text has not been added (label is empty).

Context:ÌýHTML without any content can clutter the HTML making it difficult for readers to scan through it properly. It should either be filled with content or removed entirely.

<label onclick="" for="css3menu-switcher"></label>        

How to fix it:ÌýAdd the text for the form element within the label-tag or WAI-ARIA ‘aria-label’ or ‘aria-labelledby’ attribute that is already present.

<label onclick="" for="css3menu-switcher">Switch menu</label>          

Techniques:Ìý,Ìý