MGU Computer Science Series — Computer Science Foundations
Part VI: Computing in the Modern World
Interfaces · Usability · Accessibility · Feedback · Assistive Technology · Ethical Design
Chapter 23 of 28
MGU Computer Science Series  ·  Computer Science Foundations  ·  Library Textbook Edition

Chapter 23:
Human-Computer
Interaction

How people use computing systems, what makes interfaces clear or confusing, why accessibility matters, and how designers build technology that respects the humans who use it

■ Part VI: Computing in the Modern World ■

■ 10 Sections  •  Chapter 23 of 28 ■

Follows Chapter 22: Privacy, Identity, and Digital Safety  ·  Prepares students for Chapter 24: Automation, Robotics, and Embedded Systems

Purpose and Overview

"A computer is only as useful as the person who can use it. Designing for people is not a finishing touch — it is the beginning of the work."

Every computing system is ultimately built for people. A medical app is useless if nurses cannot understand its alerts. A navigation system is dangerous if drivers cannot read it at a glance. A government website fails its purpose if citizens cannot find the information they need. A password manager that is too complicated to set up gets abandoned, leaving accounts unprotected.

Human-Computer Interaction — usually abbreviated HCI — is the field of computer science and design that studies how people use computers and how to build systems that work well for them. HCI asks questions that are partly technical, partly psychological, partly social, and partly ethical: How do people understand interfaces? How do they make mistakes? What makes software feel easy or difficult? How should a system give feedback? Who gets left out when design is thoughtless?

This chapter introduces the core ideas of HCI at a level appropriate for this foundational course. Students will learn what usability means, how interfaces are designed and evaluated, why accessibility is an engineering requirement and not just an afterthought, how input and output methods shape experience, and why ethical design matters. Later courses in web development, software engineering, mobile development, and user experience will build on these foundations in greater depth.

10Sections
8Objectives
35+Key Terms
3Diagrams

Learning Objectives

  1. 1Explain what an interface is and identify different types of computing interfaces.
  2. 2Define usability and describe its five components.
  3. 3Explain why accessibility matters and describe the WCAG POUR principles.
  4. 4Identify affordances and feedback in everyday software systems.
  5. 5Describe several input and output methods used in modern computing and explain how context of use shapes the choice.
  6. 6Explain the basics of user testing and why it is valuable.
  7. 7Describe the role of assistive technology and what software must provide for it to work.
  8. 8Recognize dark patterns and explain the ethical responsibilities of interface designers.

Sections at a Glance

Sections 23.1 – 23.2
People and Interfaces
Computers Are Used by People · Types of Interfaces · Tradeoffs

Computers Are Used by People

The Human in the Loop

When computer scientists design an algorithm, they think carefully about inputs and outputs, efficiency and correctness. But when a computer scientist builds a system that real people will use, they face an additional set of challenges. People are not machines. People make assumptions. People get confused. People are tired, distracted, or stressed. People have varying levels of experience. People have different physical abilities, languages, cultural backgrounds, and expectations.

A system that is technically correct but practically unusable has failed.

Human-Computer Interaction emerged as a formal field in the 1980s, when personal computers began reaching ordinary users rather than specialists. Early computers required users to memorize exact commands typed at a command line. When software began reaching people who had never programmed, designers realized that the interface — the part of the system the user actually sees and touches — needed to be designed with care.

HCI draws from computer science, cognitive psychology, industrial design, linguistics, sociology, and engineering. It is a broad and growing field because every new platform — the web, smartphones, wearables, voice interfaces, virtual reality, augmented reality — brings new interaction challenges.

Why This Matters for Computer Science

Some students assume HCI is about making things look pretty. It is not. Interface design is deeply technical. Good interface design requires understanding how people process information and make decisions, how errors occur and how to prevent them, how to organize information so it can be found quickly, and how to build interfaces that work for people with disabilities.

Documented Consequences of Poor Interface Design

Poor interface design has caused serious harm. Software with confusing interfaces has contributed to medical errors, aviation accidents, financial losses, and security failures. Nuclear plant operators have misread control panel displays during emergencies. Patients have received wrong medication doses because of ambiguous screens. Voters have selected wrong candidates because of confusing ballot layouts. Good interface design is a safety and ethics issue, not only an aesthetic one.

Interfaces

What an Interface Is

An interface is the boundary between a system and a user. It is the part of the system that the user sees, hears, touches, or otherwise perceives, and the part through which the user controls the system. A computing interface has at minimum two directions of communication: from user to system (input) and from system to user (output).

Types of Computing Interfaces

Interface TypeHow It WorksStrengthsLimitations
Command-Line (CLI)Typed text commands; text outputPowerful for experts; scriptable; fastHigh learning curve; no built-in guidance
Graphical (GUI)Windows, buttons, menus, iconsLearnable; visual metaphors helpCan be cluttered; slower for experts
TouchDirect finger contact with displayIntuitive for basic gestures; portableNo hover state; less precise; tiring
VoiceSpoken commands and dictationHands-free; natural languageNoisy environments; accent sensitivity
GestureBody movement via cameras/sensorsImmersive; hands-freeFatiguing; calibration required

A command-line interface accepts typed text commands and returns text output. The user must know the exact commands, their correct spelling, and their syntax. Command-line interfaces are powerful for experts and are still widely used by programmers, system administrators, and data scientists.

$ ls -la /home/user/documents $ python3 analyze.py --input data.csv --output results.txt $ git commit -m "Fix login error on mobile"

A graphical user interface presents visual elements — windows, buttons, menus, icons — that users interact with using a mouse or touch screen. GUIs became widespread in the 1980s and 1990s and remain dominant for personal computers, websites, and smartphones. Visual metaphors help users understand the system: a trash can icon represents deletion, a folder icon represents a container for files.

Many modern systems combine multiple interface types. A smartwatch uses touch, voice, and haptic vibration. A virtual reality headset uses gesture, gaze tracking, and spatial audio. Each interface type has tradeoffs — a good computer scientist understands which interface fits which use case, which users, and which context.

Key Idea

No interface type is universally best. The right choice depends on context of use: who the users are, what tasks they perform, what environment they work in, and what devices they have available.

Sections 23.3 – 23.4
Usability and Accessibility
Five Components of Usability · Evaluation Methods · WCAG · Curb Cut Effect

Usability

Usability is the quality of an interface that determines how well users can accomplish their goals efficiently, accurately, and with satisfaction. A usable interface lets users do what they came to do without unnecessary confusion, delay, or error. Usability is not a single property — it is a cluster of related qualities.

Nielsen's Five Components of Usability

Learnability — How quickly can new users learn to perform basic tasks?

Efficiency — Once users know the system, how quickly can they complete tasks?

Memorability — When users return after a break, how quickly do they recover proficiency?

Error rate — How often do users make errors? How severe? How recoverable?

Satisfaction — How pleasant is it to use the system?

These components can trade off against each other. An interface that is highly efficient for experts may be poorly learnable for beginners. An interface that is cautious about errors may slow down experienced users. Designers must understand who their users are and what balance of qualities matters most.

The Two Failure Modes of Usability

Failure ModeDescriptionMost Common For
Learnability failureUser cannot figure out how to do something. No visible guidance or path forward.New users encountering a system for the first time
Efficiency failureUser knows how to do something but the system makes it unnecessarily slow or repetitive.Experienced users doing frequent, routine tasks

Evaluating Usability

Heuristic evaluation has experts review an interface against a list of established usability principles. This is fast and inexpensive but depends on evaluator expertise and does not test real users. Cognitive walkthrough involves reviewers systematically stepping through tasks, asking at each step whether a user would know what to do. User testing observes real users on real tasks — the most reliable method but requiring participants, time, and careful design. Analytics use behavioral data from deployed systems to reveal usability problems at scale.

Common Usability Violations

ViolationWhat Goes Wrong
InconsistencyDifferent words, icons, or interactions for the same concept in different parts of the system
No feedbackSystem accepts input but gives no visible or audible response; user cannot tell whether anything happened
Poor error messagesVague messages like "Error occurred" with no explanation of what went wrong or how to fix it
Buried optionsCommon actions require navigating through multiple menus; most frequent tasks are hardest to reach
Assuming expertiseTechnical jargon or abbreviations that most users do not recognize
No undoUsers cannot reverse actions; fear of mistakes prevents exploration

Accessibility

Accessibility in computing means designing systems so that people with disabilities can use them. This includes people who are blind or have low vision, people who are deaf or hard of hearing, people who have motor impairments that affect how they use a mouse or keyboard, and people who have cognitive disabilities that affect how they process information.

Accessibility is not a bonus feature. In many countries, digital accessibility is a legal requirement for government websites and services. More importantly, it is an ethical requirement. A hospital patient portal that a blind patient cannot use, a government form that a user with tremors cannot complete, an emergency alert system that a deaf user cannot receive — these are failures of design that have real consequences for real people.

The Curb Cut Effect

Curb cuts — the small ramps cut into sidewalks at intersections — were originally designed to help people using wheelchairs. But curb cuts also help people pushing strollers, people with wheeled luggage, cyclists dismounting, and elderly people with difficulty stepping up and down. The same pattern appears repeatedly in computing.

The Curb Cut Effect in Computing
Accessibility features that benefit everyone
  • CaptionsDesigned for deaf users — also used by people in noisy environments, language learners, and anyone watching without headphones.
  • High ContrastDesigned for low vision users — also helpful outdoors in bright sunlight or on low-quality displays.
  • Keyboard NavDesigned for users who cannot use a mouse — also faster for power users who prefer keyboard-only workflows.
  • Voice InputDesigned for users with motor impairments — also convenient for hands-free use while cooking or driving.
  • Clear LanguageDesigned for cognitive disabilities — better for everyone, including non-native speakers and people reading quickly.

WCAG: The POUR Principles

The Web Content Accessibility Guidelines (WCAG) are an international standard organized around four principles:

PrincipleMeaningExample
PerceivableInformation must be presentable through senses available to each userImages must have alt text for screen readers
OperableInterface components must be operable by all usersAll functions must work with keyboard only, not just mouse
UnderstandableInformation and operation must be understandableError messages written in plain language
RobustContent must work across diverse technologies including assistive toolsWell-structured HTML that screen readers can parse correctly

Common Accessibility Problems in Software

ProblemWho Is AffectedSolution
Missing alt text on imagesBlind users, users with images disabledAdd descriptive alt text to every meaningful image
Color as the only signalColor-blind users (~8% of men)Always combine color with a second signal: icon, label, or pattern
Low color contrastLow vision users, elderly users, bright-light environmentsMeet WCAG contrast ratio minimums (4.5:1 for body text)
Keyboard trapsUsers navigating by keyboard onlyEnsure all elements are reachable and exitable via keyboard
Unlabeled form fieldsScreen reader usersAssociate explicit labels with every input element
Inaccessible custom controlsAssistive technology usersUse ARIA roles and states to communicate element type and status
Study Note

Accessibility problems are often introduced by developers who test only with a mouse and a visual display. Building accessibility in from the start is far easier and less expensive than adding it after launch.

Sections 23.5 – 23.7
Affordances, Input, Output, and Visual Design
Affordances and Feedback · Input and Output Methods · Visual Design Principles

Affordances and Feedback

What an Affordance Is

An affordance is a property of an object that suggests how it should be used. In computing, affordances work through visual design. A button that looks three-dimensional and raised affords clicking. A text field with a blinking cursor affords typing. A link styled in a distinct color and underline affords clicking.

Perceived affordances are what users think they can do with an element. Real affordances are what they actually can do. When these diverge, confusion follows. A button that looks like plain text will be missed by users who do not know it is clickable. A decorative element that looks like a button will be clicked by users who think it does something.

An anti-affordance signals that an action is not available. A grayed-out button communicates unavailability. A lock icon communicates restricted access. Anti-affordances prevent users from attempting actions that will fail.

Feedback

Feedback is information the system provides in response to a user's action. Without feedback, users cannot tell whether their action was received, whether it succeeded, or what to do next. Good feedback is immediate, informative, proportionate, and recoverable.

ActionGood FeedbackPoor Feedback
Clicking SubmitButton changes appearance; spinner appears; success message shownNothing changes; user clicks again
File uploadProgress bar; filename displayed; confirmation on completeNo indication of progress or completion
Error in formSpecific field highlighted; plain-language explanation shownGeneric "Form submission failed" message
Slow networkLoading indicator with estimated timeBlank screen with no explanation

Mapping is the spatial or conceptual relationship between controls and their effects. A stove where the left burner is controlled by the rightmost knob has poor mapping. An interface where clicking the left arrow moves the view to the right has poor mapping. Good mapping makes the relationship between action and effect intuitive.

Input and Output Methods

Input Methods

MethodDescriptionBest Context
KeyboardText and commands; supports powerful shortcutsText entry, expert workflows
Mouse / TrackpadPointing, clicking, dragging; precise selectionVisual navigation, design work
Touch ScreenDirect finger contact; gesture-basedMobile, casual, public kiosks
Stylus / PenPrecise drawing and handwritingDigital art, annotation, note-taking
VoiceSpoken commands and dictationHands-free, accessibility
Camera / GestureDetects hand, body, or facial movementGaming, VR, accessibility
Eye TrackingTracks gaze directionSevere motor impairment, research
SensorsAccelerometer, GPS, biometricsMobile devices, embedded systems

Output Methods

MethodDescriptionNotes
Visual DisplayScreen presenting text, images, video, interaction elementsMost common; affected by resolution, color, brightness
AudioSpeakers and headphones; speech, sound effects, alertsEssential for voice interfaces and screen readers
HapticVibration, texture, or force feedback through physical contactFast-growing in mobile and wearable devices
PrinterPhysical paper output; creates irreversible, persistent recordAppropriate for formal documents; cannot be undone
Context of Use

The best input and output methods depend on context of use — the environment (lighting, noise, motion), the user population (age, ability, experience), the tasks (precision required, frequency, stakes), and available devices. A surgeon with gloved hands cannot touch a screen or type. A truck driver in rain needs eyes on the road. Always design for the real context, not an ideal one.

Visual Design at an Introductory Level

Visual design in software is not decoration — it is functional communication. The visual arrangement of an interface directly affects whether users understand the system, find what they need, and avoid errors. Computer scientists who understand visual design make better software decisions and evaluate interfaces more accurately.

PrincipleWhat It MeansWhy It Matters
HierarchyLarger, bolder, higher-contrast elements receive attention firstGuides the eye to important information and primary actions
ProximityElements near each other appear related; separated elements appear distinctGrouping related controls reduces confusion about their relationship
AlignmentConsistent alignment creates visual orderMisaligned elements create noise and suggest lack of care
ContrastDifferences in color, size, or weight draw attentionAlso an accessibility requirement for text readability
ConsistencySame visual language throughout — same colors, layouts, typographyUsers learn the system once and apply that knowledge everywhere
WhitespaceSpace between and around elements reduces clutterImproves readability and separates distinct elements
ColorCommunicates meaning, creates mood, directs attentionMust never be the only signal — combine with icons or labels
TypographyFont, size, line length, and spacing all affect readabilityBody text must be large enough to read without strain

Information architecture is the organization and labeling of content in a system so that users can navigate and find information. Poor information architecture is one of the most common usability problems in large websites and applications: users cannot find what they need because content is organized according to the organization's internal structure rather than users' mental models.

Sections 23.8 – 23.10
Testing, Assistive Technology, and Ethical Design
User Testing · Assistive Technology · Dark Patterns · Inclusive Design

User Testing

User testing is the process of observing real users attempt real tasks with a system in order to identify usability problems, measure performance, and gather qualitative observations about experience. User testing is one of the most valuable activities in interface design because it reveals problems that experts miss. Designers and developers are too familiar with their own systems — they know where everything is and why every decision was made. Real users have none of this knowledge.

Core User Testing Process

1. Define goals — What questions are you trying to answer?

2. Recruit participants — Represent the actual intended users; 5–8 participants often reveal most significant problems.

3. Design tasks — Write realistic tasks in plain language without clues about where to find features.

4. Run sessions — Participants attempt tasks; use think-aloud protocol.

5. Do not help — Helping defeats the purpose; observe what happens when users encounter the real system.

6. Collect data — Measure completion rates, time on task, error rates, satisfaction.

7. Analyze and report — Prioritize problems by frequency and severity.

8. Iterate — Revise and test again; usability testing is most valuable done early and often.

In the think-aloud protocol, participants narrate what they are thinking as they work. This provides insight into their mental model, not only their observable behavior. When participants struggle, observers record what happened without intervening — that struggle is valuable data.

A/B testing compares two interface versions simultaneously, measuring outcomes statistically. It is useful for comparing specific decisions at scale but cannot explain why users behave differently, only that they do.

The most important lesson of user testing is consistent: users are not wrong when they struggle. The interface is wrong.

What Good User Testing Reveals

Navigation labels that make sense to developers but confuse users. Forms missing essential guidance. Error messages users cannot interpret. Features users cannot find despite extensive searching. Assumptions about user knowledge that are simply wrong. Tasks completed in an unexpected sequence. These are the insights that make software better.

Assistive Technology

Assistive technology is any technology that helps people with disabilities access, use, and benefit from computing systems. When a computing system is designed accessibly, assistive technology can interact with it effectively. When a system is not designed accessibly, assistive technology cannot help — no screen reader can describe an image that has no alt text.

Screen Readers

A screen reader is software that reads the content of the screen aloud, allowing users who are blind or have low vision to use a computer or smartphone. Screen readers read text, describe interface elements, announce what type of element something is (button, link, heading, image), and speak error messages. Widely used screen readers include NVDA and JAWS for Windows, VoiceOver for Apple devices, and TalkBack for Android.

What Software Must Provide for Screen Readers
Accessibility requirements for screen reader support
  • Alt TextEvery meaningful image must have a descriptive text alternative. An image of a red error icon needs alt text like "Error" or a description of what it represents.
  • Button LabelsButtons must have text labels describing their function, not just an icon with no text. A trash-can icon button needs the label "Delete" or "Delete item."
  • Form LabelsEvery input field must have an associated label. The label must be programmatically connected, not just visually near the field.
  • Reading OrderThe order in which the screen reader reads content must match the intended visual reading order.
  • Roles and StatesInteractive elements must communicate their type (button, checkbox, menu) and state (checked, expanded, disabled) to assistive technology.

Keyboard Navigation and Switch Access

Many users cannot use a mouse or touch screen due to motor impairments. They navigate entirely using a keyboard or a simplified input device called a switch. A keyboard-accessible interface allows users to navigate through interactive elements using the Tab key, activate elements using Enter or Space, and exit components using Escape. The visual focus indicator — a highlight showing which element currently has keyboard focus — must always be visible. Switch access reduces input to one or two switches, cycling through options for users with severe motor impairments.

Captions and Cognitive Accessibility

Captions are text versions of audio content synchronized with video — essential for deaf and hard-of-hearing users and extremely helpful for anyone watching without sound. Automatic caption generation has improved significantly, but automated captions have higher error rates than human-written captions, especially for technical vocabulary and non-standard accents.

Cognitive accessibility addresses users with cognitive disabilities including dyslexia, attention-related differences, and memory difficulties. Cognitive accessibility benefits from plain language, short sentences, consistent layouts, ample time for tasks, clear error messages, and multiple formats for the same information. Cognitive accessibility is an active area of research and advocacy.

Ethical Interface Design

Interface design has ethical dimensions. The choices designers make about how to present information, what options to offer, how to direct attention, and what to make easy or difficult affect how people behave, what they consent to, and who benefits. An ethical interface respects users. An unethical interface manipulates them.

Dark Patterns

Dark patterns are interface designs that manipulate users into doing things they did not intend or would not choose if fully informed. Dark patterns exploit cognitive biases, create misleading visual hierarchies, and abuse the user's tendency to follow the path of least resistance.

Dark Pattern — Confirmshaming
Cookie dialog options: "Yes, I agree" and "No, I don't care about my privacy."

The "decline" option is written to make users feel bad for exercising their right to decline. This is manipulation, not communication.

Dark Pattern — Roach Motel
Subscribe online in two clicks. Cancel only by calling during business hours.

Easy to enter, deliberately difficult to exit. This pattern exploits friction asymmetry — the system makes one path easy and the other unnecessarily hard.

Dark Pattern — Hidden Costs
Price shown: $19.99. Price at checkout after fees and charges: $27.48.

Displaying a low price early and adding costs only at the final step exploits the sunk-cost tendency — users who have invested time are more likely to complete the purchase.

Dark Pattern — Forced Continuity
"Start your free trial — no credit card required" becomes a charge after 14 days with no reminder.

Users who provided payment information during signup and forgot to cancel are charged. The system's design benefits from user forgetting rather than serving user intent.

Dark patterns are increasingly illegal in some jurisdictions. Regulatory agencies have begun investigating and fining companies that use dark patterns in privacy consent interfaces, subscription services, and e-commerce.

Persuasive Technology and Ethical Lines

Not all persuasion is manipulation. Persuasive technology uses design to encourage behavior change — reminders to take medication, prompts to exercise, notifications to review work before submission. The ethical line is intent and transparency. Persuasive design that helps users achieve their own goals, that is transparent about its purpose, and that respects the user's ability to opt out is ethically defensible. Persuasive design that serves the designer's goals at the expense of the user's wellbeing, or that exploits cognitive vulnerabilities, is not.

Inclusive Design

Inclusive design is an approach that considers the full range of human diversity — ability, age, language, culture, economic situation, and experience — from the beginning of the design process. Inclusive design treats disability as a mismatch between user needs and system capabilities, not a characteristic of the person. It may mean providing multiple ways to accomplish a task, ensuring the main path works for the widest possible range of users, and making it possible for users to adapt the system to their own needs.

As a computer scientist, you will make interface design choices. Understanding the ethical dimensions of those choices is part of professional responsibility.

Chapter Summary

Diagram Review

Diagram 23.1 — The Interaction Cycle
USER
  │
  │  Forms intention
  │
  ▼
ACTION
  │
  │  Provides input
  │  (click, type, speak, touch)
  │
  ▼
SYSTEM
  │
  │  Processes input
  │  Produces output
  │
  ▼
FEEDBACK
  │
  │  User perceives result
  │  (visual, audio, haptic)
  │
  ▼
USER
  │
  │  Evaluates outcome
  │  Forms next intention
  │
  └── (cycle continues)
    
Discussion: At which step do dark patterns typically intervene? At which step does missing feedback break the cycle? What happens when perceived affordances do not match real affordances?
Diagram 23.2 — Interface Types Compared
INTERFACE TYPE    │ LEARNING CURVE │ EFFICIENCY (EXPERTS) │ BEST FOR
──────────────────┼────────────────┼──────────────────────┼──────────────────────────
Command-line      │ High           │ Very high            │ Technical users, scripting
Graphical (GUI)   │ Low to medium  │ High                 │ General-purpose computing
Touch             │ Very low       │ Medium               │ Mobile, casual, children
Voice             │ Low            │ Medium               │ Hands-free, accessibility
Gesture           │ Medium         │ Medium               │ Gaming, immersive systems
    
Discussion: Why might a professional photographer prefer keyboard shortcuts in a GUI over a touch interface? What tradeoff does voice input make between learnability and efficiency?
Diagram 23.3 — WCAG POUR Principles
PERCEIVABLE ─────── Users can receive all information through available senses
     │               → alt text for images, captions for video, sufficient contrast
     │
OPERABLE ─────────── Users can operate all controls and navigate all content
     │               → keyboard access, no seizure-triggering content, enough time
     │
UNDERSTANDABLE ───── Content and operation can be understood
     │               → readable text, predictable behavior, helpful error messages
     │
ROBUST ───────────── Content works across diverse technologies including assistive tools
                     → valid markup, semantic structure, named roles and states
    
Discussion: Which POUR principle is violated when a button has no text label? Which is violated when a form times out after 30 seconds with no warning? Which is violated when a PDF contains only scanned images of text?

Concept Check

Quick Concept Check
Answer these questions before beginning the longer practice exercises
Core Concepts
  1. What is the difference between a command-line interface and a graphical user interface?
  2. List the five components of usability.
  3. What does the acronym POUR stand for in WCAG?
  4. What is the curb cut effect? Give one example from computing.
  5. What is an affordance? Give one example in a software interface.
  6. What is feedback in interface design? Give one example of good feedback and one of poor feedback.
  7. What is a screen reader, and what must a developer provide for it to work effectively?
  8. Define dark pattern and give one example.
  9. What is the think-aloud protocol in user testing?
  10. What is inclusive design and how is it different from accessibility?

Practice Questions

Part AVocabulary in Context
  1. A banking app requires users to navigate through five nested menus to reach the option for transferring money — the most frequently performed action in the app. Which usability component does this most directly violate? Explain your answer.
  2. A medication scheduling app for elderly patients uses small text in light gray on a white background. Identify at least two usability or accessibility problems this creates and explain which users are most affected.
  3. A checkout button is the same color and size as all other text on the page, with no visible border or raised appearance. What problem with affordances does this create? How would you fix it?
  4. A form accepts the user's input and then displays a blank page with no message. What usability principle is being violated? What should the system do instead?
  5. An interface uses red text to indicate overdue tasks and green text for completed tasks. A user with red-green color blindness opens the app. Why is this a problem, and what is the accessible solution?
Part BExplanation and Comparison
  1. Compare a command-line interface and a graphical user interface in terms of learnability and efficiency for expert users. Under what circumstances might a CLI be the better choice?
  2. Explain why accessibility features often benefit users who do not have disabilities. Use two specific examples not already in the chapter.
  3. What is the difference between an affordance and feedback? Can an element have an affordance but provide poor feedback? Give an example.
  4. Why is user testing more reliable for finding usability problems than expert evaluation alone? What does expert evaluation miss?
  5. Explain why fixing accessibility problems after a product is built is harder and more expensive than designing accessibly from the beginning.
Part CInterface Evaluation
  1. Examine the following two error messages for a login form. Which is more usable? Explain using at least two specific usability principles.

    Message A: "Error 403. Authentication failed."
    Message B: "The password you entered is incorrect. Please try again, or click 'Forgot password' to reset it."
  2. A library website organizes its navigation as: About Us | Collections | OPAC | Services | E-Resources | Outreach | Contact. A first-year student wants to find a book. Which navigation item should they use? What usability problem does this reveal?
  3. A food delivery app uses a long press on an order to delete it permanently, with no confirmation dialog. Identify two usability problems this creates and explain how you would fix them.
  4. Compare these two approaches to marking required form fields:

    Option A: An asterisk (*) next to required fields, with a note at the bottom of the form: "* Required."
    Option B: A label after each required field name that says "(required)".

    Which is more accessible? Explain your reasoning.
  5. A social media platform sends this notification after three days of inactivity: "You have 47 new notifications waiting — your followers are wondering where you are!" Analyze this from the perspective of persuasive technology ethics. Is this acceptable? What factors affect your answer?
Part DDesign Tasks
  1. Write an error message for a form that requires a phone number in the format (555) 555-5555 but the user entered "5551234567." Follow the usability principles in this chapter.
  2. Design a basic accessibility checklist for a team building a web-based quiz application. Include at least six items, each with a brief explanation of why it matters.
  3. A non-profit is building a website for elderly adults to find local social events. List five specific design decisions you would make differently than for a website aimed at college students. Justify each decision.
  4. Using Nielsen's five usability components, write five evaluation questions — one per component — for reviewing a new interface before launch.
  5. A company wants to automatically enroll users in a paid premium tier at the end of a free trial unless they actively cancel. Analyze this using the concepts of dark patterns and ethical design. What changes would make the feature more ethical?

Debugging and Error Analysis

Problem 1 — Missing Label
<input type="text" placeholder="Enter your email address">

Identify the accessibility problem with this HTML. How should it be corrected?

Problem 2 — Invalid User Testing Method
The moderator regularly helps participants who get confused, explaining what to click when they seem stuck.

What is wrong with this approach? How does it affect the validity of the results?

Problem 3 — Hidden Costs
Product page shows $19.99. At checkout, a $4.99 handling fee and $2.50 service charge are added.

Identify which dark pattern this represents. Why is it problematic? Who is harmed?

Problem 4 — Inaccessible Control
A custom dropdown menu can be opened with a mouse click but cannot be reached using the Tab key.

Which accessibility requirement does this violate? Which users are most affected? What is the fix?

Problem 5 — Misleading A/B Test
Design B has a higher conversion rate because it includes a pre-checked marketing email signup box. The team concludes design B is "better."

Why does this A/B test result not mean Design B is the more ethical or truly usable choice?

Real-World Applications

  1. Describe three specific HCI challenges in designing a voice interface for an emergency medical dispatch system. What would happen if these challenges were not addressed?
  2. A large university is redesigning its student information system. Describe what a proper user testing plan would include: who would participate, what tasks they would complete, what would be measured, and how results would be used.
  3. Autonomous vehicles must communicate their state to pedestrians — whether they have detected a pedestrian, whether they intend to stop — without screens, keyboards, or standard audio. What output methods might you use? What affordance and feedback challenges arise?
  4. Describe how each of the following systems creates HCI challenges, and identify one specific improvement that would address a major problem in each:

    a) A hospital patient portal used by patients to view test results and schedule appointments
    b) A public transit app used to purchase tickets and plan routes
    c) A public school's learning management system used by students aged 10–18
  5. Research has shown that people with intellectual disabilities are frequent targets of dark patterns because they may have greater difficulty recognizing manipulation. What responsibilities do designers have in this context? What design choices could reduce harm?

Mixed Review

  1. From Chapter 4: The binary number 1010 equals what decimal value? Show your work. How does binary representation relate to how computers store the pixels of an image displayed in a GUI?
  2. From Chapter 3: Define decomposition. Give an example of decomposing the design of a new interface into smaller, more manageable sub-problems.
  3. From Chapter 10: A developer pushes a new version of an app and receives user reports that the login button no longer works. What type of error is this? What debugging strategy would you use first?
  4. From Chapter 21: A password manager stores all passwords in one place, protected by one master password. What security tradeoff does this represent? What usability benefit does it offer, and how does it relate to the concepts in this chapter?
  5. From Chapter 19: A user in Tokyo accesses a website hosted in Germany. Briefly describe the journey of a single HTTP request. What role does DNS play, and how might high latency affect usability of the interface the user sees?

Key Terms

accessibility
The practice of designing systems so that people with disabilities can use them effectively.
affordance
A property of an interface element that suggests how it can be used.
anti-affordance
A visual signal that an action is unavailable or inappropriate (e.g., a grayed-out button).
assistive technology
Hardware or software that helps people with disabilities use computing systems.
A/B testing
A method of comparing two interface versions by showing each to different users and measuring outcomes statistically.
captions
Text synchronized with audio or video, making spoken content available in text form.
CLI
Command-line interface — accepts typed text commands and returns text output. Powerful for experts; steep learning curve.
cognitive accessibility
Design considerations for users with cognitive disabilities: clear language, consistent layouts, ample task time.
context of use
The environment, user population, tasks, and devices that define how a system will be used.
curb cut effect
The pattern in which accessibility features designed for users with disabilities benefit all users.
dark pattern
An interface design that manipulates users into actions they did not intend or would not choose if fully informed.
feedback
Information the system provides in response to a user's action; must be immediate, informative, and proportionate.
focus indicator
A visible highlight showing which interactive element currently has keyboard focus; must always be visible.
GUI
Graphical user interface — presents interactive visual elements such as windows, buttons, menus, and icons.
haptic feedback
Physical sensations — vibration, texture, or resistance — used as output to communicate system state.
HCI
Human-Computer Interaction — the field studying how people use computers and how to design systems for effective use.
heuristic evaluation
An expert review of an interface against established usability principles, without testing real users.
inclusive design
A design approach that considers the full range of human diversity from the very beginning of the design process.
information architecture
The organization and labeling of content in a system to support navigation and information-finding by users.
interface
The boundary between a system and a user — the part the user perceives and controls through input and output.
keyboard navigation
Using keyboard keys rather than a mouse to reach and activate all elements in an interface.
learnability
How quickly new users can learn to perform basic tasks in a system; one of the five usability components.
mapping
The spatial or conceptual relationship between controls and their effects. Good mapping is intuitive; poor mapping causes errors.
perceived affordance
What a user believes they can do with an interface element, which may differ from real affordances.
persuasive technology
Design that encourages users toward specific behaviors; ethically acceptable when transparent and aligned with user goals.
screen reader
Software that reads screen content aloud for users who are blind or have low vision.
switch access
A form of input using one or a few switches, cycling through options for users with severe motor impairments.
think-aloud protocol
A user testing technique in which participants narrate their thoughts as they work, revealing mental models.
usability
The quality of an interface enabling users to accomplish goals efficiently, accurately, and with satisfaction.
usability testing
Observing real users attempt real tasks to identify problems — more reliable than expert evaluation alone.
visual design
The organization and presentation of visual elements to communicate information and support usability and comprehension.
WCAG
Web Content Accessibility Guidelines — international accessibility standards organized around four POUR principles.
Looking Ahead
Chapter 24: Automation, Robotics, and Embedded Systems

Chapter 24 moves from screens and interfaces to computing systems that interact with the physical world. Students will learn how computers sense, decide, and act — through sensors, actuators, control systems, feedback loops, robotics, and embedded microcontrollers. The HCI ideas from this chapter reappear in physical form: an autonomous vehicle's interaction with pedestrians is an interface design problem. A factory robot's safety system is a usability and reliability problem. Physical computing raises all of the same fundamental questions about how systems interact with people, but answers them through motors, sensors, and real-time control rather than screens and keyboards.

MGU Library Connection
  • Chapter 22: Privacy, Identity, and Digital Safety — digital consent and data collection connect directly to ethical interface design
  • Chapter 27: Software Engineering and Team Projects — user feedback and iteration in the software development lifecycle
  • Web Development Foundations — HTML accessibility, ARIA, semantic markup, and CSS layout and contrast in practice
  • Cybersecurity Foundations — authentication interface design and security usability tradeoffs
  • Artificial Intelligence Foundations — algorithmic interfaces, content recommendation systems, and AI transparency
  • MGU Dictionary entries: interface, usability, accessibility, affordance, dark pattern, inclusive design, assistive technology