What the person is doing
The answer is freeform and may include sentences, paragraphs, pasted text, or line breaks.
Foundation · lesson 3 of 34 · Input And Data Entry
Underlying principle: An input pattern carries a question, an expected answer, and a consequence. Visible labels, suitable controls, tolerant entry, and specific recovery keep that agreement clear.
Provide a labelled multi-line textarea with enough visible rows, stable hint and error text, optional count for real limits, native editing behavior, and preservation of drafted text across validation and navigation.
An input pattern carries a question, an expected answer, and a consequence. Visible labels, suitable controls, tolerant entry, and specific recovery keep that agreement clear.
The answer is freeform and may include sentences, paragraphs, pasted text, or line breaks.
Provide a labelled multi-line textarea with enough visible rows, stable hint and error text, optional count for real limits, native editing behavior, and preservation of drafted text across validation and navigation.
Empty untouched state with visible label and optional hint.
Does this answer need multiple lines, paragraph review, or pasted long text?
Typing, selection, line breaks, paste, undo, redo, and spellcheck follow native textarea behavior.
The answer is freeform and may include sentences, paragraphs, pasted text, or line breaks.
Open the working example, try its controls, and compare the behavior against the decision guidance.
The answer is freeform and may include sentences, paragraphs, pasted text, or line breaks.
Provide a labelled multi-line textarea with enough visible rows, stable hint and error text, optional count for real limits, native editing behavior, and preservation of drafted text across validation and navigation.
Empty untouched state with visible label and optional hint.
Long answers are hidden in a one-line control.
Associate the textarea with a visible label that states the writing prompt.
GOV.UK Design System - checked
GOV.UK textarea guidance supports labels, hints, rows, spellcheck, disabled state, aria-describedby, and specific empty or length errors.
U.S. Web Design System - checked
USWDS text input guidance distinguishes paragraph responses that should use a textarea rather than a one-line field.
U.S. Web Design System - checked
USWDS character count guidance supports textarea limits with associated remaining-count messages.
W3C Web Accessibility Initiative - checked
WAI-ARIA APG names and descriptions guidance supports accessible labels and descriptions for textarea fields.
Source trail checked: