Skip to content
AtestoraRun a free scan
Menu

Standards · 3 min read

Practical Fixes for WCAG 2.2 Target Size Failures

A practical fix list for icon buttons, mobile menus, and dense tables that fail WCAG 2.2 target size minimums.

Published 5 December 2026 · Atestora editorial, reviewed by FMA Software Labs

Cover illustration for Practical Fixes for WCAG 2.2 Target Size Failures

The practical fix is to make each pointer target at least 24 by 24 CSS pixels, or provide enough spacing so a 24 CSS pixel diameter circle centered on the target does not overlap another target. WCAG 2.2 Success Criterion 2.5.8 sets that minimum, with exceptions for inline links, user agent controls, essential cases, and targets that have an equivalent control on the page. Test icon buttons, mobile menus, and table controls at narrow widths, then fix the smallest targets first.

Start with the 24 by 24 CSS pixel check

Measure the clickable box, not the visible icon. A 16 pixel glyph can sit inside a button that is 24 by 24 CSS pixels and pass, while a large looking icon can fail if its clickable area is smaller than the minimum.

Use browser inspection or a ruler overlay to check the smallest controls first. Record the page, viewport, control name, measured size, and whether a spacing or other exception may apply. That note is evidence of what was tested, not a claim that every use is compliant.

Icon buttons: enlarge the hit area, not just the icon

  • Check the button element, not the SVG or icon font glyph. Add padding, min-width, and min-height so the clickable box reaches 24 by 24 CSS pixels.
  • Keep the icon visually small if the design needs it, but put the extra size on the button so the hit area grows.
  • Give adjacent icon buttons enough separation so a 24 CSS pixel diameter circle centered on one target does not overlap another.
  • Keep labels and accessible names clear even when the icon button becomes larger. Size does not replace an accessible name.
  • Retest focus styles, hover states, and pressed states inside the new target box so the larger button still works on keyboard and touch.

Mobile menus and table controls need the same check

  • Test the menu toggle, close button, submenu arrows, and back controls at the narrowest supported width.
  • In data tables, check sort icons, filter buttons, pagination arrows, row action icons, and download controls.
  • Prefer a full cell or row action when it performs one action, but keep separate controls separate when each does something different.
  • At dense breakpoints, move secondary actions into a labelled menu instead of shrinking every target to fit.
  • Log any remaining small target and the exception you believe applies, such as spacing, inline, or essential, so the next reviewer can check it.

Make target size a release check

Add a target size pass to the normal QA checklist for every template that has icon controls, a mobile menu, or a data table. Test at the widths your clients actually use, fix the smallest targets first, and keep screenshots or measured notes with the release record.

When you want a quick starting point, Atestora can run one free scan of a client site so your team can review target size evidence alongside other findings. Use it to choose what to fix first, then retest the changed pages and keep the results with the delivery record.

Sources

Related notes

Put the note to work

Scan one page and inspect the evidence.

Atestora turns a public page into a report with findings, selectors, WCAG references, and a review trail. One free scan, no card, no call.