| 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. | Render a labeled text field, suggestion popup, highlighted option, selected value, and no-match state. | 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 | Use text input for short freeform answers that users can type or paste and that cannot be accurately represented as a fixed option choice. | Help users complete a known value faster without forcing an incorrect suggestion. | Help users choose one value from a moderate known list without showing every option permanently. | Help users compare the available options and choose exactly one without opening an extra control. |
| 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. | Custom circles that do not show focus or selected state clearly. |
| Good UX | A user types or pastes a short reference, submits it, and the interface confirms the stored value without changing their wording. | 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. | No selection state for required unanswered groups. |
| 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. | Forcing the first suggestion when the user did not choose it. | Custom select with no keyboard support or hidden selected state. | Using radios for independent choices where several answers can be true. |