Four parts: label, hint, control and message. A field is not a box with a word next to it; it is four elements with fixed positions and a relationship between them, and three of the four are the ones that get improvised.
Rocio is rebuilding the enrolment form for a music school in Seville. Five questions, five different controls, and the one that decided the school's intake for a year was chosen because the kit had it.
Where each part goes
The label sits above the control, which the form page settles. The message sits under the control and is referenced by aria-describedby, so it is announced as part of the field rather than as a stray sentence somewhere on the page.
One field, four elements
Four parts, and the field stops working if any of them is loose
Each has a fixed position and a stated relationship to the control, and three of the four are usually improvised per screen.
- 01The labelabove the control, always visible, and the words the accessible name has to contain
- 02The hintbetween the label and the control, so it is read before anybody types rather than after
- 03The controlchosen by the number of options rather than by what the component library happens to have
- 04The messageunder the control and tied to it, so it is announced as part of the field and not as a stray line
The four are drawn as equal pieces and they are not equally likely to be missing. The label is always there, and the tie between the control and the other three is the piece nobody can see in a screenshot.
Modular Type Scale & CSS Flex/Grid Motion Lab
Test harmonic typography ratios and live Flexbox/Grid layouts with 1-click CSS export.
The hint goes above the control, because below it is read after the mistake. A hint is guidance, and guidance placed under the box arrives once the person has already typed something and moved on. Put it between the label and the control and it is read in the two seconds before anybody types.
Choosing the control by the number of options
Under five options is radios, five to fifteen is a select, over fifteen is a combo box. That is the whole decision, and it is about how many things a person needs to see at once rather than about how much room there is.
Four controls by list size
How many options the reader must weigh decides the control
The choice rests on how many options need to be seen at once rather than how little space is left on the screen.
Option count rule
- Yes or nocheckbox, never a two-option select with a hidden default
- Under five optionsradio group so all choices stay visible side by side
- Music gradesbeginner, grade one to three, grade four to six, above grade six
- Five to fifteen optionsselect menu when the list is short enough to scan in one pass
- Over fifteen optionscombo box with typeahead so thirty instruments never become a wheel
Adding four more instruments next year breaks a long select, whereas typeahead keeps working without any redesign.
The four levels are radios, because seeing all four is the decision. A parent choosing between beginner, grade one to three, grade four to six and above grade six is comparing them, and a control that shows one at a time makes them open it, read, close it and remember.
Thirty instruments needs typeahead, not a list you scroll. Typing three letters and choosing is faster than any list of thirty, and it is the only pattern that stays usable when the school adds four more instruments next year.
And a yes or no is a checkbox, never a two option select. A select with two options is two taps to say yes, plus a hidden default that somebody has to notice.
The two controls that are usually wrong
A select hides its options and costs two taps on a phone, where it becomes a wheel or a full screen list. That is acceptable for seven days of the week and it is the wrong control for thirty of anything.
Common traps
Where standard defaults cost taps, time, or accuracy
Three everyday field patterns fail when the control hides choices, forces calendar paging, or locks out verification.
Dates split cleanly in two directions: known dates are typed, available dates are chosen visually.
Dates split the other way. A known date is three fields and a chosen date is a calendar: a pupil's date of birth is something a parent knows and can type in six keystrokes, and a calendar for it means paging back fourteen years. A lesson slot being chosen from what is available is the opposite, and needs to be seen laid out.
Never mask what was just typed without a way to reveal it. A masked field with no reveal produces a retyped value, and the second attempt is wrong more often than the first.
What to open
The HTML input types do most of this without any code: email, tel, date and number each bring their own keyboard, their own picker and their own validation. They replace a text field and a regular expression, which is what a custom component usually amounts to and which loses the keyboard and the picker for everybody.
What the platform gives free
Native input types and aria-describedby replace fragile scripts
Two built-in HTML features handle keyboards, pickers, validation, and screen-reader announcements without custom code.
- 01Native keyboard, picker, and built-in validation
- 03Label, then hint, then control, then message
- 01Input types: email, tel, date, numberReplaces a plain text field paired with a custom regular expression
- 02aria-describedby attributeReplaces visible error text that remains silent to assistive tools
- 03Reading order before typingEnsures guidance is heard before entry and errors right after
Every custom text widget that drops native input types strips mobile keyboards and pickers from everybody.
aria-describedby is the other one, part of the language and free, and it ties the hint and the message to the control. It replaces an error message that is visible and unannounced, which is the state most forms are in: perfectly clear on a screen and absent to anybody listening.
Where it stalls: the kit has a select
A component library ships a select, a text field, a checkbox and a radio group. Those four exist, they are documented, they have states, and they can be used this afternoon.
Where libraries stall
Why everything becomes a select: the combo box work stays hidden
Component kits ship the four easy controls and skip the typeahead combo box, quietly shrinking the design vocabulary.
- Select menuAlready built, styled, and ready to drop in
- Text field, checkbox, and radio groupDocumented states shipped on day one
- Paired text field and listboxTwo coordinated elements instead of one
- Full keyboard contractArrow navigation, selection, and escape handling
- Live result-count announcementScreen-reader feedback as letters narrow the list
- Out-of-list value ruleDeciding whether free text is accepted or blocked
Building one proper combo box is a single build expense that serves every long list across the product for years.
A combo box with typeahead does not exist, because it is the hardest component in any library: a text field with a listbox, a keyboard contract, an announcement for the result count and a decision about whether values outside the list are allowed. So it is not built, and everything with options becomes a select, and the kit's contents quietly become the design's vocabulary.
The way out is to notice that this is a build decision rather than a design one, and to price it once. One combo box, built properly, serves every list over fifteen in the whole product for years.
What it looks like when it goes wrong
The school's instrument field was a select with 34 options in alphabetical order. On a phone that is a wheel with 34 entries, and a wheel is dragged rather than read. The school received 41 applications for accordion that year, against about 4 in a normal one, and accordion is the second entry in the list. Two members of staff spent a term working out how to expand the accordion programme.
What to ask at all, and how few fields the form can get away with, comes before any of this and is labels, validation and asking for less. The control at the end of the form has its own set of promises, which are hierarchy, states and what a button promises. And the relationship between the four parts is expressed to a machine rather than drawn, which is what gets announced, and in what order. How these become components rather than screens is one level up, in the parts an interface is assembled from.