# Placeholder text

> Hint text inside a field disappears as soon as people start typing, just when they need it.

Area: Forms. Evidence behind the answer: Moderate. Last checked November 12, 2026.
Page: https://uxreference.com/forms/placeholder

## The answer

Do not use placeholder text as a label or for instructions. Put both outside the field.

- **Moderate.** Don’t use placeholder text as the only label. (https://uxreference.com/forms/placeholder#rule-1)
- **Moderate.** Put instructions and format rules outside the field, where they stay visible. (https://uxreference.com/forms/placeholder#rule-2)

## The problem

Text shown inside an empty field disappears when typing starts, so anything it says has to be remembered.

## How to decide

None. The sources do not describe more than one correct practice that depends on context.

## Every rule

Each rule has a grade: Settled (required by WCAG AA or law, or replicated research), Strong, Moderate, Weak, or Unsettled (use the stated default until the evidence settles).

#### Rule 1. Moderate

Do not use placeholder text as a field's only label.

- Applies when: Always.
- Based on: Practitioner research
- Principle: Recognition over recall

Why: NN/g and Baymard report the same problems from testing without giving numbers; GOV.UK, USWDS, Carbon and the W3C tutorial agree. Follows from working memory limits. No controlled study, so 3.

Sources: [Mobile forms, avoid inline labels](https://baymard.com/blog/mobile-forms-avoid-inline-labels); [Placeholders in Form Fields Are Harmful](https://www.nngroup.com/articles/form-design-placeholders/); [Text input component (GOV.UK Design System)](https://design-system.service.gov.uk/components/text-input/); [Text input usage (Carbon Design System)](https://www.carbondesignsystem.com/components/text-input/usage); [Form instructions (WAI Web Accessibility Tutorials)](https://www.w3.org/WAI/tutorials/forms/instructions/)

Link: https://uxreference.com/forms/placeholder#rule-1

#### Rule 2. Moderate

Put instructions and format rules the person needs outside the field, where they stay available. Do not put them in placeholder text.

- Applies when: Always.
- Based on: Practitioner research
- Principle: Recognition over recall

Why: Consistent practitioner guidance; one controlled study of date fields found an in-field hint did not cut format errors and was rated least comfortable. Rated 3.

Sources: [Placeholders in Form Fields Are Harmful](https://www.nngroup.com/articles/form-design-placeholders/); [Text input component (GOV.UK Design System)](https://design-system.service.gov.uk/components/text-input/); [Text input usage (Carbon Design System)](https://www.carbondesignsystem.com/components/text-input/usage); [Form instructions (WAI Web Accessibility Tutorials)](https://www.w3.org/WAI/tutorials/forms/instructions/); [Working towards usable forms on the World Wide Web: optimizing date entry input fields](https://edoc-vmtest.ub.unibas.ch/20520/1/20110913111127_4e6f1e3f162e6.pdf)

Link: https://uxreference.com/forms/placeholder#rule-2

#### Rule 3. Weak

Never let hint text be mistaken for, or submitted as, an entered value.

- Applies when: Always.
- Based on: Practitioner research
- Principle: Prevent errors

Why: One form's logs showed 98 to 99% of submissions kept the hint as the value, from a pre-2010 implementation; NN/g reports people skipping fields that look filled. Rated 2.

Sources: [Don't put hints inside text boxes in web forms](https://www.effortmark.co.uk/dont-put-hints-inside-text-boxes-web-forms/); [Placeholders in Form Fields Are Harmful](https://www.nngroup.com/articles/form-design-placeholders/)

Link: https://uxreference.com/forms/placeholder#rule-3

#### Rule 4. Unsettled

Whether an example shown as placeholder text helps, when a visible label and outside instructions are already present, is unsettled.

Until the evidence settles, use this default: Leave the field empty and give any example in text outside the field.

- Applies when: A visible label is present.
- Based on: Practitioner research
- Principle: Give help where it is needed

Why: Baymard and Carbon allow it; GOV.UK forbids it; Baymard also reports most people ignored format examples; a controlled study found an example alone weaker than a stated rule. Rated 1.

Sources: [Mobile forms, avoid inline labels](https://baymard.com/blog/mobile-forms-avoid-inline-labels); [8 Recommendations for Creating Effective Input Fields](https://baymard.com/blog/input-fields); [Text input usage (Carbon Design System)](https://www.carbondesignsystem.com/components/text-input/usage); [Text input component (GOV.UK Design System)](https://design-system.service.gov.uk/components/text-input/); [Input masking for restricted form fields (phone, date, card)](https://baymard.com/blog/input-masking-form-field); [Enhancing online forms: use format specifications for fields with format restrictions to help respondents](https://doc.rero.ch/record/301906/files/iwc23-0033.pdf)

Link: https://uxreference.com/forms/placeholder#rule-4

## Accessibility requirements

- WCAG 2.2, 3.3.2 Labels or Instructions (A): a label or instruction must be provided; a placeholder that vanishes is a weak way to meet it. (https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions.html)
- WCAG 2.2, 2.5.3 (A) lets placeholder text count as the visible label when no other label exists. (https://www.w3.org/WAI/WCAG22/Understanding/label-in-name.html)
- Sources report uneven screen reader announcement of placeholders but cite no test. Not rated.
- Also likely to apply: 1.4.3 Contrast, which the sources say default placeholder styling often fails. Contrast is appearance and out of scope here. (https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html)

## Common mistakes

- A form whose labels are all placeholders: people lose track of what each filled field was ([rule 1](https://uxreference.com/forms/placeholder#rule-1)).
- A required format shown only as placeholder text ([rule 2](https://uxreference.com/forms/placeholder#rule-2)).

## Still open

- Example placeholders with a visible label present ([rule 4](https://uxreference.com/forms/placeholder#rule-4)).
- No experiment comparing a placeholder with no placeholder was found. One study with 15 older adults was read only as an abstract.
- Short, familiar forms such as search and sign-in: Baymard and NN/g say the harm is smaller there; untested.

## Related problems

- [Labels](https://uxreference.com/forms/labels): Give every field a visible label that stays in place while people type.
- [Stating format requirements](https://uxreference.com/forms/format-requirements): Remove format rules where you can. Where you cannot, state them before people type.
- [Input masks and formatting as you type](https://uxreference.com/forms/input-masks): Accept the separators people type and clean them up yourself, and show the expected shape outside the field.

## Sources

- [Mobile forms, avoid inline labels](https://baymard.com/blog/mobile-forms-avoid-inline-labels). Baymard Institute, 2013, observations from mobile e-commerce usability testing.
- [Placeholders in Form Fields Are Harmful](https://www.nngroup.com/articles/form-design-placeholders/). Katie Sherwin, Nielsen Norman Group, 2014, practitioner article citing unspecified user testing and eye-tracking; mostly reasoned from observed problems.
- [Text input component (GOV.UK Design System)](https://design-system.service.gov.uk/components/text-input/). Government Digital Service, GOV.UK, n.d., component documentation.
- [Text input usage (Carbon Design System)](https://www.carbondesignsystem.com/components/text-input/usage). IBM, n.d., component documentation.
- [Form instructions (WAI Web Accessibility Tutorials)](https://www.w3.org/WAI/tutorials/forms/instructions/). W3C Web Accessibility Initiative, 2024, informative accessibility tutorial (not normative).
- [Working towards usable forms on the World Wide Web: optimizing date entry input fields](https://edoc-vmtest.ub.unibas.ch/20520/1/20110913111127_4e6f1e3f162e6.pdf). Bargas-Avila, Brenzikofer, Tuch, Roth, Opwis, 2011, within-subjects online experiment, six date-entry versions, copy-the-date task.
- [Don't put hints inside text boxes in web forms](https://www.effortmark.co.uk/dont-put-hints-inside-text-boxes-web-forms/). Caroline Jarrett (Effortmark; originally UXmatters), 2010, expert essay with one observed usability session and two server-log counts from a bioinformatics job form.
- [8 Recommendations for Creating Effective Input Fields](https://baymard.com/blog/input-fields). Christian Holst, Baymard Institute, 2025 (published Dec 2021, updated Jan 2025), practitioner article summarizing checkout usability testing and ecommerce benchmarking.
- [Input masking for restricted form fields (phone, date, card)](https://baymard.com/blog/input-masking-form-field). Edward Scott, Baymard Institute, 2017.
- [Enhancing online forms: use format specifications for fields with format restrictions to help respondents](https://doc.rero.ch/record/301906/files/iwc23-0033.pdf). Bargas-Avila, Orsini, Piosczyk, Urwyler, Opwis, 2011, between-subjects online experiment, four format-hint conditions, 15-field form.

---
From Solved Problems in UX by Athen Pellicci, an evidence-graded reference of web interface problems. CC BY 4.0. https://uxreference.com/
