508 Standards, Section 1194.22 (a) states that:
A text equivalent for every non-text element shall be provided (e.g., via "alt", "longdesc", or in element content).
For a searchbox, using
<input type="text" alt="Search" value="" tabindex="1" name="s" id="s" />
passes the 508 Standards, but doesn't pass HTML 5 validation.
Is using <label>
tags the only way of passing both the 508 Standards and the HTML 5 validation, because I would like to avoid having an unnecessary <label>
tag?