5.7 Description View in a new window
Text that describes a form field. The form element must have an aria-describedby
attribute that points to the
id
of the description text.
Twig: form/form/form-description.twig
Example
Help text that provides additional information about the field.
Markup
<label for="input7">Input text field</label>
<input type="text" id="input7" aria-describedby="input7Help">
<div role="tooltip" id="input7Help" class="form__description">Help text that provides additional information about the field.</div>