A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
3.3.5 Help
This document provides information about the Acquia Web Governance accessibility check:
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 struggle 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.
This check ensures that your website forms provide the following:
This section provides some pass and fail examples.
<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.<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:
<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.
<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.
<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 identify and fix this issue.
The Acquia Web Governance platform highlights non-streaming video elements in the code.
aria-describedby to associate help text with form fields.Use the methods below to fix the issue.
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.
If this content did not answer your questions, try searching or contacting our support team for further assistance.