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

How should invalid submission be announced?

Short interview answer

Provide clear inline messages associated with controls, optionally an error summary for long forms, and move focus to a meaningful location such as the summary or first invalid field. Do not rely on color alone.

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