Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Form inputs without labels (placeholder only): how to fix it

PRF-305High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A label is the text that names a form field, such as "Email address". In HTML it is a <label> element tied to the input. Many forms skip it and use the placeholder attribute, the grey hint text shown inside an empty field.

A placeholder is a hint, not a label. It disappears when the visitor types, it is often too pale to read, and browsers and assistive tools do not treat it consistently as the field's name. WCAG 2.2 expects inputs to have a programmatic name and visible labels or instructions (success criteria 1.3.1, 3.3.2 and 4.1.2).

Placeholder only (problem)html
<input type="email" name="email" placeholder="Email address">
Proper label (fix)html
<label for="email">Email address</label>
<input type="email" id="email" name="email" autocomplete="email" placeholder="name@example.com">

Why it costs you leads or sales

Without labels, fewer visitors finish your form. The effects add up:

What goes wrong for visitors
  • Autofill can miss fields, so people retype addresses and card details on mobile.
  • Screen reader users may hear only "edit text" with no hint of what to enter.
  • Voice control users cannot say "click Email" if the field has no name.
  • Visitors forget what a field wanted once they start typing, then make mistakes.
  • Tapping a label cannot focus the field, which makes small touch targets harder.
  • Pale placeholder text is hard to read for people with low vision.
Form completion rateExample numbers
Form completion rate (example)Placeholder only: 42 %; Visible labels: 51 %020394251Placeholder onlyVisible labels%

Example: illustrative completion rates for the same form with placeholder-only fields and with visible labels. Not real data.

Same field, two experiences

Placeholder only

  • Hint vanishes on typing
  • Screen reader may announce no name
  • Autofill can guess wrong
  • Low contrast grey text

Visible label

  • Label stays visible
  • Field has an accessible name
  • autocomplete tells the browser what to fill
  • Tapping the label focuses the field

How to check if your site has it

Check your forms
  1. Look at the form

    Click into each field and type one character. If the only text describing the field disappears, it is placeholder only.

  2. Click the label text

    If a label exists and is linked, clicking it puts the cursor in the field. If nothing happens, it is missing or not linked.

  3. Inspect the HTML

    Right-click the field, choose Inspect, and look for a <label for="..."> matching the input's id, or an aria-label or aria-labelledby attribute.

  4. Run an automated test

    Run Lighthouse (Chrome DevTools, Accessibility) or the WAVE extension. Both report form elements without labels.

  5. Try a screen reader

    Tab through the form with NVDA (Windows) or VoiceOver (Mac and iPhone). Each field should be announced with its purpose.

How to fix it

The rule is the same everywhere: every input gets a visible label that is programmatically linked to it. Keep placeholders for example formats only. The exact steps depend on your platform and theme.

Add labels by platform
  1. Contact Form 7

    Wrap fields in label tags in the form editor, for example <label>Your email [email* your-email autocomplete:email]</label>.

  2. Other form plugins

    In plugins such as WPForms, Gravity Forms or Fluent Forms, open the field settings and make sure the Label is filled in and not hidden. Check the form's label placement setting.

  3. Theme forms

    For custom theme or page builder forms, edit the template or widget to output a label for each field.

Visually hidden label (only when a visible one is impossible)css
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

How to confirm it's fixed

Fix verification
  • Clicking each label focuses its field.
  • The label stays visible while you type.
  • Lighthouse and WAVE report no missing form labels.
  • A screen reader announces each field by name.
  • Browser autofill fills name, email and phone correctly on desktop and mobile.
  • Submit a test lead and confirm it still arrives in your inbox and CRM.

How to prevent it happening again

Habits that keep labels in place
  • Add "every field has a visible label" to your form design and QA checklist.
  • Run Lighthouse or WAVE after any theme, plugin or page builder update.
  • Do not accept form templates that hide labels for a cleaner look.
  • Test new forms with keyboard and autofill before launch.
  • Re-test after switching form tools, since each outputs different markup.

How FunnelGuard handles this

FunnelGuard does not check for missing form labels yet. It is a possible future check. Today, use Lighthouse, WAVE or axe DevTools for this.

What FunnelGuard does do is run your real lead form journey on a schedule with a robot visitor. It checks each step, the tracking hits sent to platforms such as GA4, Google Ads and Meta, and whether test leads reach your inbox and CRM. If a form change breaks submission, you get one alert with a screenshot and a likely cause, but that does not tell you whether fields have labels. The Free plan covers 1 site and 2 journeys with daily checks and no card. A free read-only website audit is also available.

Questions people ask

Is a placeholder a substitute for a label?

No. A placeholder disappears when someone types and is not reliably treated as the field's name by assistive tools. Use a visible <label> and keep the placeholder only for an example format.

Why is my form autofill not working?

Autofill depends on clear field names and autocomplete attributes, and labels help browsers and assistive tools identify the field. Add a label and values such as autocomplete="email" or autocomplete="tel" to each input.

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

Give the input an id and add a <label for="that-id"> with the field name. You can also wrap the input inside the label. Clicking the label should then focus the field.

Does WCAG require visible labels on form fields?

WCAG 2.2 requires that inputs have labels or instructions (3.3.2) and a programmatic name (4.1.2 and 1.3.1). In practice a visible, linked label is the safest way to meet them.

Can I use aria-label instead of a visible label?

It gives the field an accessible name, but sighted users still see nothing once a placeholder disappears. Use a visible label where you can and aria-label only when the design truly cannot show one.

Are floating labels accessible?

They can be, if they use a real <label> element, stay visible after typing and have enough contrast. A placeholder styled to look like a floating label is not accessible.

How do I check whether my form fields have labels?

Click the label text and see if the field focuses, inspect the HTML for a matching for and id, and run Lighthouse or WAVE. Both flag form elements without labels.

Does FunnelGuard check for missing form labels?

Not yet. It is a possible future check. FunnelGuard does run your real form journey on a schedule and checks that test leads arrive, so it can show if a form stops working.

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.