Sub topic 10
Sizing and Spacing Interactive Targets
What this chapter assumes
You know how to create wireframes and recognize common controls such as buttons, links, checkboxes, and form fields. You also understand that a wireframe describes structure and behavior before visual styling is complete.
An interactive target is the area a person activates. It may be a button, link, icon, checkbox, radio button, menu item, or another control. Target size and spacing affect people with limited dexterity, people using touch screens, and people working in motion or under poor lighting.
Set a minimum target size
For WCAG 2.2, the Target Size (Minimum) criterion recommends a target size of at least 24 by 24 CSS pixels for pointer inputs. A CSS pixel is a browser layout unit. It is not always the same as a physical screen pixel.
Treat 24 by 24 pixels as a minimum, not as your normal design size. Many products use a 44 by 44 or 48 by 48 pixel touch area because it is easier to activate. The visible icon can be smaller when its clickable area is larger.
Use the full target area in the wireframe. Do not measure only the icon or text.
| Element | Visible content | Recommended target area |
|---|---|---|
| Icon-only close button | 16 px icon | 44 × 44 px |
| Text button | “Save” | At least 44 × 44 px |
| Checkbox | 16 px box and label | Label plus control area |
Some controls have exceptions, such as inline links within a sentence or controls where a particular size is essential. Record the exception rather than silently ignoring the requirement.
Space nearby targets
Size alone does not prevent mistakes. Two targets can each meet the minimum and still be difficult to distinguish if they touch or sit very close together.
Add spacing between actions with different results. For example, place “Delete” away from “Save,” and separate adjacent pagination buttons. Keep the entire target clickable, including its padding, so users do not need to hit a small label precisely.
Annotate the intended target boundary, not only the visible shape:
<button class="icon-button" type="button" aria-label="Close dialog">
<span aria-hidden="true">×</span>
</button>.icon-button {
min-width: 44px;
min-height: 44px;
padding: 8px;
}
.action-row {
display: flex;
gap: 16px;
}The aria-label gives the icon-only button an accessible name. The CSS gives it a practical activation area and separates neighboring actions.
Show target decisions in a wireframe
Add an annotation for each interactive element:
- Target size:
44 × 44 CSS px minimum - Spacing:
16 px from adjacent action - Activation:
entire card is clickableoronly the button is clickable - Small-screen behavior:
actions stack vertically below 400 px - Exception: explain why a smaller target is necessary
Check the design before handoff
Review dense areas such as toolbars, tables, card menus, and mobile navigation. Ask whether a person can identify and activate one control without touching another. Test the wireframe at the smallest supported viewport. If controls become cramped, stack them, increase spacing, or combine related actions under a clearly labeled menu.
Exercise
A wireframe shows three 16 px icons in a row with 4 px gaps. What should you change?
Show answer
Give each icon a larger clickable target, such as 44 by 44 CSS pixels, and add enough spacing or layout separation to prevent accidental activation of a neighboring icon.