PreuveAccessibility audits

Form labels

Your form fields have no labels

Someone filling in your contact form with a screen reader hears “edit text, edit text, edit text.” They cannot tell which box is the name, which is the email address and which is the message.

A free tool finds this

§ 02

What it costs

A form is usually the only thing on a site that asks someone to commit — a quote, a booking, a complaint. A visitor who cannot tell the fields apart does not fill it in wrongly; they leave, and you never learn they were there. It is the most common failure we find, and among the cheapest to repair: on a plain HTML form it is one element and one attribute per field.

§ 03

See it on your own site

Three ways, cheapest first. Any one of them is enough. Do it on the page that carries your contact or booking form rather than on your homepage.

With the keyboard alone

You need
Nothing at all
About
30 seconds

What to do

  1. Open the page your form is on.
  2. Click once on empty page background, then press Tab until the highlight reaches the first form field.
  3. Keep pressing Tab through every field. Read only what is highlighted — not the text sitting beside it.
  4. Now click directly on the words that look like each field's label.

If your site is fine

Every field you land on has visible text that is unmistakably its label, and clicking that text puts the cursor in the field. That last part is the real test: the click only works when the label is genuinely connected to the field, and that connection is the part a screen reader uses.

If it has the problem

You land on a box with nothing attached to it, or clicking the words beside a box does nothing at all. Text that merely sits near a field is not a label.

With the screen reader already on your computer

You need
The screen reader already installed on your computer
About
2 minutes

What to do

  1. On a Mac, press ⌘ F5 to start VoiceOver. On Windows, press Ctrl + Windows + Enter to start Narrator. Both are already there; neither needs downloading.
  2. Go to your form and press Tab to move into the first field.
  3. Listen to what is said as each field takes focus, and write it down.
  4. Turn the screen reader off the same way you turned it on.

If your site is fine

Each field is announced with its own name first — “Email address, edit text” — so you could fill the form in with the screen switched off.

If it has the problem

You hear “edit text” with no name at all, or the same name twice, or a name that is not what is printed on the screen.

With your browser's developer tools

You need
Any desktop browser
About
2 minutes

What to do

  1. Open the page and press F12, or right-click a form field and choose Inspect.
  2. With the field selected in the markup, open the Accessibility pane. In Chrome and Edge it is in the side panel; in Firefox it is a tab of its own.
  3. Read the Name row. That is the accessible name — the string a screen reader uses, computed by the browser rather than guessed by us.
  4. Repeat for every field in the form.

If your site is fine

Every field has a Name, and it matches the text printed next to it.

If it has the problem

A field whose Name is empty, or a field whose Name is different from what is on the screen. The second case is the one almost no tool reliably catches, and it is the reason this page has six patterns rather than two.

§ 04

Four ways to pass a check, one way to be right

A field can take its name from five different places, and the browser tries them in a fixed order. An automated check that asks “does this field have a name?” is satisfied by four of the six patterns below. Only one of them actually labels the field. Choose a pattern to see what the browser computes and what a screen reader says.

Choose a markup pattern

The name attribute never contributes to the accessible name. That surprises nearly everybody, and it is the first thing worth knowing.

A Nothing at all

No name

<input type="text" name="email">
Computed accessible name
(empty)
Announced as
edit text
Where the name came from
No label, no aria-label, no title, no placeholder. Nothing for the browser to use.
Would a tool report it?
Yes. A free tool finds this in about thirty seconds.

What that means

Everything is wrong with it. The field has no name in the accessibility tree, so there is nothing to announce and nothing for voice control to address. Three of these in a row is where “edit text, edit text, edit text” comes from.

B Placeholder only

Named, not labelled

<input type="text" placeholder="Email">
Computed accessible name
Email
Announced as
Email, edit text
Where the name came from
From the placeholder — the last resort in the browser's order, used only because nothing better exists.
Would a tool report it?
Not by the rule that looks for a missing name, because the name is not missing.

What that means

The visible text disappears the moment someone types, so anyone interrupted halfway through the form loses the only label there was. Default placeholder grey also routinely falls below the contrast requirement.

C Title only

Named, not labelled

<input type="text" title="Email">
Computed accessible name
Email
Announced as
Email, edit text
Where the name came from
From the title attribute.
Would a tool report it?
Some tools flag it as a best practice rather than as a conformance failure.

What that means

A tooltip appears on hover. Not on focus, not on touch, and never for somebody using the keyboard. The label exists for the accessibility tree and for a mouse, and for nobody else.

D aria-label only

Named, not labelled

<input type="text" aria-label="Email">
Computed accessible name
Email
Announced as
Email, edit text
Where the name came from
From aria-label, which outranks everything except aria-labelledby.
Would a tool report it?
Some tools flag it as a best practice rather than as a conformance failure.

What that means

Correct for a screen reader and invisible to everyone else. A sighted visitor returning to a half-filled form has nothing to read. This is also the pattern most often reached for to turn a scan result green, and it helps a narrower group of people than it appears to.

E A visible label the name contradicts

Named wrongly

<label for="email">Email address</label>
<input id="email" type="text" aria-label="Email">
Computed accessible name
Email
Announced as
Email, edit text
Where the name came from
From aria-label. It outranks the label element, so the visible text is ignored entirely.
Would a tool report it?
Not reliably, by anything. This is the kind of finding an audit exists for.

What that means

The screen says Email address and the accessibility tree says Email. Somebody using voice control who says “click Email address” hits nothing, and two visitors are now reading two different forms.

F Correct

Labelled

<label for="email">Email address</label>
<input id="email" type="text" name="email">
Computed accessible name
Email address
Announced as
Email address, edit text
Where the name came from
From the label element, connected to the field by for and id.
Would a tool report it?
Nothing to report.

What that means

Visible, persistent and connected. Clicking the label moves focus into the field, which enlarges the target for anyone with a tremor at no cost at all.

About the quoted announcements

The screen-reader wording on this page is illustrative. It has not yet been captured from a named product and version, and screen readers differ by product, by version and by browser — so read it as the shape of what you will hear rather than the exact words. When the strings are captured, this note is replaced by the product, the version and the browser they came from.

§ 05

Tab through a correct one

This is the last pattern, built rather than described: a real, conformant form. Press Tab to move through it and watch what the browser exposes for the field you are on. Nothing here is broken — the failing patterns above are printed rather than built, because a deliberately unlabelled field on this page would be a real failure in a scan of our own site, and we are not going to put one there to make a point.

A conformant form

A hint like this one is announced too, because it is connected with aria-describedby.

This form submits nowhere. It is here to be tabbed through.

§ 06

All six at once

The same six patterns as a table, for reading rather than clicking — and for anyone whose browser is not showing the panel above.

All six at once
PatternAccessible nameAnnounced asVerdict
A Nothing at all(empty)edit textNo name
B Placeholder onlyEmailEmail, edit textNamed, not labelled
C Title onlyEmailEmail, edit textNamed, not labelled
D aria-label onlyEmailEmail, edit textNamed, not labelled
E A visible label the name contradictsEmailEmail, edit textNamed wrongly
F CorrectEmail addressEmail address, edit textLabelled

§ 07

How to fix it

On a plain HTML form this is one element and one attribute per field. If somebody else built your site, the markup below is enough to send them.

<label for="full-name">Full name</label>
<input id="full-name" type="text" name="full-name">

<label for="email">Email address</label>
<input id="email" type="email" name="email">
  • Give every field a label element, containing text a person would read aloud.
  • Connect them: the label's for attribute matches the input's id, and the id is unique on the page.
  • Do not replace the label with a placeholder, a title or an aria-label. Those name a field without labelling it, which is the distinction this whole page is about.
  • Where a field genuinely has no visible label — a search box with only a magnifying glass — aria-label is the right tool. That is the exception, not the pattern.

If you would rather not do it yourself: we repair findings, and we also write them so that any competent developer can. Who does the work is your decision, and the audit is priced as a complete deliverable either way.

§ 08

What you have just checked, and what you have not

You have checked one thing, on one page. Depending on which standard applies to you, between twelve and eighteen of its success criteria have no automated check in any tool — including ours — so on your site nothing has looked at them. That gap is the whole of what an audit is. It is also why a home inspector's three photographs from the curb are useful, alarming, and not the document the bank accepts.

A free tool would find the blunt version of this one too, and we would rather say so than let you discover it. What a free tool cannot tell you is everything below the blunt version — which is most of this page.

See exactly which criteria nothing checks


Want the rest of the list?

The free scan tests a sample of your pages against the standard that applies to you, and separates what a free tool would also have caught from what only we found and from what nothing examined. No charge, and nothing to install.

§ 09

The criterion, for the record

4.1.2

Name, Role, Value

Level A · In WCAG since WCAG 2.0

The W3C's own explanation

3.3.2

Labels or Instructions

Level A · In WCAG since WCAG 2.0

The W3C's own explanation

1.3.1

Info and Relationships

Level A · In WCAG since WCAG 2.0

The W3C's own explanation

Cited by every standard we assess against — the AODA, SGQRI 008 and EN 301 549 — because all three are built on WCAG, and these three criteria have been in it since version 2.0.