Sub topic 3
Affordances: What an Object Allows, and What Users Perceive It Allows
Assume you know basic HTML and CSS and have used common web or mobile interfaces. This chapter focuses on how interface elements communicate possible actions. The examples use familiar controls such as buttons, links, and form fields.
What an affordance is
An affordance is an action that an object makes possible. A door handle affords pulling. A flat plate on a door affords pushing. The physical shape supports one action more naturally than another.
In interface design, an affordance describes what a control can do. A button affords activation. A text field affords entering text. A checkbox affords choosing between selected and unselected states. A link affords navigation to another location.
The software determines the actual affordance. A <button> can run code when activated. A <div> can also run code if a developer adds event handlers, but the element does not provide the same built-in keyboard behavior or semantics. Therefore, the code and the platform influence what is possible.
Perceived affordances
A perceived affordance is the action a person believes an object supports. Users usually cannot inspect your code. They infer behavior from appearance, position, wording, and prior experience.
The actual and perceived affordances should agree:
- A raised, colored control labeled “Save” is perceived as pressable and likely to save something.
- Blue underlined text is perceived as a link.
- A greyed-out control is perceived as unavailable.
- A horizontal line that looks like an input field is perceived as editable.
Problems occur when the two affordances differ. A plain text label that opens a menu has an actual affordance, but its appearance may not communicate that possibility. A card that looks clickable but does nothing creates a false perceived affordance.
This distinction helps explain why a technically working interface can still feel confusing. Functionality alone does not tell users what they can do.
Affordance, signifier, and convention
An affordance is the possible action. A signifier is a visible or audible cue that communicates the action. A convention is a learned pattern that users recognize through experience.
For example, a button affords activation. Its border, contrast, label, and pointer cursor act as signifiers. The convention that a labeled rectangle can be pressed helps users interpret those cues.
| Interface element | Actual affordance | Useful signifier | Common failure |
|---|---|---|---|
| Button | Activate an action | Button shape, action label, state changes | Looks like plain text |
| Text field | Enter or edit text | Border, label, insertion caret | Placeholder is the only label |
| Link | Navigate | Link styling, descriptive text | Looks identical to body text |
| Draggable item | Move to another location | Handle, drag state, instructions | No indication that it can move |
A signifier does not create an action by itself. Adding a shadow to a noninteractive card may suggest that it is clickable, but the visual cue and behavior still need to match.
Designing clear perceived affordances
Start with the user’s goal, then choose a control whose standard behavior matches that goal. Prefer native controls when possible because browsers provide expected keyboard, focus, and assistive technology behavior.
Use labels that describe the result of the action. “Delete draft” gives more information than “Continue.” Keep related actions visually and spatially consistent. A primary action should look different from a secondary action, and unavailable actions should communicate why they cannot be used.
States also affect perceived affordance. A button can be:
- Ready to activate
- Hovered or focused
- Pressed
- Disabled
- Busy while an operation runs
Each state should have a visible difference that does not depend only on color.
.primary {
cursor: pointer;
background: #0b5fff;
color: #fff;
border: 0;
border-radius: 6px;
padding: 0.5rem 1rem;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.primary:hover {
background: #0a4fd6;
}
.primary:focus-visible {
outline: 3px solid #ffbf47;
outline-offset: 2px;
}
.primary:active {
transform: translateY(1px);
box-shadow: none;
}
.primary:disabled {
background: #c7ccd4;
color: #555;
cursor: not-allowed;
box-shadow: none;
}The cursor, shape, contrast, focus outline, and pressed state reinforce the button’s perceived affordance. These cues should support the control’s behavior rather than decorate it without purpose.
Testing for misleading affordances
Inspect each screen without relying on your knowledge of the implementation. Ask:
- What actions appear possible?
- Which visual or textual cue suggests each action?
- Does the control perform the expected action?
- Can a keyboard user and a screen reader user discover the same action?
- What does the control look like when it is unavailable or busy?
If users repeatedly click a decorative element, its appearance may be promising an action. If users overlook an available action, the interface is missing a signifier. Fix the mismatch by changing the control, its label, its styling, or its behavior.
Exercise
A settings page uses underlined blue text for a label that changes a preference immediately when clicked. What is the main design problem, and what is one fix?
Show answer
The text has an actual action but may be perceived as a link or ordinary text. Use a real button with an action label and button styling, or change the interaction to match link navigation.