Form fields have multiple labels

How to fix the form-field-multiple-labels accessibility rule. Forms.

The message you saw

Lighthouse and PageSpeed Insights
Form fields have multiple labels
axe-core, axe DevTools and this checker
Form field must not have multiple label elements (rule form-field-multiple-labels)

Lighthouse runs axe-core inside it, so both are the same check, and the fix below works whichever tool showed you the message.

What it means

A form field should have exactly one <label>. This message means more than one label points at the same field: two <label for="…"> with the same id, or a label wrapping the field plus another label pointing at it.

Browsers and screen readers combine multiple labels differently: some read all of them, some only the first, some only the last. So different people hear different things.

Because the result depends on the screen reader, axe usually reports this as “needs review” rather than a definite failure. Our report lists it under the things a person should check.

Who is affected

A form field has more than one <label>. Screen readers and browsers handle this differently, so some people hear only one label, or the wrong one.

Screen-reader users may hear only part of the label, or the hint instead of the label. Voice-control users may not know which words will activate the field.

How to find it

  1. Run the checker; each case lists the field and all the labels that point at it.
  2. Search the page source for the field’s id and count the <label for="…"> that use it.
  3. Common causes: a second label used for an error message or a hint, and forms built by copying and pasting a field without changing its ids.

How to fix it

  1. Keep one <label> with the field’s name.
  2. Turn the other text into a hint or error message in a <p> or <span> with its own id, and connect it with aria-describedby on the field.
  3. If two fields share an id by mistake, give each field a unique id and update its label.

Example

Before

<label for="pw">Password</label>
<input id="pw" type="password">
<label for="pw">At least 12 characters</label>

After

<label for="pw">Password</label>
<input id="pw" type="password" aria-describedby="pw-hint">
<p id="pw-hint">At least 12 characters</p>

WCAG success criteria

When this rule fails, the page fails:

Check your fix

Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools. Scan again after your change: when the rule no longer appears under the problems, the fix worked.

An automated pass means this rule found nothing wrong. It doesn’t prove the page is accessible: some of what WCAG asks for needs a person to check, and the report’s manual checklist lists those steps.

Related fix guides

More detail