The WCAG target size rule, 2.5.8 Target Size (Minimum), says anything you click or tap needs a clickable area measuring 24 CSS pixels or more in both width and height, or be spaced so that a 24 pixel circle centered on it does not overlap another target or that target's circle. It is level AA and new in WCAG 2.2. The stricter AAA rule, 2.5.5, asks for 44 by 44 CSS pixels.
A target is the area that reacts to a click or tap. It can be bigger than the icon you see, which is the key to most fixes.
Quick facts
Level
AA (2.5.8); AAA for the 44 px version (2.5.5)Added in
WCAG 2.2 for 2.5.8; WCAG 2.1 for 2.5.5Minimum size
24 by 24 CSS pxOr
Enough spacing: 24 px circles centered on small targets do not overlap other targets or circlesExceptions
Inline links in text, an equivalent larger control, browser default controls, essential sizesHelps
People with tremors or limited dexterity, touch screen users, older users
WCAG target size: what 2.5.8 requires
Every pointer target, meaning anything you activate with a mouse, a finger or a stylus, needs a clickable area of at least 24 by 24 CSS pixels. The size counts the whole active area, including padding, not just the visible icon. A 16 pixel icon inside a button with 4 pixels of padding on each side is a 24 pixel target and passes.
If a target is smaller, it can still pass through spacing. That is the most misunderstood part of the rule, so it gets its own section below. The rule sits under the Operable principle and is one of the nine additions in WCAG 2.2.
CSS pixels are the units in your stylesheet. On a phone with a dense screen, one CSS pixel may be two or three physical pixels, but the rule always counts CSS pixels.
The spacing exception, explained with circles
Picture a circle 24 pixels across, centered on the middle of a small target. Do the same for every other small target nearby. The small target passes if its circle does not touch any other target, and does not touch the circle of another small target.
A practical shortcut: two small targets side by side pass if their centers are at least 24 pixels apart and nothing else clickable sits within 12 pixels of either center. For example, two 16 by 16 pixel icons with 10 pixels of space between them have centers 26 pixels apart, so their circles stay clear of each other. The same icons with only 4 pixels of space fail.
Large targets do not get a circle; they only need to stay out of the circles drawn around small targets.
Other exceptions
- Inline: a link inside a sentence, or a target whose size is set by the line height of the text around it. You do not have to make every word link 24 pixels tall.
- Equivalent: the same function is available from another control on the same page that does meet the size.
- User agent control: the size comes from the browser and you have not changed it, such as an unstyled checkbox.
- Essential: a specific size is essential to the information, or required by law, such as pins on a map where position is the point.
AA versus AAA: 24 or 44 pixels
| 2.5.8 Target size (minimum) | 2.5.5 Target size (enhanced) | |
|---|---|---|
| Level | AA | AAA |
| Added in | WCAG 2.2 | WCAG 2.1 |
| Size | 24 by 24 CSS px | 44 by 44 CSS px |
| Spacing can substitute | Yes | No |
| Usually required by law or contract | When a contract names version 2.2 at AA | Rarely |
Many design systems aim for 44 pixels on touch screens anyway, because fingers are wide. Treat 24 pixels as the floor, not the goal. See WCAG for mobile apps for touch design in native apps.
Measure targets in the browser
- Right click a small control and choose Inspect.
- Hover the element in the developer tools. The page highlights its box and shows the width and height, including padding.
- If either number is below 24, measure the distance to the nearest other targets, center to center.
- Check the exceptions before marking a failure: is it a link inside a sentence, an untouched browser control, or is there a larger control that does the same thing?
- Repeat on a narrow screen. Layouts often squeeze targets closer together on phones.
Some browser extension checkers can flag small targets, but they often miss the spacing exception or the equivalent control case, so confirm by hand. Our page on accessibility testing covers how to combine automated and manual checks.
Small targets we flag most often
| Control | Typical size | Fix |
|---|---|---|
| Carousel dots | 10 by 10 px with 4 px gaps | Make each dot button 24 by 24 px; the visible dot can stay small |
| Close button on a dialog or banner | 16 by 16 px icon with no padding | Add padding to reach at least 24 px |
| Social sharing icons in a tight row | 18 px icons touching each other | Increase spacing or size |
| Pagination numbers | Narrow links for single digits | Set a minimum width and height on each link |
| Star rating input | Small stars packed together | Larger stars, or a select menu as an equivalent |
| Clear button inside a search field | 12 px cross | Pad the button to 24 px |
CSS to grow a target without changing the look
Fails: 10 pixel dots with 4 pixels between them.
.dots button { width: 10px; height: 10px; margin: 0 2px; }Passes: the button is 24 by 24, and the visible dot is drawn inside it.
.dots button { width: 24px; height: 24px; padding: 0;
display: grid; place-items: center; background: none; }
.dots button::before { content: ""; width: 10px; height: 10px;
border-radius: 50%; background: #595959; }The same idea works for any icon: keep the icon its current size and enlarge the button around it with padding or min-width and min-height.
Questions people ask
What is the WCAG 2.5.8 target size?
At least 24 by 24 CSS pixels for each pointer target, or enough spacing so that 24 pixel circles centered on small targets do not overlap other targets or each other. It is level AA in WCAG 2.2.
Is target size in WCAG 2.2 the same as the 44 pixel rule?
No. The 44 by 44 pixel rule is 2.5.5 at level AAA, added in WCAG 2.1. The AA rule added in 2.2 is 2.5.8, with a 24 pixel minimum and a spacing option.
Do links in a paragraph need to be 24 pixels tall?
No. Links inside a sentence are exempt, because their size is set by the line of text. Stand alone links in menus and lists are not exempt.
Does the visible icon have to be 24 pixels?
No. The rule measures the clickable area, so a smaller icon inside a larger button with padding passes. That lets you keep the design while making the control easier to hit.
Does 2.5.8 apply to mobile apps?
WCAG targets web content, yet app teams widely use the same idea. Platform guidelines for touch screens usually recommend targets larger than 24 points or pixels.