This document gives information about the related Acquia Optimize checks:
Each label associated with an input element contains text.
Label elements associated with input fields must contain text.
If labels do not contain text, they cannot properly describe their related input fields. This means users may have difficulty filling out the input fields correctly.
This check affects the following users who have:
Visual impairments: Who access the site content with a screen reader or screen magnification software.
Cognitive impairments: Who benefit from clear instructions.
The Acquia Optimize platform will highlight <label>
elements that do not contain text. To resolve the issue, you need to add descriptive text to the <label>
element so that it properly corresponds to the related input field.