| UI or UX | UI + UX - Single-line freeform data-entry control | UI + UX - Input widget with suggestion behavior | UI + UX - Single-choice dropdown control | UI + UX - Single-choice form control |
| UI guidance | Render a persistent label, appropriately sized single-line input, optional hint, visible focus state, and nearby error text that is programmatically associated with the field. | Expose clear visual states for expanded, focused, highlighted, and selected options. | Render a persistent label, hint text, native closed value, finite option list, selected option, and validation state. | Render a fieldset/legend with visible native radio options, selected state, focus state, optional hints, and group-level validation. |
| UX guidance | Let users edit normally, validate after interaction or attempted submit, preserve their typed value after errors, and explain exactly how to fix invalid or missing text. | Preserve typed input and make selection reversible before submission. | Help the person reach a clear task outcome. | Help the person reach a clear task outcome. |
| Good UI | A reference-name field has a visible label, hint, medium width, focus ring, and error message beneath the hint when submitted empty. | Persistent label above the input, readable text size, clear popup alignment, and visible highlighted option. | Persistent label, hint text, visible selected value, readable options, and clear required validation state. | Visible native radio options with a clear legend, selected state, focus state, and helper text. |
| Bad UI | The only instruction is placeholder text that disappears when the user starts typing. | Placeholder-only label that disappears after typing. | Placeholder as the only label. | Allowing several options in the group to appear active at once. |
| Good UX | A user leaves the required field blank, sees an error only after submit, returns to the same field, and their later typed value clears the error. | Typing filters suggestions while preserving the exact typed value. | Users can open, scan, choose one value, and review the selected value after close. | Exactly one option is selected at a time and labels are clickable. |
| Bad UX | Validation fires on the first focus event and blocks typing before the user has had a chance to answer. | Automatically forcing the first suggestion into the field. | Hiding two obvious critical choices in a dropdown. | Using radios for choices where multiple selections are allowed. |
| Best fit | The answer is short and user-authored. | The list is long but values are known. | The user chooses one option from a moderate known list. | Users must choose exactly one option. |
| Avoid when | The answer is a paragraph, comment, address block, or explanation requiring multiple lines. | The task is open-ended query exploration. | The option set is short and comparison matters. | Users can choose multiple options. |
| Required state | Empty untouched state with persistent label and optional hint. | Empty input state. | Closed state with empty option or current selected value. | Exactly one selected option state. |
| Accessibility burden | Associate every text input with a visible label or equivalent accessible name that matches the visible question. | Expose combobox expanded state, active descendant, and option labels. | Prefer native semantics or implement equivalent name, role, state, and keyboard behavior. | Use a programmatic group label through fieldset/legend or an accessible radiogroup name. |
| Common misuse | Using placeholder text as the only label or instruction. | Using autocomplete where users expect broad search results. | Using select to hide two or three obvious choices that should be compared. | Using radios for independent choices where several answers can be true. |