Skip to main content

form-field-multiple-labels

Ensure form field does not have multiple labels.

Severity: Moderate

Description

Form inputs require proper labeling for screen readers to accurately interpret and convey their meaning and purpose to users. Without adequate labeling, these inputs become inaccessible to users of screen readers and other assistive technologies.

Why is it important?

Assigning multiple labels to a form field can lead to inconsistent results across different combinations of screen readers and browsers. Some combinations may read the first label, while others may read the last label. There are also cases where both labels are read. This inconsistency can cause problems for users and should be avoided.

Examples

  • Success:

    • Only one label is assigned to a text-type input element using <label>.
  • Failure:

    • Form field element has label assigned by aria-labelledby and <label> element.

How to fix?

Make sure that a form field is associated with only one label.

Tags

cat.forms, wcag2a, wcag332

References

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Download Copy