Each label associated with an input element contains text
Each label associated with an input element contains text
Label elements associated with input fields must contain text.
This document provides information about the related accessibility checks:
Each label associated with an input element contains text.
Note
To be phased out
This check is scheduled to be phased out in early 2025.
What
Label elements associated with input fields must contain text.
Why
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.
Affected Users
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.
How
How to fix it
The Web Governance 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.