CSE 566
CSE566 · LECTURE 4 · WEEK 4

Interaction design and information architecture

Mehmet Göktürk · Gebze Technical University

Organization, navigation, choices, data entry and recovery.

Interaction styles and representations

Interaction design and information architecture

An interface gives people ways to express intentions and judge what happened. Information architecture determines how content and functions relate. Interaction design determines how people move through that structure, change things and recover when an action goes wrong. These decisions meet in concrete details: a category label, a visible selection, a field format, a progress message or an Undo action.

Use the evidence and task models from Lecture 3 to identify what needs to remain visible, which choices belong together and where interruptions are likely. In this lecture, compare alternatives through different examples. A suitable design depends on the task, the person’s knowledge, the consequences of error and the environment of use.

Choosing an interaction style

An interaction style allocates work between the user and the system. A command asks the user to express an operation in a language the system accepts. A menu supplies alternatives for recognition. A form supplies a structure for entering or inspecting related values. Direct manipulation makes objects and changes available through an ongoing representation.

These styles frequently coexist. A document editor can support dragging a margin, typing an exact margin value and selecting a preset. The styles solve different parts of the same problem. The relevant comparison is the work required to identify a target, specify an action, judge the result and reverse a mistake.

StyleStrengthDesign cost
CommandExpress repeated operationsSyntax and target knowledge
MenuRecognize alternativesGrouping and search effort
FormInspect related valuesSpace and entry organization
Direct manipulationSee incremental changesPrecision and hidden actions

Direct manipulation

Moving a paragraph by dragging it exposes a relationship between the object, the action and the result. The user can inspect the destination instead of translating it into a line number. A useful direct-manipulation interface maintains the object’s identity during the operation and makes the prospective outcome understandable.

A graphical surface alone does not provide these properties. Dragging an item into an unexplained area can still leave the outcome uncertain. Conversely, a numeric field can complement a drag handle when exact placement matters. Reversibility is especially valuable during exploration, but an interface must explain what Undo will actually restore.

The measuring-cup comparison illustrates how a representation can reduce the effort of inspecting a result. A side scale asks the person to change viewing position while pouring. An angled scale makes the quantity visible from above. The design brings feedback into the activity itself. In a software interface, the analogous question is whether the result remains visible where the person is acting.

The angled scale makes the quantity visible from above while pouring. Scott Klemmer, Direct Manipulation.
The angled scale makes the quantity visible from above while pouring. Scott Klemmer, Direct Manipulation.

Visible relationships in a spreadsheet

Consider a materials estimate with quantity 12, unit cost 8 and total 96. Changing quantity to 15 produces 120. The visible grid supports comparison: the user can inspect which input changed and where its consequences appear. The formula explains a dependency that the displayed total alone cannot reveal.

The designer must decide how a person discovers and inspects that dependency. Highlighting referenced cells, revealing the formula and distinguishing input cells from derived values can make the relationship clearer. A system that silently overwrites a calculated total with a typed value may preserve a neat appearance while destroying the model behind it.

QuantityUnit costTotal
12896
158120
InputInputQuantity × unit cost

Whole forms and conversational entry

Suppose an employee copies an address from a paper record. A form that groups related fields and follows a compatible order can reduce the need to switch attention between different locations. A guided conversation can instead help when the next question depends strongly on the previous answer.

Neither arrangement eliminates the need for review. A one-question-at-a-time flow should provide a way to inspect and revise earlier answers without restarting. A whole form should not expose irrelevant fields merely to avoid branching. Choose based on dependency, reference needs, frequency of use and the consequences of losing the surrounding context.

Follow the address example. The city is Ankara and the postal code is 06000. On the whole form, both values remain visible while you compare them with the source document. At step 3 of the guided sequence, only the city appears. To check whether the postal code was copied correctly, you need a review route. Back revisits an earlier step; Review all answers provides an overview. Neither should clear already entered values.

Now change the task: an international delivery asks different questions depending on the destination country. A guided sequence can skip irrelevant questions. A whole form can also reveal fields conditionally, but the designer must keep the resulting order understandable. The reason to choose a sequence is a dependency in the task, rather than an assumption that fewer visible fields always reduce effort.

A whole form supports cross-checking visible values. A guided sequence needs routes back to individual answers and to the complete record.
A whole form supports cross-checking visible values. A guided sequence needs routes back to individual answers and to the complete record.

Precision and repeated work

Resizing an image to approximately fit a composition and setting its width to exactly 640 pixels are different tasks. A drag handle supports immediate visual exploration. A numeric field supports precision. Applying the same change to fifty images creates a further need for selection, batch operations or a reusable command.

A single preferred interaction style cannot efficiently express every intention. A well-designed interface can offer several routes while keeping their meanings consistent. The result of setting a width should not depend on whether the user typed it or selected a preset. Different routes should also share coherent feedback and recovery.

Consider this

Which route should a repeated image-resizing task provide?

Worked answer

Provide exact dimensions and a way to apply them to a selection. Retain a visible preview and a clear recovery path. A drag handle alone makes repeated exact work unnecessarily demanding.

Information architecture

Content inventory

A content inventory makes the material to be organized explicit. Record an item’s title, purpose, audience, location and relationship to other items. Depending on the project, also record an owner, revision state and whether it duplicates something else. The inventory reveals problems that a polished menu can conceal.

For example, a university may have several pages describing the same graduation requirement. Placing them under different departments does not resolve their disagreement. An architecture needs a coherent destination and a maintenance responsibility. The department that maintains a page does not necessarily supply the label or route that a student would use to find it.

ItemUser purposeRelationship
Graduation deadlineKnow when to applyLinks to application
Application formSubmit required detailsNeeds eligibility rules
Eligibility rulesCheck readinessExplains prerequisites
Contact detailsResolve an exceptionSupports all three

Organizing dimensions

Five useful organizing dimensions are category, time, location, alphabet and continuum, such as small to large. A conference programme might use time for attending sessions, topic for choosing relevant work and location for finding a room. An alphabetical author index solves another problem.

The question is which relationship helps the present task. Multiple views need not duplicate the underlying content. A paper can appear under a topic and an author while still having one canonical record. Design the relationship between views so that changing the organizing dimension does not lose the selected object or the user’s relevant constraints.

DimensionExampleQuestion answered
CategoryResearch topicsWhat is this about?
TimeSession scheduleWhen does it happen?
LocationBuilding / floorWhere is it?
AlphabetAuthor indexWhere is this name?
ContinuumPrice or sizeHow does it compare?

Vocabulary and category boundaries

A controlled vocabulary helps prevent different labels from obscuring the same concept. It does not mean forcing users to learn an organization’s private terminology. Collect the terms people use, examine differences and decide which labels should appear in navigation, search and explanatory text.

Consider “fees,” “payments” and “financial services.” These can refer to overlapping content, but their boundaries are not self-evident. A student looking for a payment receipt should not need to know which office owns it. Clear definitions, suitable cross-links and search synonyms can help. Category names must also distinguish neighboring choices, not merely sound sensible in isolation.

Card sorting

In an open card sort, participants create groups and name them. In a closed sort, they place items into categories supplied by the designer. Both can reveal difficult items, unexpected associations and ambiguous labels. Ask why items belong together rather than treating the final arrangement as self-explanatory.

Agreement is useful evidence, but disagreement can be equally informative. People may organize the same collection by task, topic or organizational role. A card sort does not establish that a finished navigation structure will work under real search conditions. Translate the findings into candidate structures and examine representative routes through them.

Movable content cards support discussion of categories, labels and ambiguous membership.
Movable content cards support discussion of categories, labels and ambiguous membership.

Breadth and depth

A shallow hierarchy can make many destinations visible, but a large undifferentiated list can be difficult to scan. A deep hierarchy can reduce each local choice while forcing users through labels that do not clearly predict the final destination. These are different sources of effort.

Trace a specific task through both structures. At each level, ask what the user must know and whether the available labels provide that knowledge. Count wrong turns and repeated decisions as well as clicks. A path with one more click can be easier if every decision is clear. A short path can still be difficult when its first choice is ambiguous.

A broad level exposes more alternatives, while a deep structure introduces intermediate decisions. Compare the meaning of the choices as well as their number.
A broad level exposes more alternatives, while a deep structure introduces intermediate decisions. Compare the meaning of the choices as well as their number.

Linear, hierarchical and linked structures

A linear structure fits a process with meaningful dependencies, such as reviewing required details before submitting an application. A hierarchy organizes a collection into increasingly specific groups. A network of links supports relationships that do not fit one parent-child path, such as related papers or alternative methods.

Real applications combine these structures. A reader may browse a hierarchy, follow a related-item link and then enter an ordered submission flow. Make the transition clear. The user should understand whether moving back restores a prior view, changes the current step or abandons an unfinished transaction. Structure and state must be designed together.

The red route crosses branches and levels. A conceptual hierarchy does not imply that every visit begins at the top or follows one path.
The red route crosses branches and levels. A conceptual hierarchy does not imply that every visit begins at the top or follows one path.

Conceptual maps and implementation detail

A conceptual site map helps people discuss whether content has the right grouping, labels and relationships. A technical diagram can later add URLs, files, services and implementation dependencies. Mixing both too early makes a design conversation harder because participants must distinguish conceptual choices from technical constraints.

Use the diagram to answer a specific question. If the question is whether students can find eligibility rules from an application page, the relevant relationship is a usable route between those resources. The physical directory containing the files is usually a separate issue. A conceptual map also cannot show every detail of screen layout or dynamic behavior.

The conceptual map describes content relationships. The detailed map adds information for implementation.
The conceptual map describes content relationships. The detailed map adds information for implementation.

Menu size and the 7 ± 2 misconception

Dix explicitly warns against using Miller’s 7 ± 2 as a menu-size rule. A visible menu is not a task in which the user must retain every option in short-term memory. Recognition, visual search, grouping and familiarity all affect the work involved.

This does not imply that arbitrarily long menus are good. It means that a fixed number cannot replace analysis. Compare the organization of the items, the clarity of group labels, the need to scroll and the cost of entering another level. Keep options visible when overview helps, and introduce hierarchy when it provides meaningful distinctions.

Consider this

Would splitting twelve clear choices into three vague groups necessarily help?

Worked answer

No. The split reduces the number initially visible but adds an uncertain classification decision. Compare paths using the actual labels and tasks before choosing the structure.

Wayfinding and information scent

Orientation within a collection

Navigation supports an ongoing understanding of location and possibility. A page title identifies the current content. A selected section connects it to a larger structure. Local links reveal neighboring destinations. A return route helps the user recover from a wrong turn or continue after completing a subtask.

People frequently arrive through search results, shared links or saved bookmarks. They may never see the home page. Design internal pages to communicate their identity and context independently. A visually consistent header is helpful, but it cannot substitute for a meaningful title, a clear section relationship and relevant onward routes.

Landmarks and regional identity

Physical wayfinding uses paths, edges, districts, nodes and landmarks. Interfaces have analogous opportunities: a stable navigation route, a visible section boundary, a distinctive area and a recognizable destination. The analogy is useful when it helps explain how people maintain orientation, not when it forces a website to resemble a physical map.

The region diagram combines a common structure with different section identities. Use headings and selected navigation state alongside visual distinction. Color alone cannot carry the entire relationship. Also preserve meaningful differences: making every page identical can remove the cues that tell a person they have entered a different area.

Common structure and distinctive regions can work together to support orientation. Text and selected-state cues should carry the relationship alongside color.
Common structure and distinctive regions can work together to support orientation. Text and selected-state cues should carry the relationship alongside color.

Breadcrumbs, history and progress

A hierarchy breadcrumb such as Library, Methods, Interviews shows where a resource belongs. It need not show how the user arrived. A person may have entered directly from a search result. Browser history instead records visited states, while a progress indicator communicates stages in a task.

These mechanisms can look similar but support different actions. Returning to a parent category is different from returning to a filtered result set. Moving to an earlier process stage may also expose editable data. Label and implement the route so the user knows what context will be preserved and whether unfinished work will remain available.

MechanismRepresentsExample
BreadcrumbStructural locationLibrary / Methods / Interviews
HistoryVisited routeResults, article, related article
ProgressTask stageDetails, review, submit

Information scent

Information scent describes the cues people use to estimate whether a route will lead to useful information. A label, nearby explanation, preview or category can strengthen or weaken that estimate. A link can be visible and easy to click while still providing poor scent.

Klemmer’s credit-union example uses labels such as Transact and Account View. These terms require customers to infer which category contains the service they need. Hidden secondary choices add another layer of exploration. A route becomes easier to judge when its wording matches the customer’s purpose and the destination confirms that expectation.

Consider this

How could you improve a route labeled “Transact” for someone seeking a payment receipt?

Worked answer

Expose a label or supporting description that names the relevant records, such as “Payments and receipts.” Ensure the destination then presents those records rather than another unexplained menu.

A shared word can suggest the wrong route

In the ATM example, a person wishing to open a new account may be attracted to “OPEN-END FUND” because it begins with the word “open.” That label names a financial product rather than the action of opening an account. Matching a familiar word can therefore lead to a route that does not match the intended task.

Read the alternatives from the user’s perspective. Which route best predicts the service needed, and what evidence supports that prediction? Improve labels by distinguishing intentions and objects. Additional wording is useful when it resolves a real ambiguity, but simply lengthening every label without sharpening its meaning will not solve the problem.

A shared word can suggest a route whose service does not match the intended task. Jeff Johnson, Fig. 8.3.
A shared word can suggest a route whose service does not match the intended task. Jeff Johnson, Fig. 8.3.

Links and destination confirmation

Klemmer describes a course-site problem in which students seeking information about tracks had to discover it under a grading-policy label. The content existed, but the route did not clearly promise it. Link wording and page organization jointly affect findability.

Compare “Click here” with “Compare the course tracks.” The second supports scanning and makes the destination more predictable. At the destination, a relevant heading should confirm that the user has arrived. If the page uses different terminology, explain the relationship. Backtracking can indicate a mismatch, but it can also be part of legitimate exploration, so interpret it in context.

Screen structure and visual hierarchy

Grouping communicates relationships

Visual organization influences how people interpret a screen before they read every label. Items that sit close together tend to appear related. Consistent alignment can support scanning, while spacing can distinguish neighboring groups. These cues should reflect the task and the data relationships.

In the component-selection example, Add and Remove belong to individual components. If vertical spacing makes the actions appear grouped across components instead, the visual organization competes with the actual decision. Inspect the association a person is likely to perceive, rather than judging only whether the elements line up neatly.

Add and Remove belong to individual components. Spacing can suggest competing groups. Jeff Johnson, Fig. 2.4.
Add and Remove belong to individual components. Spacing can suggest competing groups. Jeff Johnson, Fig. 2.4.

Local actions and dialog actions

A dialog can contain actions that modify a selected item and actions that accept or abandon the entire dialog. Their position should help communicate this difference. A list’s local controls should have a clear relationship to the list, while the final confirmation should communicate its broader scope.

The grouped dialog example uses spacing to establish these relationships without enclosing every element in a separate box. The lesson is not that borders are always wrong. It is that hierarchy should be purposeful. Too many equally emphasized boundaries can make the screen harder to interpret by treating every relationship as equally important.

Spacing distinguishes the list, its local controls and the dialog-wide actions. Jeff Johnson, Fig. 2.3.
Spacing distinguishes the list, its local controls and the dialog-wide actions. Jeff Johnson, Fig. 2.3.

Alignment in a registration form

The registration form combines a name-and-address group, citizenship choices and other student details. Alignment helps connect captions to values. Group headings explain why some fields belong together and distinguish those groups from the record-level actions below.

Evaluate the organization as well as its appearance. A field’s length can suggest the expected amount of input, but it should not impose an unjustified limit on legitimate data. Captions must remain associated with their controls when the layout changes. A form that appears orderly can still fail if its groups do not match the user’s task or its abbreviations are unfamiliar.

Alignment and headings organize a registration record. The controls below affect the record at different scopes.
Alignment and headings organize a registration record. The controls below affect the record at different scopes.

Hierarchy and task priority

A summary screen may contain many legitimate values. The designer’s task is to make their relationships understandable and give appropriate emphasis to the decision the user is making. Removing context solely to create empty space can make a comparison harder.

In the mortgage-summary comparison, inspect how labels and values form groups. The teaching question is whether the user can identify related information without repeatedly tracing across the screen. Similar issues arise in invoices, scientific results and account summaries. A larger font alone cannot repair a confusing label-value association.

Compare how labels and values form meaningful groups in these summaries. Jeff Johnson, Fig. 3.5.
Compare how labels and values form meaningful groups in these summaries. Jeff Johnson, Fig. 3.5.

Responsive layout and retained context

When space narrows, a side-by-side layout may need to become a sequence. Decide which information must remain adjacent and which actions need to stay easy to locate. A two-column form that becomes one column should still place each label and hint next to its field.

A comparison task may require a different treatment from simple reading. Stacking every value from object A before every value from object B can increase memory demands. Consider aligning corresponding attributes or offering an explicit comparison view. Responsive design therefore changes information presentation, not merely element widths. The resulting order also needs to make sense for keyboard and assistive-technology users.

In the laptop comparison, A weighs 1.2 kg and B weighs 1.7 kg. B offers a listed battery duration of 12 hours rather than 8. A shopper weighing portability against battery duration can compare the two values on each row. If a narrow layout instead lists every attribute of A followed by every attribute of B, the shopper must remember A while reading B. Keeping the paired values adjacent preserves the operation the layout is meant to support.

The narrow version shortens the product headings to A and B while retaining their correspondence with the wide version. A real product view would keep the product names available, for example in a persistent header. This compact table works for short labels and two products. For long descriptions or many products, provide deliberate horizontal scrolling or let the user choose a smaller comparison set. Test that keyboard and assistive-technology reading order still connects each value to its row and product.

Both views keep the values for a feature together. The narrow view changes column widths and headings while retaining the comparison.
Both views keep the values for a feature together. The narrow view changes column widths and headings while retaining the comparison.

Scanning depends on the task

Reading an essay, locating a command and comparing two records impose different demands. A useful layout provides cues that fit the task, such as informative headings, aligned values or distinct action groups. It should not assume that every user will follow one prescribed path across the screen.

Inspect the actual task: where does the person start, which information must be compared, and what must be checked before acting? These questions lead to more defensible decisions than treating a letter-shaped scanning pattern as a universal law. Visual hierarchy supports attention, but it does not guarantee that a critical detail will be noticed.

Consider this

Why might a clean form still be difficult to use?

Worked answer

Its visual order may not match the task. Ambiguous groups, unfamiliar labels or actions separated from their objects can remain even when every field aligns perfectly.

Forms, control choice and validation

Field design starts with the data

A form should collect information required for a purpose. List the needed values and examine their meaning, relationships and sources. Then discuss the grouping and vocabulary with the people who will use it. Choosing a text box for every value before understanding the data can create unnecessary entry and validation work.

Ask whether a value already exists, whether the user can reasonably know it and whether the system can derive it reliably. Derivation also needs transparency when a person must verify the result. A form is a model of a task and its information requirements, not simply a visual arrangement of database columns.

Labels, formats and abbreviations

The annotated registration form illustrates decisions about alignment, date formatting and abbreviations. A visible date format helps disambiguate the requested value. The annotation assumes that SIN is understood by its intended users, but that assumption would not automatically hold for another population.

Keep labels available after entry so people can review what a value means. Placeholder text alone disappears and can make later checking difficult. If a field requires an unusual identifier, explain its purpose and where to find it. If the format is flexible, accept reasonable variations rather than forcing users to discover an arbitrary punctuation rule.

The annotated form makes label alignment, date format and abbreviation assumptions explicit. Evaluate those assumptions for the intended users.
The annotated form makes label alignment, date format and abbreviation assumptions explicit. Evaluate those assumptions for the intended users.

Controls reflect the choice structure

Radio buttons ordinarily express one choice from a visible set, while checkboxes support independent selections. A select list saves space but conceals alternatives until it opens. A searchable list can help when users know enough about a large set to narrow it effectively.

Choose the control from the decision, not from an arbitrary numerical cutoff. Consider whether alternatives must be compared, whether users know the vocabulary and whether a default is legitimate. A slider suits approximate adjustment along a meaningful range, but exact numeric entry may need a field as well. Make the selected value clear and operable without relying on color alone.

DecisionPossible controlImportant condition
One visible choiceRadio groupMutually exclusive values
Several choicesCheckboxesIndependent selections
Known item in large setSearchable listUnderstandable vocabulary
Approximate rangeSliderVisible value and limits
Exact valueNumeric entryUnits and valid range

Defaults and prefilled values

A sensible default can make a routine task easier, especially when most users need the same setting. However, people may accept a prefilled value simply because it is already present. A default should therefore be appropriate to the context and easy to inspect and change.

Distinguish a suggested value from a value retrieved from an existing record. They have different evidential status. For example, a stored contact address and a guessed country should not appear equally authoritative if the difference matters to the task. For high-consequence choices, requiring an explicit selection can be preferable to silently making the decision for the user.

Field validation

Validation checks whether entered data satisfy constraints. A type check can reject letters where a quantity is required. A format check can identify an incomplete date. A valid-choice check compares an identifier with the allowed set. A range check examines limits, while a consistency check relates values across fields.

These checks establish different things. A correctly formatted address is not necessarily deliverable, and a plausible number is not necessarily accurate. Avoid describing a value as verified when the system has only checked its syntax. Explain the constraint that failed and give the user a meaningful route to repair it.

CheckExampleWhat it establishes
Type / formatDate can be parsedUsable representation
Valid choiceExisting course codeMembership in allowed set
RangeQuantity between limitsConstraint satisfied
ConsistencyEnd after startRelationship satisfied

Record-level consistency

An application can contain a valid start date and a valid end date while still placing the end before the start. The individual values satisfy their formats; their relationship violates the task constraint. Similarly, a selected option can create a requirement for additional information elsewhere in the record.

Present the relationship in the message. “End date must follow start date” is more useful than “Invalid record.” Keep both relevant values accessible, and avoid making users infer which part of the record caused failure. If changing one field invalidates another, explain the consequence rather than silently deleting the affected input.

Consider this

Why can a form reject Save after accepting every field?

Worked answer

A cross-field or record-level rule may fail. The feedback should identify the related values and explain the required relationship, while preserving the entered data.

Validation timing

Showing an error after the first character of a date can interrupt normal entry. Waiting until a long form is submitted can also create unnecessary recovery work. The useful moment depends on what can be judged and whether the user has had a reasonable chance to finish the value.

Validate meaningful completed input where that supports correction, and recheck relevant constraints before commitment. Some checks depend on data elsewhere in the form or on a remote system. Make pending checks and failures understandable. Do not trap users inside one invalid field if they need to inspect other information to correct it.

Error identification and preserved input

A failed submission should preserve the work the user has already done. Identify the affected field and explain the correction in plain language. A form-level summary can help locate several problems, while a local message explains the particular field. The two should agree and provide a practical route to correction.

For example, “Enter a four-digit year” tells the user more than “Bad value.” If the rule concerns two dates, mention that relationship. Avoid clearing a field merely to emphasize that it is wrong. The existing value is often the best starting point for repair and may reveal why the error occurred.

Weak messageMore useful message
Invalid valueEnter a four-digit year
Record rejectedEnd date must follow start date
Missing informationSelect the delivery method
Error 12The file could not be saved. Your edits remain open.

Accessible error notification

The GOV.UK Design System pairs an error summary with messages beside the affected answers. Its pattern moves keyboard focus to the summary and links each error to the relevant input. Matching wording helps people recognize the same problem at both levels. These are concrete choices in a design system, rather than a requirement to copy its visual style into every interface.

W3C’s forms tutorial distinguishes overall submission feedback from feedback near controls. A visible red border alone does not communicate enough. Explain the issue in text, make the field identifiable and ensure the notification is available to people who are not visually scanning the page. Successful submission also needs clear feedback so that people know the task has completed.

LevelPurposeConnection
SummaryLocate the problemsLink to affected input
Field messageExplain the repairMatch summary wording
Submission resultConfirm outcomeIdentify task completion

GOV.UK Design System: Error summary; W3C WAI: User Notification.

A failed form submission with a repair path

The travel request requires an end date later than its start date. The entered dates, 21 October and 20 October 2026, each have a readable format, but their relationship violates that rule. The email value deniz@ also lacks a complete address. Submitting the form therefore leaves the request unsaved and identifies two problems. The name and both date values remain in place. Keeping the erroneous value is useful too: it lets the person recognize and repair the mistake.

Keyboard focus moves to the error summary after this failed submission. Its two links lead to the corresponding fields. The same date message appears in the summary and near End date, so the person can recognize the problem after moving. The email message requests the missing information; a more explicit format hint, such as name@example.com, can help when the expected structure is unfamiliar. A red outline supplements the explanation but does not carry it alone.

To finish, follow the date link and enter 23 October 2026, then complete the email address. Check the whole record again before saving, because correcting one value may affect a relationship elsewhere. On success, show a clear saved outcome. Do not make the user infer completion merely because the errors disappeared. This walkthrough describes interaction behavior: a still image by itself cannot demonstrate keyboard focus or programmatic associations.

After an unsuccessful submission, the summary identifies both problems, links lead to the fields, and entered values remain available for correction.
After an unsuccessful submission, the summary identifies both problems, links lead to the fields, and entered values remain available for correction.

Save, Apply, Cancel, Clear and Delete

These labels must describe distinct consequences. Save commonly commits changes to a record or document. Apply often commits settings while leaving the dialog open. Cancel typically abandons an unfinished operation. Clear removes entered values, while Delete removes an existing object. Their exact behavior must remain consistent within the application.

Show the scope. Canceling an edit should not unexpectedly delete the saved record. Clearing search filters should not erase stored data. If an operation has already committed, Cancel may be unable to reverse it and a separate undo or compensating action may be necessary. A familiar label cannot substitute for a coherent state model.

When the task itself is cancellation, the label Cancel can have a competing meaning. Jeff Johnson, Fig. 8.4.
When the task itself is cancellation, the label Cancel can have a competing meaning. Jeff Johnson, Fig. 8.4.

Saved data and an unfinished edit

Read the contact record before editing: the stored city is Ankara. When the user types Izmir in the edit field, there are two relevant values: the saved value and the unfinished draft. They may look similar on screen, but they have different consequences. Other views should not present the draft as committed unless the application deliberately supports live updating and makes that behavior clear.

In this interaction, Save validates and commits the draft. The record then displays Izmir and confirms that the change was saved. Cancel abandons the unfinished edit and displays the still-saved Ankara. It does not delete Deniz Kaya or erase the old city. Once Save succeeds, Cancel cannot be expected to restore Ankara, because the unfinished edit has ended. Reversing a committed change needs Undo, a version history or a new edit.

This distinction also explains why an autosaving application needs different wording. If every field change commits immediately, a Cancel button that merely closes the view would invite the wrong expectation. Specify the commit boundary before choosing the labels. A designer should be able to state which data exist before and after every action.

The draft city differs from the saved city. Save commits Izmir; Cancel abandons the draft and retains Ankara.
The draft city differs from the saved city. Save commits Izmir; Cancel abandons the draft and retains Ankara.

Apply, Clear and Delete change different things

Consider a settings dialog whose stored zoom level is 100%. You enter 125% and select Apply. The application changes to 125% and keeps the dialog open. You then type 150% but select Cancel. Under the behavior specified here, Cancel discards only the unapplied 150% draft, leaving the already applied 125% setting. Reverting to 100% requires another committed change. If a product instead restores the opening value, it must make that different behavior understandable.

Clear and Delete have different objects. Clear city empties the city field in the current draft. Until a later Save, the stored contact still contains Ankara. Delete contact removes the stored contact itself, not just the text in one field. Because the scopes differ, these actions should not look like interchangeable ways to close a form. The table makes the before and after values explicit.

Recovery should name its scope too. Undo delete may restore a contact, while Undo typing restores a field edit. If deleting the record also affects linked data, explain those consequences before commitment and define what recovery can restore. The label, resulting state and recovery operation must describe the same action.

Action and starting stateDraft after actionStored state after action
Apply: 100% saved, 125% draft125%; dialog stays open125%
Cancel: 125% applied, 150% draftUnapplied edit discarded125%
Clear city: Ankara savedEmpty city fieldAnkara until Save
Delete contact: record existsEditing endsContact removed

Feedback, errors and recovery

Feedback describes the operation state

A button press can be recognized before the requested operation finishes. Distinguish receipt of input, work in progress, completion and failure. A transient animation confirms activity but may not explain whether a file was saved or a message was sent.

Choose feedback that helps the person decide what to do next. During a long operation, identify the operation and any available cancellation action. At completion, identify the outcome. If a failure leaves uncertainty about whether the operation committed, avoid encouraging a blind repeat that could create a duplicate. The user needs a way to inspect the actual state.

StateUseful feedbackPossible action
ReadyAvailable operationStart
WorkingActivity and scopeWait or cancel
CompletedResult and affected objectContinue
Failed / uncertainWhat is known and preservedInspect, repair or retry

An upload operation and its outcomes

A student selects a report file. Ready means the file is selected but no upload has begun. Uploading means the system accepted the action and is attempting transfer. Complete means the service confirmed the required outcome, such as storing the report. A progress bar reaching its end is insufficient if a later processing or confirmation step remains. The visible state should describe the operation the student cares about.

The Failed branch applies when failure is confirmed. Retain the selected file and provide Retry, which begins a new attempt from a known condition. Cancellation also needs an outcome. Selecting Cancel can request cancellation before the system has confirmed that work stopped. Until that confirmation arrives, show that cancellation is pending instead of claiming the upload was canceled.

The five-state diagram deliberately separates confirmed outcomes from uncertainty. A lost network response can leave the application unsure whether the service stored the report. That situation requires checking status before offering a blind repeat. In a system that cannot determine the outcome automatically, explain the uncertainty and provide a practical route to inspect the submitted record.

Upload outcomes require confirmation. Retry follows a confirmed failure; an unknown outcome first requires a status check.
Upload outcomes require confirmation. Retry follows a confirmed failure; an unknown outcome first requires a status check.

A timeout can leave the outcome unknown

Suppose the service stores report.pdf but the confirmation never reaches the browser. A message saying Upload failed would be stronger than the available evidence. If the student immediately retries, the service may create a duplicate. A more accurate interface says that it could not confirm the outcome and checks the submission record. While that check runs, it should preserve the selected file and avoid promising that nothing was saved.

The table distinguishes three situations. A confirmed rejection can offer a relevant repair followed by retry. A confirmed success can show the saved item and its receipt. An unknown result needs status checking, not a made-up success or failure. This is an interaction-design issue even when engineers later solve duplicate prevention at the service level: the user still needs to know whether to wait, inspect or act.

Ask what the user would do after each message. If all three states lead to an identical Try again button, the interface conceals a meaningful difference. Prefer an action that follows from the known state. For a confirmed size-limit rejection, for example, identify the limit and retain the file selection while the person chooses a smaller file.

What the system knowsWhat the interface saysUseful next action
Server rejected the fileFile was not storedRepair the cause; retry
Server confirmed storageReport savedOpen saved report
No confirmation receivedOutcome not yet confirmedCheck submission status

Progress needs the right scope

The copy-progress example updates feedback for one file at a time. This can show activity while failing to communicate how much of the overall operation remains. Users may repeatedly see a bar complete and restart without understanding whether they are nearly finished.

Choose a denominator appropriate to the user’s question. Files completed, bytes transferred and estimated time represent different properties. Do not present precision the system cannot justify. If cancellation leaves some files copied, explain that result rather than implying that the entire operation was rolled back. Feedback and recovery should use the same account of the operation’s scope.

A per-file percentage can show activity without explaining how much of the whole operation remains.
A per-file percentage can show activity without explaining how much of the whole operation remains.

Mistakes and slips

If a user believes Delete means remove an item from a view but it actually deletes the underlying record, the problem may involve an incorrect understanding of the operation. If the user intends to delete one item but clicks its similar neighbor, the intended plan may be sound while execution goes wrong.

These mechanisms can coexist. Improve the conceptual explanation where meanings are misunderstood, and reduce selection or execution hazards where slips occur. Do not use the classification to blame the person. Use it to choose interventions that address how the interaction failed.

MechanismExamplePossible response
Wrong planMisunderstood deletion scopeClear object and consequence
Wrong objectAdjacent similar itemsDistinction and recovery
Habit captureRoutine overrides intentionVisible task context
Mode errorSame action, different stateVisible mode and safer mapping

A phone mode error

Dix’s phone example shows a complete mode-error mechanism. The owner repeatedly uses C followed by Yes to remove a lock. If the phone is already unlocked and has entered the phone book, the same sequence can mean delete and confirm. A well-practiced action now produces a different result.

The confirmation does not necessarily help because it is part of the habitual sequence. Reducing this risk requires examining the relationship between state and action. Make the current mode understandable, avoid dangerous reuse of a routine sequence where possible and provide recovery when the consequences can be reversed.

The same C–Yes sequence has different consequences in different modes. Dix, Finlay, Abowd and Beale, HCI, chapter 5.
The same C–Yes sequence has different consequences in different modes. Dix, Finlay, Abowd and Beale, HCI, chapter 5.

Capture, description and lost goals

Capture occurs when a strongly practiced sequence takes over a less familiar intended one. A description error involves acting on an object that matches an insufficiently specific description, such as choosing the wrong similar file. Loss of activation concerns losing the active goal, often after an interruption.

The remedies differ. Distinct objects and clear selections help with wrong-target actions. Visible task context and resumable state help after interruptions. Reversibility can limit damage across several mechanisms. Adding a warning to every action is not a general solution because warnings can themselves become part of a routine that receives little attention.

An exit from an expert dialogue

The space-game example repeatedly requests a row and column until the destination satisfies its rules. Without an exit, a user who changes their mind cannot simply abandon the move. Input validation has produced a trap, even though the interface was written for experienced users.

The revised dialogue offers an explicit option to pass. The general design requirement is an understandable route out of the unfinished action. A sentinel value such as −1 is one implementation, but a graphical Cancel action or another explicit command can serve the same purpose. Ensure the escape is available at the relevant stage and leaves the system in a coherent state.

Dialogue without escapeDialogue with escape
Request destination rowRequest row or pass
Request destination columnRequest column or pass
Reject invalid destinationExplain invalid destination
Repeat until validRetry or abandon the move

Confirmation and undo

A confirmation can be appropriate when an action has substantial or difficult-to-reverse consequences. It should identify the object and the consequence so the user can make a meaningful decision. A generic “Are you sure?” often provides too little information to reveal a mistaken assumption.

Undo supports exploration and recovery when the action can be reversed. Explain what it will restore and whether its scope includes related changes. Some actions affect other people or external systems, so reversal may require a compensating action rather than a simple restoration. The interface should communicate these differences without making every routine operation a confirmation ceremony.

Consider this

Why did confirmation fail in the phone example?

Worked answer

The familiar C–Yes sequence included confirmation. The user could complete it habitually in the wrong mode. A meaningful repair must address state visibility, action mapping and recovery.

Error messages and useful help

An error message should connect a condition to the user’s task. Explain what happened, what was affected and what can be done next. Technical details may support diagnosis, but a code alone rarely gives the user a way to continue. Preserve the relevant context and the work that remains valid.

The spell-check example gives corrective instructions in a dialog that disappears when dismissed. The user must then remember the procedure while finding the necessary controls. A direct action, persistent instructions or contextual help can reduce that burden. Help is more useful when it is tied to the current condition than when it merely opens a general manual.

Instructions disappear when the dialog closes, leaving the person to remember them during correction. MIT 6.831, Design Principles, p. 18.
Instructions disappear when the dialog closes, leaving the person to remember them during correction. MIT 6.831, Design Principles, p. 18.

A warning about an already-open document

Opening a document that is already open can create a conflict between a stored version and unsaved changes. A useful warning names the state and makes the consequences of the available actions understandable. A vague question can leave the person uncertain whether they are reopening, replacing or discarding work.

Compare the warning alternatives in the figure. Look for the object, the threatened work and the meaning of each action. The same analysis applies to synchronizing files, importing settings and restoring an earlier version. Recovery begins with a clear account of what currently exists and what the proposed action will change.

The warning needs to explain the existing state and the work that may be lost. Jeff Johnson, Fig. 8.5.
The warning needs to explain the existing state and the work that may be lost. Jeff Johnson, Fig. 8.5.

Pharmacy Master redesign

Patient context and prescription history

The Pharmacy Master overview brings the patient list, patient details and prescription timeline into one view. This supports inspection of related information without moving between separate windows. It also creates a design responsibility: the selected patient and the scope of each action must remain unmistakable.

The circled Edit Customer action begins a change to patient details. Before evaluating the next screen, identify what information should remain available during that task. The timeline is context; it is not an invitation to interpret clinical treatment. Our focus is the relationship among selected object, visible information and action state.

The overview places patient details and prescription history together. Edit Customer starts a change to the patient record.
The overview places patient details and prescription history together. Edit Customer starts a change to the patient record.

Editing patient details

The edit screen retains much of the spatial arrangement and exposes editable fields. Save and Cancel identify a boundary around the unfinished change. Disabling other operations can prevent conflicting work, but it also introduces a mode that the user must recognize and leave before doing something else.

Assess the tradeoff rather than assuming that every edit mode is bad. The mode can make commitment explicit and protect unfinished work. It can also interrupt a task that requires consulting or changing another record. Ask how users notice the mode, how they leave it and what happens to changes when they do.

Editing exposes fields in place and introduces a Save/Cancel boundary. Other actions become unavailable.
Editing exposes fields in place and introduces a Save/Cancel boundary. Other actions become unavailable.

Starting a new prescription

The New Prescription action sits near the prescription information. Its placement helps associate the action with the relevant part of the patient record. The next state should make clear that the user is creating a new item for the selected patient rather than modifying an existing one.

A transition is part of the interface design. It changes which information is available, which actions are possible and what remains unfinished. Analyze these changes explicitly. A screen can look well organized in isolation while still producing confusion if the relationship to the previous state is unclear.

New Prescription begins entry for the selected patient. The initiating action establishes the transition.
New Prescription begins entry for the selected patient. The initiating action establishes the transition.

Entry displaces the timeline

The new-prescription screen keeps patient details above the entry area but displaces the timeline. This creates a specific tradeoff: the user gains space for the form while losing an overview that may be relevant during entry. The design should be judged against the information needed to perform the task.

If users routinely consult the history while entering a new item, moving it away can create repeated switching and memory demands. If it is rarely needed, dedicating space to it may compete with the form. Evidence about the task should decide which context remains visible and which can be accessed on demand.

The form keeps patient details visible but replaces the prescription timeline.
The form keeps patient details visible but replaces the prescription timeline.

A combined view and its tradeoffs

The proposed combined view restores concurrent access to the relevant information. Its annotations suggest clicking for information, double-clicking to edit and adding Undo. These choices address the cost of switching modes and losing context, but they create new questions about discovery and accidental editing.

A defensible critique identifies both gains and unresolved risks. Preserve patient identity, make editing and commitment understandable, and specify recovery. The proposal is not automatically correct because it contains fewer buttons. Its interaction must be examined with representative tasks, including interruptions, wrong selections and attempts to reverse a change.

The combined-view proposal preserves reference information and suggests direct editing with Undo. Its discovery, commitment and recovery behavior still need evaluation.
The combined-view proposal preserves reference information and suggests direct editing with Undo. Its discovery, commitment and recovery behavior still need evaluation.
Consider this

What should the redesign preserve, and what still needs evaluation?

Worked answer

Preserve identity, necessary reference information and clear action scope. Evaluate how users discover editing, recognize unfinished changes and recover from wrong-object actions. Specify Save and Undo behavior before treating the combined view as complete.

Design decisions that can be justified

A design rationale connects an observed need to a concrete interface decision. State what the user is trying to do, identify the information or action problem and explain why the proposed alternative addresses it. Then identify its tradeoff and the evidence needed to judge it.

For example, preserving a result query supports comparison after opening a document, while keeping prescription history visible supports reference during entry. The examples differ, but the reasoning is comparable. The next step is evaluation: examine whether people can understand the choices, perform the intended task and recover when the interaction does not proceed as planned.

A useful rationale is specific enough to challenge. Visible filters predict that users can identify and relax the restriction responsible for an empty result. The comparison layout predicts that users can compare the same feature without scrolling between separate product summaries. A clear draft boundary predicts that users can say which city remains after Cancel. These are different predictions, each tied to a concrete design choice and a task that can be examined in the next lecture.

Observed needDesign decisionQuestion for evaluation
Revise an empty searchKeep query and filters visibleCan users widen one constraint?
Compare products on a phoneRetain paired attributesCan users compare without backtracking?
Abandon an unfinished editSeparate draft from saved dataCan users predict what Cancel retains?

References and further reading

  • Alan Dix, Janet Finlay, Gregory Abowd and Russell Beale. Human–Computer Interaction, third edition. Chapter 5 teaching material: navigation, hierarchies and modes.
  • Ben Shneiderman and Catherine Plaisant. Designing the User Interface, fourth edition teaching slides, developed by Roger J. Chapman. Chapters 6, 7 and 14: direct manipulation, menu/form design and search.
  • Scott Klemmer. Human–Computer Interaction lectures: Direct Manipulation; Grids and Alignment; Reading and Navigating.
  • Jeff Johnson. Designing with the Mind in Mind. Figures 2.3–2.4, 3.4–3.5, 7.2 and 8.3–8.5.
  • MIT 6.831. User Interface Design and Implementation, Lecture 8: Design Principles, 2004.
  • GOV.UK Design System: Error summary. Accessed 21 October 2026.
  • W3C WAI Forms Tutorial: User Notification. Accessed 21 October 2026.

Search CSE 566