This document provides information about the WCAG criteria Help, and provides ways to find and fix issues that may occur when this check fails.
Forms can contain fields that may not be self-explanatory. Website owners must provide context-sensitive help with additional guidance so that users can complete them accurately.
Context-sensitive help can take various forms, including:
Users may have trouble to determine the correct required field entry on forms if there is no guidance for the form field requirements. This section provides information about why this check is important and provides some pass and fail examples.
This check ensures that your website forms provide the following:
This section provides some pass and fail examples.
Inline help text that provides additional guidance
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone">
<small>Format: 123-456-7890</small>
Why this works:
<label for="security-code">Security Code:</label>
<input type="text" id="security-code" name="security-code" aria-describedby="security-help">
<span id="security-help" class="tooltip">The 3-digit code on the back of your card.</span>
Why this works:
aria-describedby
attribute.Link to external help documentation
<label for="username">Username:</label>
<input type="text" id="username" name="username">
<a href="help.html#username-guidelines" target="_blank">Need help choosing a username?</a>
Why this works:
No help provided for unclear input requirements
<label for="password">Password:</label>
<input type="password" id="password" name="password">
Fix:
<label for="password">Password:</label>
<input type="password" id="password" name="password" aria-describedby="password-help">
<small id="password-help">Must be at least 8 characters, include one number and one special character.</small>
Use this format to ensure that users get the information they need about the field entry requirements.
Placeholder text used instead of proper help text
<input type="email" name="email" placeholder="Enter a valid email">
Fix:
<label for="email">Email Address:</label>
<input type="email" id="email" name="email">
<small>Use a format like [email protected]</small>
The help text remains visible and ensures accessibility.
Help text is provided but it is not accessible to screen readers
<label for="dob">Date of Birth:</label>
<input type="text" id="dob" name="dob">
<span class="tooltip">Format: MM/DD/YYYY</span>
Fix:
<label for="dob">Date of Birth:</label>
<input type="text" id="dob" name="dob" aria-describedby="dob-help">
<small id="dob-help">Format: MM/DD/YYYY</small>
The help text is accessible to all users, and screen readers can announce it.
This section provides instructions on how to review and fix this issue.
aria-describedby
to associate help text with form fields.Provide inline help text that stays visible
Example:
<label for="zip">ZIP Code:</label>
<input type="text" id="zip" name="zip" aria-describedby="zip-help">
<small id="zip-help">Enter a 5-digit ZIP code.</small>
Use tooltips for additional guidance
Example:
<label for="cvv">CVV Code:</label>
<input type="text" id="cvv" name="cvv" aria-describedby="cvv-help">
<span id="cvv-help" class="tooltip">3-digit code on the back of your card.</span>
Provide links to more detailed help if needed
Example:
<label for="tax-id">Tax ID:</label>
<input type="text" id="tax-id" name="tax-id">
<a href="help.html#tax-id" target="_blank">What is a Tax ID?</a>
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Fri Mar 21 2025 10:17:39 GMT+0000 (Coordinated Universal Time)