Visual design · Step 5 · 9 min read
Density and touch targets
Density is a decision, not the absence of space. This lesson defines three levels — Compact, Default and Comfortable — and the touch target requirements that apply at each one, with Gale's values as a worked example.
Density is a decision — not the absence of space. This lesson defines three levels and the touch requirements.
What you'll be able to do after reading:
- Name and distinguish three density levels and choose the right one for a context
- Tell apart visual size from touch target area
- Apply the 44×44px minimum touch target rule
- Explain why a hostile environment like Gale Field requires 48×48px
- Spot density errors in existing product UIs
1. What density is
Density (densidade), first defined in this lesson, is the number of elements in a given area, regulated by spacing. A dense interface fits more data on screen by reducing the spacing between and around components. A spacious interface does the opposite.
Density is not a quality measure. High density is correct for an expert user who spends eight hours a day scanning a table of 200 rows. Low density is correct for an occasional user filling out a form once a month. Neither is better in the abstract. The decision depends on who the user is, how often they use the product, and in what physical conditions.
The mistake is treating density as a slider you turn up when you want to fit more content. It is an agreement between the design and its users. Forcing expert users into a spacious layout wastes their time. Forcing novice users into a dense layout overwhelms them.
2. The density scale
The density scale is the central model for this lesson. It has three levels, with fixed names.
Compact — for expert daily users on desktop, working fast with familiar data. Smaller vertical spacing; row height around 32px. The user knows what every column means and scans rather than reads.
Default — the balance point. Table row height 36px, interactive component height 44px; meets the minimum touch target requirement on most surfaces. The right choice for the majority of product screens when the users are not exclusively daily experts.
Comfortable — for occasional users, marketing pages and onboarding flows. Larger vertical spacing, more whitespace around each element. The user is less familiar and needs more separation to parse the layout.
The three levels are not arbitrary. They correspond to real user types: Compact targets daily users with advanced skill in the product; Default targets daily to occasional users with intermediate skill; Comfortable targets occasional users who may be seeing the interface for the first time.
3. Compact: for expert daily users
Compact density is a contract with the user: "you know this product, so we give you more data per screen." It is not a way to cram content in. It is a deliberate trade-off — less whitespace in exchange for more data visible at once.
Gale Console uses Compact. Planners and supervisors spend their entire working day in the product, scanning 100-row maintenance tables and switching between multiple work orders. A 44px row height would make 20% fewer rows visible at once; at Compact's 32px, one more screenful of rows fits before the user scrolls. Over a day of repeated scanning, that adds up.
The Compact multiplier in Gale is 0.875 applied to the baseline spacing scale. A table row that would be 36px at Default becomes 32px (rounded to the nearest 4px step in the spacing scale). The minimum font size in table cells is 12px.
Compact density makes touch targeting harder. At 32px row height, a row is below the standard 44px minimum for touch targets. That is acceptable on Gale Console because it runs on desktop — mouse and keyboard, not fingers. The same layout on a touch device would be inaccessible.
4. Default: the balance point
Default density is the right starting point for any product until there is a clear reason to deviate. It delivers sufficient data density for most work tasks while keeping interaction areas large enough for reliable pointing on both desktop and touch.
Gale uses Default for Gale Field — the mobile and rugged tablet surface. Field technicians use it at turbine height: gloves on, often in wind, sometimes with a rugged device that has a less sensitive screen. At 44px row height, the touch target is met on a standard capacitive screen.
The 44px value for Default comes directly from industry standards. WCAG 2.1 SC 2.5.5 defines a Level AAA requirement of 44×44 CSS pixels minimum for pointer input targets (WCAG 2.1 SC 2.5.5). Apple's Human Interface Guidelines set the same threshold at 44×44 points for iOS (Apple HIG, Buttons). WCAG 2.2 added SC 2.5.8 at Level AA, which sets a 24×24 CSS pixel minimum with a spacing exception (WCAG 2.2 SC 2.5.8). The practical target is still 44×44: meet 2.5.8 by dimensions, not by exploiting the spacing exception.
5. Comfortable: for occasional users
Comfortable density exists for contexts where the user is unfamiliar, the stakes of a mistake are high, or the interaction is intentionally slow. Marketing pages, onboarding, guided setup flows, error-state confirmations — all benefit from more space around each element.
Gale's main surfaces (Console, Field, Ops) do not use Comfortable density in their regular UI. It could appear in a first-run setup wizard or a high-stakes confirmation dialog. In those moments the product intentionally slows the user down: more whitespace, larger targets, more explicit labels.
The Comfortable multiplier in Gale's scale is 1.25 — 25% more spacing than Default. A row that is 44px at Default becomes 55px (rounded to 56px, the nearest 4px step), or just drop to 48px for rounded touch targets. The choice depends on how much additional whitespace the design needs.
6. Touch targets: visual size ≠ tappable area
Touch target (área de toque), first defined in this lesson, is the clickable or tappable zone of an element, independent of its visual size. The two are often different.
A 20px icon button is visually 20px. Its tappable area should be 44×44px. The gap between the visual size (20×20) and the target size (44×44) is filled with invisible padding. The user does not see the padding; they benefit from it because they can tap slightly outside the visible icon and still hit the target.
Three ways to implement this:
Padding on the element. Add padding: 12px to a 20px icon to create a 44×44px clickable area. The visual icon stays 20px; the interactive area is now 44×44px. This works when the surrounding layout has space for the extra padding.
Min dimensions. Set min-width: 44px; min-height: 44px on the button, then center the icon inside. The button appears as a small icon visually, but its clickable area is the full 44×44px rectangle.
Pseudo-element overlay. A ::after pseudo-element, positioned absolutely, can extend the target area beyond the visual bounds without affecting layout. Use when the first two options conflict with adjacent spacing.
Gale Field's exception. Gale Field targets a hostile environment: technicians with gloves, working at elevation, on a rugged tablet. Standard WCAG 44px is insufficient. Gale Field sets a 48×48px minimum across the whole surface. That 4px difference matters when fingers are covered and the device may be vibrating.
7. When to choose each level
The choice of density level is not about screen real estate — it is about the user's relationship with the product.
| Level | User type | Physical context | Example in Gale |
|---|---|---|---|
| Compact | Daily expert | Desktop, seated, precise pointer | Console table views |
| Default | Daily to occasional | Desktop or touch, moderate conditions | Field work order list |
| Comfortable | Occasional, first-time | Any, careful interaction | First-run setup wizard |
A single product may use multiple density levels across surfaces. That is not inconsistency — it is the right answer for different user groups. What creates inconsistency is using different densities within the same surface without a rule.
Shape is complete. In Step 6 we apply everything as a family: how components share a visual language.
8. Common mistakes
- Using Compact density on a touch surface because it looks more professional
- Treating the visual size of a button as its touch target — the icon is 24px, the target is 24px, the user misses
- Setting one density across the whole product regardless of which users it serves
- Using Comfortable density everywhere because "white space feels premium", then wondering why daily users complain the product is slow to use
- Not testing density on the actual device: a 44px target on desktop feels large; on a phone it feels normal; on a rugged tablet with gloves it may still be too small
9. Vocabulary
| Term | Meaning |
|---|---|
| Density | The number of elements in a given area, regulated by spacing |
| Touch target | The clickable or tappable zone of an element, independent of its visual size |
10. Try it (no tools needed)
- Open a data-heavy app on your phone — a table, a list, a grid.
- Try to tap the smallest interactive element you can find. Did you hit it on the first try?
- Estimate the visual size of that element in pixels. Then estimate the size of its tappable area (try tapping just outside the visual boundary — does it still respond?).
- Identify the density level: does the layout feel Compact, Default or Comfortable? Who is the intended user?
- Write two sentences: one describing the density choice, one describing whether the touch target feels right for the physical context.
This requires nothing but an app and an observation. The goal is to see that visual size and tappable area are different things.
11. If you already practise
- Run an accessibility audit on your current product and filter for touch target failures. You will find them. The fix is almost always adding padding, not resizing components.
- Density decisions belong in your product's visual rules document (DESIGN.md). Write the three levels, their pixel values, and which surfaces use which. Without that, density drifts in every new screen.
- For multi-platform products: define density per surface, not per platform. The same surface might appear on desktop and tablet; the density should follow the users of that surface, not the device.
- WCAG 2.2's SC 2.5.8 at Level AA means touch target size is now a testable AA requirement — not only an aspirational AAA. If your product targets WCAG 2.2 AA compliance, 24×24 CSS pixels is the floor, but 44×44 is still the practical target.
Checklist
Learn more
- Touch target requirements: WCAG 2.1 SC 2.5.5 — Target Size (Level AAA) · WCAG 2.2 SC 2.5.8 — Target Size Minimum (Level AA)
- Touch targets on iOS: Apple HIG — Buttons — 44pt minimum
- Density in product UIs: Material Design 2 — Applying density — the same three-level framing (compact, default, comfortable)
Books, courses and videos to go deeper
- Mobile FirstLuke WroblewskiBook · A Book Apart, 2011 · — the original argument for designing for the most constrained context first; touch targets are central to the argument
- Designing Mobile InterfacesSteven HooberBook · O'Reilly, 2011 · — research on how people actually hold and tap phones; the data behind the 44px convention
Related
Corners, borders and shadows with a rule · Icons: style, size and optical alignment · Visual consistency across components · Accessible components