Skip to content
HTML·Intermediate·Conceptual·1 min read

Why must every form control have a label?

Short interview answer

A persistent label communicates purpose visually and provides an accessible name when correctly associated. Placeholder text disappears, may have weak contrast, and is not a reliable replacement.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Forms and validation

Related questions