{"canonical_url":"https://engineer.company/glossary/ui/","content_markdown":"# UI\n\n## What it is\n\nUI is short for user interface: the screens, menus, fields, buttons, messages\nand sounds through which a person tells a program what to do and finds out what\nit did. It is also the set of rules behind them, such as which control is\nreachable from where, what happens on a click and what the program says when\nsomething goes wrong.\n\nNIST's glossary takes the widest view, defining a user interface as “the\nphysical or logical means by which users interact with a system, device or\nprocess”. The physical side is the keyboard, the touch screen, the knob on a\ndevice. The logical side is everything drawn or printed in response: a window\nwith menus, a prompt waiting for a typed command, a voice asking for a number.\nA graphical interface, a command line and a spoken menu are all user\ninterfaces, and one program often has more than one of them.\n\nOn the web, WCAG names the building block. A _user interface component_ is “a\npart of the content that is perceived by users as a single control for a\ndistinct function”. Its notes count a component by what the user perceives as\none control, not by how it was programmed. A single programmatic element can\ntherefore hold several components, and the standard's own example is a control\nthat moves through content by line, by page or to any point, where each way of\nmoving needs its own name and counts as its own component. Form elements, links\nand controls built by scripts all count.\n\nTwo neighbouring terms travel with it. _UX_, user experience, is the wider\nquestion of what using the product is like from start to finish: whether the\ntask gets done, how long it takes and how mistakes are handled. The UI is the\npart of that experience that can be pointed at on a screen. A _design system_ is\na shared set of components, tokens and rules that a team builds its UI from, so\nthat two screens built by two people in two different months still look and\nbehave like one product.\n\n## Why it matters\n\nA program's value reaches people through its interface or not at all. A feature\nthat can only be found by someone who already knows where it is has, for most\nusers, never shipped. Such a gap rarely shows up in a test suite, because every\nfunction works; it shows up in support questions and abandoned forms.\n\n**Consistency is learned once and reused.** People carry what they learnt on\none screen to the next. WCAG 2.2 success criterion 3.2.4, Consistent\nIdentification, asks that components with the same function within a set of\nweb pages be identified consistently. The Understanding document for it gives\nthe reason in plain terms: when the same function is labelled differently in\ntwo places, people may assume the two do different things, or spend time\nworking out that they do not.\n\n**Errors are part of the interface.** Every form meets bad input, and how it\nanswers is as much a design decision as its layout. Success criterion 3.3.1,\nError Identification, asks that a detected error name the field and describe the\nproblem in text. Criterion 3.3.3, Error Suggestion, goes further: when the\nprogram knows how automatically detected bad input could be corrected, it\nprovides suggestions unless doing so would jeopardize the security or purpose of\nthe content. The Understanding document's example is a field that expects a\nmonth name, where a person who types “12” is offered either the list of accepted\nvalues or the question “Do you mean December?”.\n\n**Every control has to be explainable to software as well.** Criterion 4.1.2,\nName, Role, Value, asks that for every user interface component, including those\nbuilt by scripts, programs can determine its name and role, and that changes in\nits state are reported to them. A control that only looks like a control on\nscreen is invisible to the assistive technology many people rely on to reach it.\n\n## What it looks like in practice\n\nThe clearest case is a maritime platform where the\n[product's UI and UX were designed end to end](/portfolio/designed-the-products-ui-and-ux-end-to-end/).\nIt shows professionals, companies, ships, jobs and reviews, and had to be dense\nenough to hold real maritime data without becoming a wall. A handful of\ndecisions carried it. Directory grids switch between cards and a table, and the\napp remembers which view the person chose. Forms show their requirements above\nthe input as a live list, each rule turning green once it is met and amber while\nit is not, so people are guided while they type instead of corrected after they\nsubmit. Breadcrumbs and a two-column layout repeat on every entity page, which\nmakes separate screens read as one product. Errors lead somewhere: a redirect\ninstead of a dead end. The page makes the trust argument directly: on a platform\npeople use for their careers, a slapdash look would make them trust the data\nless, and they would be right to.\n\nThe commercial side is clearest in\n[200 UI and UX improvements for a GIS map application](/portfolio/presented-200-ui-ux-improvements/).\nThe interface had become powerful and complicated, with good functionality\nbehind clumsy interactions. Rather than guessing, the work started from feedback\nand usage data, produced a backlog of 200 concrete changes, ranked them by\nimpact and took the ones that mattered most through the team until they shipped\nas real features. The interface became noticeably easier to use, and the work\ncontributed to a tenfold rise in revenue.\n\nKeeping an interface consistent over time is a separate problem, addressed in\n[an iOS 26 “Liquid Glass” design system](/portfolio/designed-an-ios-26-liquid-glass-design-system/).\nThe visual language uses translucent panels with backdrop blur, layered shadows,\na touch of refraction and spring animations, built from Tailwind utilities.\nEvery screen composes from a fixed inventory of components, among them Card,\nLabel, Button, GlassIconButton and DirectoryGrid. Lint rules reject a\nhand-rolled badge or chip and point at the canonical component, and the\ndocumentation pairs concrete mistakes with their resolutions. Consistency stops\ndepending on whoever reviews the change that day and is held by the tooling\ninstead.\n\n## Where it goes wrong\n\n- **Colour carries the meaning on its own.** A field outlined green for valid\n  and red for invalid tells nothing to someone who cannot tell those colours\n  apart. The Understanding document for Use of Color names exactly this case\n  and asks for a second visual sign. A word, an icon or a change of shape next\n  to the colour does the job.\n- **Something drawn to look like a control is not one.** A styled box with a\n  click handler looks like a button to a mouse user and is absent for anyone\n  using a keyboard or a screen reader. The platform's own controls arrive with\n  a role, focus and keyboard behaviour that a lookalike has to rebuild by hand,\n  piece by piece.\n- **Every screen reinvents its components.** Each new view gets its own\n  buttons, badges and cards, each slightly different, until a single change\n  means editing five versions of the same thing. One inventory of components,\n  enforced by a linter rather than by memory, keeps the drift out.\n- **Errors arrive late and far from their cause.** A form that accepts\n  everything, then returns a red block at the top listing what was wrong, makes\n  people hunt for the fields. Naming the field, describing the problem next to\n  it in words and suggesting a correction turns the same check into guidance.\n- **The interface is built for its builder's desk.** A large monitor, a mouse,\n  sharp eyesight and a fast connection describe the person who made it, not the\n  people who will use it. A phone held in one hand, a zoomed page or a keyboard\n  with no mouse each reveal problems that a desk never shows.\n\n## Further reading\n\n- [NIST CSRC Glossary: user interface](https://csrc.nist.gov/glossary/term/user_interface)\n  — the one-line definition from NIST SP 800-152, covering both the physical\n  and the logical means of interacting with a system.\n- [WCAG 2.2: user interface component](https://www.w3.org/TR/WCAG22/#dfn-user-interface-components)\n  — the definition by perceived control, with notes on how components relate\n  to the elements that implement them.\n- [Understanding SC 3.2.4: Consistent Identification](https://www.w3.org/WAI/WCAG22/Understanding/consistent-identification.html)\n  — why components with the same function should carry the same name across\n  a site, and which repeated components it matters for most.\n- [Understanding SC 3.3.3: Error Suggestion](https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html)\n  — what a form should say when it knows how bad input could be fixed, with\n  worked examples.\n- [Understanding SC 1.4.1: Use of Color](https://www.w3.org/WAI/WCAG22/Understanding/use-of-color.html)\n  — when colour may carry meaning and when a second visual sign is required.\n\n\u003chttps://engineer.company/glossary/ui/\u003e\n","date_modified":"2026-11-09T21:50:25Z","description":"Screens, controls, messages and the rules that tie them together: what a user interface is made of and where its value gets lost.","formats":{"gemtext":"https://engineer.company/glossary/ui/index.gmi","gopher":"https://engineer.company/glossary/ui/gophermap","html":"https://engineer.company/glossary/ui/","json":"https://engineer.company/glossary/ui/index.json","markdown":"https://engineer.company/glossary/ui/index.md","pdf":"https://engineer.company/glossary/ui/index.pdf"},"kind":"page","language":"en","title":"What is a UI?","url":"https://engineer.company/glossary/ui/","version":1}