# Target Size in WCAG 2.2: The 24 Pixel Rule Your Theme Probably Fails in the Header

Source: https://storefrontaccess.com/blog/2026-11-16-target-size-24px-wcag-22-storefront.html

Reviewed November 16, 2026


WCAG 2.2 Success Criterion 2.5.8, Target Size Minimum, Level AA, requires pointer targets to be at least 24 by 24 CSS pixels, unless an exception applies: spacing, an equivalent larger control, inline text links, browser controlled targets, or an essential size. The stricter 44 by 44 pixel rule is Level AAA, Criterion 2.5.5. Most storefront failures are not product buttons, they are the small stuff: header icons, quantity plus and minus, swatch dots, and pagination numbers.

## The rule, with its exceptions stated properly

The W3C published WCAG 2.2 as a Recommendation in October 2023, and 2.5.8 is one of its new Level AA criteria. The unit is CSS pixels, the size in your stylesheet, not physical screen pixels, so the rule means the same on a high density phone and a desktop monitor. A target smaller than 24 pixels can still pass under the spacing exception if a 24 pixel circle centered on it does not intersect another target, which is why a row of tiny icons with generous gaps may pass while larger but crowded icons fail.

The exceptions matter because they stop pointless redesigns. Inline links inside a paragraph are excepted, their size is set by the text. Browser controls you did not restyle are excepted. A target with an equivalent larger control on the same page is excepted. What is not excepted is a small target that is small because the theme designer liked how it looked. Aesthetics is not on the W3C list.

Know which standard your obligation references before you panic or relax. United States Title II rules cite WCAG 2.1 AA, which has no target size criterion, and many private sector settlements reference 2.1 as well. Teams still build to 2.2 because it is the current standard, because European rules point forward, and because small targets are a real usability problem for users with tremor or limited dexterity regardless of which version a court names.

## Where storefronts actually fail it

Walk a typical theme with a ruler. The search, account, and cart icons in the header are often drawn at 20 to 22 pixels with tight padding, so the clickable area is the icon itself and nothing more. Quantity steppers on product and cart pages use plus and minus controls that can be 16 pixels tall. Color swatches are frequently 20 pixel circles packed edge to edge, failing both size and spacing. Pagination, facet remove buttons, and the little x on a cart line item round out the usual list.

The add to cart and checkout buttons almost always pass, because they are big by design. That is why a homepage spot check misses this criterion entirely. The failures live in the controls a user with a motor disability needs repeatedly: changing a quantity, removing an item, clearing a filter, closing a drawer. Small targets on occasional controls are an annoyance. Small targets on the path to checkout are a barrier with a revenue address.

Measure the clickable area, not the artwork. Padding counts toward the target if it is part of the link or button element. An 18 pixel icon inside a button with 6 pixels of padding all around is a 30 pixel target and passes. The same icon as a bare link is an 18 pixel target and fails. Many fixes are therefore padding fixes in CSS, not redesigns, which is the good news buried in this criterion.

## Fixing it in a theme, in the right order

Start with an inventory: header icons, quantity steppers, swatches, pagination, facet controls, drawer close buttons, and footer social icons. Measure each in the browser developer tools by selecting the element and reading its rendered size. Fix by expanding the hit area first, min height and min width of 24 pixels on the control with the icon centered, and where a control must stay visually small, increase the spacing around it and document the spacing exception you are relying on.

Aim higher for the primary touch controls if you are touching the CSS anyway. The 44 pixel AAA size, and the 44 to 48 pixel guidance in the Apple and Material design systems, exists because fingers are not cursors. You do not need 44 everywhere to meet AA, but quantity steppers and cart controls used on phones earn the larger size on usability grounds alone, and the CSS change is the same size of change.

Retest on a real phone with your thumb, not only in a desktop emulator. If you miss the minus button and hit the plus, or clear a filter when you meant to open it, the measurement on paper was not the experience in the hand. Target size is one of the few criteria where the human test is faster than the tooling, because automated checkers still measure this criterion unreliably and a thumb does not lie.

## Related reading

Related reading on this site: [Focus Indicators in Dawn: The CSS That Disappears After a Theme Update](https://storefrontaccess.com/blog/2026-11-15-focus-indicator-css-dawn-theme-update.md), [Contrast Checkers Compared: The 4.5 to 1 Workflow That Catches Real Failures](https://storefrontaccess.com/blog/2026-11-15-contrast-checker-4-5-to-1-workflow.md).

## Frequently asked questions

### What is the minimum target size in WCAG 2.2?

At Level AA, Success Criterion 2.5.8 requires pointer targets of at least 24 by 24 CSS pixels, unless an exception applies such as spacing, an equivalent larger control, or an inline text link. The 44 by 44 pixel size is the Level AAA criterion, 2.5.5.

### Does padding count toward target size?

Yes, if the padding is part of the clickable element. An 18 pixel icon inside a button with padding that brings the button to 30 pixels is a 30 pixel target. The same icon as a bare link with no padding is an 18 pixel target and fails the minimum.

### Which store controls fail target size most often?

Header icons, quantity plus and minus steppers, color swatches, pagination numbers, filter remove buttons, and drawer close buttons. Main add to cart and checkout buttons are usually large enough. The failures cluster on small repeated controls along the path to checkout.

### Do I have to build to 44 pixels to comply?

No. Forty four by 44 is Level AAA and a good goal for primary touch controls, matching Apple and Material guidance. Level AA compliance requires 24 by 24 or a valid exception. Many stores fix AA with padding and spacing, then size key phone controls larger anyway.
