Writing & StyleStyle guide

Writing Accessible Placeholder Examples

Writing Accessible Placeholder Examples records a distinct W3C-supported accessibility writing task while keeping implementation mechanics outside the writing guidance.

Quick answer

Use placeholder text for a short optional example or hint, not as the only label or the only place essential instructions appear.

Key details

Core IssueW3C form guidance permits placeholder text to provide an instruction or example but warns that it disappears as users type and must not replace a proper label.
Registerweb accessibility and interface content

Important caveats

Scope Boundary

Do not put essential instructions or the field label only in placeholder text because it may disappear and can be difficult to review.

Further guidance

Content

Use placeholder wording for a brief example or hint, such as the expected shape of an entry, and make the example immediately understandable.

Purpose

A concise example can clarify expected input without forcing users to infer the format from an abstract instruction alone.

Sources and evidence

Sources are shown with the role they play in this guide. Historical or style-sensitive claims are kept within the evidence boundary described above.

  1. Form Instructions — W3C WAI (opens in a new tab)World Wide Web Consortium (W3C) · W3C WAI guidance to provide form instructions including requirements, formats and timing limitations.

Explore the topic