46.ÌýText area has no description

,Ìý,Ìý

text area incorrect example

Description:ÌýText areas should always have a description that is explicitly associated with the area to make sure that users of assistive technologies will also know what the area is for.

Context:ÌýForm elements should always be tied back to a label somehow, to easily link inputs to the sections that they are related to.

Comments/Questions
<span>
    <textarea name="your-comments"></textarea>
</span>

How to fix it:ÌýIf the text area has a visible description indicating the purpose of the area, this description should be explicitly associated to the text area either as a HTML label or using the WAI-ARIA attribute ‘aria-labelledby’. If it is not possible to add a visible description, either add a mouseover text (‘title’ attribute) to the text area or create an invisible label using the WAI-ARIA attribute ‘aria-label’.

Comments/Questions
<span>
    <textarea aria-label="comments and questions"></textarea>
</span>

Techniques:Ìý,Ìý,Ìý,Ìý,Ìý,Ìý