Form labels (don’t use placeholder as the label)

A short, practical UI accessibility note for games and web UIs. No tracking.

Try the micro-demo: placeholder-label-demo.html

It compares a placeholder-only “label” (BEFORE) vs a persistent <label> (AFTER).

What goes wrong

Placeholders can be useful as examples, but they’re a poor substitute for a real label. If the placeholder is the only label:

What to do instead

Minimal sketch:

<label for="email">Email address</label>
<input id="email" type="email" autocomplete="email" placeholder="name@example.com" />

That’s it. The important part is: the label doesn’t vanish once the user starts typing.