Skip to content
RED SAG Skills
medium10 pts · first answer countsaccessibilityariaforms

Linking a hint to an input

A password field has a visible hint: 'At least 12 characters'. How should the hint be connected so screen readers announce it?

<label for="pw">Password</label>
<input id="pw" type="password">
<p id="pw-hint">At least 12 characters</p>
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions