Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Form fields without labels: how to find and fix them

OPS-373Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A form field is unlabeled when nothing in the code ties a text to the input. Assistive technology such as a screen reader reads an input's *accessible name*. If there is no name, the user hears only the field type.

The most common causes are a placeholder used as the only label, a visual heading placed above the field but not linked to it, and page builders or custom widgets that render a bare <input>. Hidden labels done badly (for example display:none) also remove the name.

This relates to WCAG success criteria 1.3.1 (Info and Relationships), 3.3.2 (Labels or Instructions) and 4.1.2 (Name, Role, Value). It is one of the most frequently reported accessibility failures on forms.

Why it costs you leads or sales

People using screen readers, voice control or switch devices may not be able to complete your form at all. Voice control users say "click Email", which only works if the field has a name.

Placeholders vanish when someone starts typing. Users with memory or attention difficulties, or anyone who gets interrupted, lose track of what each field wanted. Browser autofill also relies on proper labels and autocomplete values, so fewer fields fill automatically, which adds friction on mobile.

Missing form labels are a common item in accessibility complaints and audits, so they add legal and procurement risk too.

Placeholder only vs real label

Unlabeled

  • Placeholder says "Email" but disappears on typing
  • Screen reader announces only "edit text"
  • Voice control cannot target the field by name
  • Clicking the text does not focus the input

Labeled

  • Visible label stays above the field
  • Screen reader announces "Email, edit text"
  • Voice control command "click Email" works
  • Clicking the label focuses the input
Where an unlabeled field breaks the journey
  1. Landing pageUser arrives and reads the offer
  2. Form opensFocus moves to the first input
  3. Field announcedOnly "edit text" is read, no name
  4. SubmitForm abandoned or filled wrongly
  5. Lead in CRMNever created

A screen reader user reaches the form but cannot tell which field is which.

How to check if your site has it

Find unlabeled fields in about 10 minutes
  1. Run a browser audit

    In Chrome, open DevTools, then Lighthouse, tick Accessibility and run it. Look for "Form elements do not have associated labels".

  2. Inspect the accessible name

    Right-click a field, choose Inspect, then open the Accessibility pane. The Name value should show the field's label text. If it is empty, the field is unlabeled.

  3. Click the label text

    Click the words next to or above a field. If the cursor does not jump into the input, the label is not linked.

  4. Test with a screen reader

    Use NVDA (Windows, free), VoiceOver (Mac and iPhone) or TalkBack (Android). Tab through the form and listen to what each field announces.

  5. Check every form state

    Test popups, multi-step forms, checkout fields, search boxes and newsletter sign-ups, not only the main contact form.

How to fix it

The best fix is a visible <label> linked to the input. Use aria-label only when a visible label truly cannot be shown, such as a search box with an adjacent button.

Correct label, with autocompletehtml
<label for="email">Email address</label>
<input type="email" id="email" name="email" autocomplete="email" required>

<!-- Wrapping also works -->
<label>
  Phone number
  <input type="tel" name="phone" autocomplete="tel">
</label>

<!-- Last resort when no visible label fits -->
<input type="search" name="q" aria-label="Search the site">
Fix by platform
  1. Check the form plugin's label setting

    In plugins such as Gravity Forms, WPForms or Contact Form 7, make sure each field has a Label filled in. Avoid hiding labels unless the plugin hides them accessibly (screen reader only).

  2. Fix theme or custom markup

    If the form is in theme code, add <label for> and matching id attributes. Test again after plugin or theme updates.

Visually hidden but still read by screen readerscss
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

How to confirm it's fixed

Verification checklist
  • Lighthouse no longer reports "Form elements do not have associated labels"
  • The Accessibility pane shows a meaningful Name for every field
  • Clicking each label focuses its input
  • A screen reader announces name and type for every field when tabbing
  • Labels stay visible while typing
  • Autofill fills name, email and phone correctly on mobile
  • Popups, multi-step and checkout forms were all tested

How to prevent it happening again

Habits that keep forms accessible
  • Add "every input has a visible, linked label" to your design and QA checklist
  • Re-run Lighthouse or another accessibility checker after theme, plugin or form builder updates
  • Review third-party popups and embedded forms when you add or change them
  • Do not approve designs that use placeholder-only fields
  • Include a screen reader pass on the main lead and checkout forms before big releases

How FunnelGuard handles this

FunnelGuard does not check for unlabeled form fields today. It is a possible future check, not a current feature.

What FunnelGuard does do is run your real journeys on a schedule, such as filling in a lead form, and check each step, the tracking hits, and whether the test lead reaches your inbox and CRM. That can show you when a form stops working end to end, but it does not tell you whether a field has an accessible name.

To watch for labeling problems, run Lighthouse or a similar accessibility checker after each site change, and repeat the manual screen reader test on your key forms. FunnelGuard also offers a free read-only website audit, but it is not an accessibility audit.

How the problem usually appears
  1. Design

    Form is designed with placeholders to save space

  2. Launch

    Form looks fine to sighted users, so nobody notices

  3. Weeks later

    Screen reader and voice users struggle or abandon the form

  4. Audit

    A checker reports missing labels

  5. Fix

    Labels are added and linked, and the form is retested

Questions people ask

Why is my form failing accessibility checks for missing labels?

Your inputs have no accessible name. This usually happens when you use only a placeholder, or when a text sits near the field but is not linked with a <label for> and matching id. Link a label to each input and re-run the checker.

Is a placeholder enough as a form label?

No. A placeholder disappears as soon as someone types, is often low contrast, and is not reliably announced as a label by assistive technology. Use a visible <label> and keep the placeholder only for an example format.

How do I add a label to an input field in HTML?

Give the input an id, then add <label for="that-id">Label text</label>. You can also wrap the input inside the label element. Clicking the label should then focus the input.

When should I use aria-label instead of a label element?

Use aria-label only when a visible label cannot be shown, such as an icon-only search field. A visible <label> is better because everyone can see it, voice control works with it, and it enlarges the click target.

Can I hide form labels for design reasons?

You can hide them visually with a screen-reader-only CSS class, which keeps them readable by assistive technology. Do not use display:none or visibility:hidden, which remove the label from screen readers. Visible labels are still the better choice for most users.

How do I test if my form fields have labels?

Run the Lighthouse accessibility audit in Chrome DevTools, check the Name in the Accessibility pane for each field, and click the label text to see if it focuses the input. Then tab through the form with a screen reader such as NVDA or VoiceOver.

Does FunnelGuard detect form fields without labels?

No. FunnelGuard does not check for missing labels today; it is a possible future check. It does run your real lead form journeys and checks that steps, tracking and test leads work, so use an accessibility checker for labels.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.