Accessibility Certified – Home

3.3.2 Labels or Instructions

Every form field has a visible label or instructions, including hints for required fields and expected formats.

Level APrinciple 3: Understandable

What does it mean?

Users must know what to enter before they start typing. Each field needs a visible label, and where needed a short instruction, for example which fields are required or which date format is expected.

A placeholder text inside the field is not a reliable label, because it disappears while typing. Labels should be placed close to the field and connected in code, for example with <label for>.

Who does it help?

  • People with cognitive disabilities or memory problems
  • Screen reader users, who hear the label when the field gets focus
  • People with low vision, who need labels close to the field
  • Everyone filling in a form on a small mobile screen

Common failures

  • Fields that only have a placeholder and no visible label
  • Required fields marked only with a coloured asterisk and no explanation
  • A date field with no hint about the expected format
  • A group of radio buttons without a visible question

How we test it

  • axe-core Automatic: axe-core finds typical violations. A violation is pre-filled as “fails”.
  • evidence Evidence: our scanner collects material such as screenshots, lists and measurements.

Test question: Every input has a visible label or instruction, including required-field and format hints.

A person decides every criterion. No criterion ever passes automatically.

How to fix it

Problem
<input type="text" placeholder="Date of birth">
Better
<label for="dob">Date of birth (required)</label>
<p id="dob-hint">Format: DD.MM.YYYY</p>
<input id="dob" name="dob" required aria-describedby="dob-hint"
  inputmode="numeric" autocomplete="bday">

The visible label and hint stay on screen and are announced with the field.

Practical tips

  • Use <fieldset> and <legend> to label groups of radio buttons or checkboxes.

Guides and patterns on this

Official source

Understanding WCAG 2.2 at the W3C: 3.3.2 Labels or Instructions

How does your website do on this criterion?

The free check tests your home page automatically; the audit decides all 55 criteria.

Free checkAll criteria