1 Why this criterion exists
Every interactive element on a screen demands a precise action from the user. When that element is small, the action becomes a test of dexterity. WCAG Success Criterion 2.5.8 Target Size (Minimum) exists because a tap or click should not require pinpoint accuracy. The criterion sets a floor: interactive targets must be at least 24 by 24 CSS pixels, or have enough spacing that a 24-pixel circle centered on the target does not overlap another target. This is not about aesthetics; it is about ensuring that people with limited motor control can reliably activate controls.
The criterion sits under the Operable principle, which requires that interface components be operable by any user, regardless of input method. A tiny close button on a mobile dialog, a row of social media icons, or a pagination control with tightly packed numbers all become barriers when they fall below the minimum. The intent is not to force every icon to be huge, but to guarantee a baseline that accommodates natural variation in human movement. Without this baseline, users must repeatedly attempt the same action, which increases frustration and can make a task impossible.
Historically, many interfaces were designed with mouse precision in mind, where a cursor can be moved slowly and deliberately. Touchscreens and alternative pointing devices do not offer that same precision. The criterion acknowledges that the input landscape has changed and that accessibility must account for the physical realities of tapping, swiping, and pointing with assistive technology.
2 Who it protects
The primary beneficiaries of Target Size (Minimum) are people with motor impairments. This includes individuals with tremors, arthritis, Parkinson's disease, muscular dystrophy, or any condition that affects fine motor control. For these users, hitting a small target can be like threading a needle while wearing gloves. The criterion also protects people with low vision who use screen magnification. When the screen is zoomed in, only a small portion of the interface is visible, and targets that were already small become even harder to locate and activate because the user must pan around to find them.
Users of alternative input devices also rely on this criterion. Head pointers, eye trackers, and switch devices often have a cursor that moves in discrete steps or with a delay. A target that is only a few pixels wide may be nearly impossible to acquire. Similarly, screen reader users on touch devices use gestures like double-tap to activate the focused element, but if targets are too close together, the screen reader may misinterpret a swipe as a tap or activate the wrong control. The spacing requirement helps ensure that gestures are reliably recognized.
Finally, the criterion benefits anyone in a situation where precision is compromised: a person using a phone one-handed while holding a child, someone wearing gloves in cold weather, or a user with a temporary injury like a broken finger. Accessibility features designed for permanent disabilities often improve usability for everyone, and target size is a clear example of that principle in action.
3 How conformance is measured
Conformance to Target Size (Minimum) is measured by evaluating the size and spacing of interactive targets. The criterion requires that each target be at least 24 by 24 CSS pixels, or that a 24-pixel diameter circle centered on the target does not intersect another target's circle. This means that even if a target is smaller than 24 pixels, it can still conform if it is sufficiently spaced from other targets. The measurement is taken in CSS pixels, which are the logical pixels used by the browser, not physical device pixels. This ensures consistency across different screen densities.
There are exceptions to the requirement. Targets that are inline within a sentence or block of text, such as links in a paragraph, are exempt because the text itself provides a larger activation area and the spacing is determined by the text flow. Targets that are controlled by the user agent, like the default styling of a checkbox or radio button, are also exempt if the user agent's default size is smaller than 24 pixels. Additionally, targets that are essential to the information being conveyed, such as a map with many points of interest, may be exempt if the size is necessary for the content's meaning. However, these exceptions are narrow and should not be used as an excuse to avoid enlarging targets.
When measuring, you must consider the full clickable area, including padding and borders. A common mistake is to measure only the visible icon, ignoring the invisible padding that may extend the target. Conversely, some designs use negative margins or overlapping elements that reduce the effective target size. The measurement must reflect what the user can actually activate, not what is visually apparent.
4 Where teams usually slip
Teams often slip on target size in a few predictable places. The most common is icon buttons in toolbars or navigation bars. Designers may use a 16-pixel icon with minimal padding to achieve a sleek look, resulting in a target that is well below 24 pixels. Another frequent issue is close buttons on modals or pop-ups. These are often small 'x' icons placed in a corner, and because they are isolated, teams assume they are easy to hit. But for a user with a tremor, even an isolated 16-pixel target can be a challenge, and the criterion requires the target itself to meet the minimum size or spacing.
Lists of links or buttons that are stacked vertically with tight line spacing also cause failures. For example, a list of tags or a set of pagination numbers may have targets that are only 20 pixels tall and 20 pixels wide, with only a few pixels between them. The spacing exception might not apply if the circles overlap. Similarly, form controls like checkboxes and radio buttons are often left at their default size, which can be smaller than 24 pixels. While user-agent-controlled targets are exempt, custom-styled controls are not, and many teams replace native controls with custom ones that are too small.
Another slip is responsive design. A target that meets the minimum on a desktop may shrink on a mobile viewport due to CSS that reduces padding or font size. Teams often test on a single device and miss these breakpoint-specific failures. Finally, teams may rely solely on automated tools, which can flag some issues but cannot evaluate spacing exceptions or measure the actual clickable area accurately. This leads to a false sense of security and missed violations.
5 Fixing it in your markup
Fixing target size issues starts with increasing the clickable area of interactive elements. The most straightforward approach is to add padding. For an icon button, you can wrap the icon in a button element and apply padding so that the total width and height reach at least 24 CSS pixels. For example, a 16-pixel icon with 4 pixels of padding on all sides yields a 24-pixel target. If the design cannot accommodate that much padding, you can use a pseudo-element to expand the hit area without affecting layout. For instance, you can add a ::before or ::after pseudo-element with absolute positioning and a minimum width and height of 24 pixels, centered on the icon. This keeps the visual size small while meeting the criterion.
When targets are close together, increasing spacing is another solution. You can add margin between items in a list or use CSS gap in flexbox or grid layouts. The goal is to ensure that a 24-pixel circle centered on each target does not intersect another. This can be achieved by setting a minimum margin of 24 pixels between the centers of adjacent targets, but the exact spacing depends on the target sizes. A simpler rule of thumb is to ensure at least 8 pixels of space between the edges of adjacent targets if both are at least 24 pixels. For smaller targets, more spacing is needed.
For custom form controls, consider using native elements whenever possible, as they come with user-agent default sizes that are often adequate. If you must build custom controls, set explicit width and height in CSS to at least 24 pixels. Also, avoid using negative margins or transforms that shrink the hit area. Finally, test your markup with a variety of input methods to ensure that the expanded hit area does not cause unintended activations or overlap with other interactive elements.
6 Testing before you ship
Testing for Target Size (Minimum) should combine automated checks with manual verification. Automated tools like axe-core, Lighthouse, or WAVE can flag elements that are smaller than 24 by 24 CSS pixels, but they cannot evaluate the spacing exception or account for user-agent-controlled targets. Therefore, you must manually inspect flagged elements and also check elements that automated tools might miss, such as those with pseudo-element hit areas. A good starting point is to use browser developer tools to inspect the computed size of interactive elements. You can select an element and view its box model to see the total width and height, including padding and borders. For pseudo-elements, you may need to inspect the pseudo-element directly or use a script to measure its bounding box.
For spacing, you can use a ruler overlay or a browser extension that draws circles around targets. Alternatively, you can temporarily apply a CSS outline to all interactive elements to visualize their hit areas and check for overlaps. When testing on touch devices, use the device's developer tools to simulate different screen sizes and orientations. Pay attention to responsive breakpoints where padding or font sizes change. Also, test with a screen reader on a touch device to ensure that gestures like double-tap and swipe are reliably recognized. If targets are too close, the screen reader may activate the wrong element.
Manual testing with a motor impairment simulation can also be helpful. You can use a tool that adds a delay or jitter to the cursor, or simply try to operate the interface with a single finger while wearing thick gloves. While not a substitute for testing with real users, these methods can reveal obvious failures. Finally, document your testing process and include target size checks in your definition of done for any new component. This ensures that the criterion is considered from the start rather than as an afterthought.
7 Frequently asked questions
What is the difference between Target Size (Minimum) and Target Size (Enhanced)? Target Size (Minimum) is a Level AA criterion requiring 24 by 24 CSS pixels, while Target Size (Enhanced) is Level AAA and requires 44 by 44 CSS pixels. The enhanced criterion is more generous and is recommended for critical controls, but it is not required for AA conformance. The minimum criterion includes a spacing exception, while the enhanced criterion does not; it requires the target itself to be at least 44 by 44 pixels.
Does the criterion apply to links within a paragraph? No, inline links in a sentence or block of text are exempt because the text itself provides a larger activation area and the spacing is determined by the text flow. However, if a link is styled as a button or is a standalone call-to-action, it is not exempt and must meet the target size requirement. The key is whether the target is inline with text or a separate interactive element.
What about targets that are smaller than 24 pixels but have a larger invisible hit area? As long as the total clickable area, including any padding or pseudo-elements, meets the 24 by 24 pixel minimum or the spacing exception, the target conforms. The measurement is based on the area that responds to user input, not just the visible graphic. This is why using pseudo-elements to expand the hit area is a valid technique.
Can I rely on automated tools to test this criterion? Automated tools can help identify potential failures, but they cannot fully evaluate the spacing exception or measure pseudo-element hit areas. They also cannot determine if a target is user-agent-controlled. Therefore, manual testing is essential to confirm conformance. Use automated tools as a first pass, then verify manually with developer tools and, where possible, with assistive technology.