What the person is doing
The field asks for a value with a fixed unit, symbol, abbreviation, or icon meaning.
Application · lesson 16 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.
Show a fixed prefix or suffix outside the editable value, describe its meaning in the label or hint, normalize duplicate typed affixes, validate the clean value, and store a predictable canonical payload.
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 field asks for a value with a fixed unit, symbol, abbreviation, or icon meaning.
Show a fixed prefix or suffix outside the editable value, describe its meaning in the label or hint, normalize duplicate typed affixes, validate the clean value, and store a predictable canonical payload.
Empty state with descriptive label and visible prefix or suffix.
Is the affix a fixed, common symbol or unit that users will understand?
If the user types the same affix, the system normalizes it or preserves the value with a clear, fixable message.
The field asks for a value with a fixed unit, symbol, abbreviation, or icon meaning.
Open the working example, try its controls, and compare the behavior against the decision guidance.
The field asks for a value with a fixed unit, symbol, abbreviation, or icon meaning.
Show a fixed prefix or suffix outside the editable value, describe its meaning in the label or hint, normalize duplicate typed affixes, validate the clean value, and store a predictable canonical payload.
Empty state with descriptive label and visible prefix or suffix.
Screen reader users hear only Amount while sighted users see a dollar prefix.
If affixes are hidden from screen readers, ensure the accessible name and description remain complete.
U.S. Web Design System - checked
USWDS supports affixes for common symbols, units, abbreviations, and icons, with descriptive labels because affixes are hidden from screen readers.
Government Digital Service - checked
GOV.UK supports prefix and suffix placement outside the input, label and hint requirements, screen reader cautions, and validation tolerance for typed affixes.
Google Material Design - checked
Material Design supports prefixes and suffixes as formatted text-field elements for units, currency, domains, and time zones.
Maersk Design System - checked
Maersk supports the boundary that prefix/suffix is preferred over a mask when a constant value is grouped with the typed value.
Source trail checked: