Placeholder Text vs Field Label
A field label sits outside the box and stays there. Placeholder text sits inside and goes away as soon as you type. So the label says what goes in, and the placeholder only shows an example.
Placeholder Text
Faint grey text inside an empty box. It vanishes when you type.
Placeholder text is the faint grey text inside an empty field, like DD/MM/YYYY. It shows an example or the format. It disappears as soon as people type, so it must never be the only label. Its pale color is also hard for many people to read.
Field Label
The short text that says what a field wants, like Email.
A field label is the short text that says what a form field wants, like Email or Phone number. It sits above or beside the field. It stays in view while people type. In code, the label is tied to its field. So screen readers read it out, and a click on it lets you type in the box.
In one line
- Placeholder Text
- Faint grey text inside an empty box. It vanishes when you type.
- Field Label
- The short text that says what a field wants, like Email.