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.
People need to know what is expected of them before they submit a form. A person using a screen reader, the technology blind people typically use to have a document read aloud and to understand its structure, cannot see an asterisk or a red label. If a required field is not identified in the field itself, they find out only when the form is rejected.
This check affects these users:
Cognitive impairments: Who benefit from clear instructions.
The Web Governance platform highlights <label> elements that do not contain text. To resolve the issue, add descriptive text to the <label> element so that it properly corresponds to the related input field.
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.