Skip to content
Pandus

WCAG A/AA requirement Priority: Moderate

Buttons and links are too small to tap easily

Some buttons or links are smaller than 24 by 24 pixels and too close to their neighbours.

This text was translated automatically and has not been reviewed by a native speaker yet.

Why it matters to your customers

Shoppers on phones, and people with tremor or limited hand control, tap the wrong colour, size or quantity button. This leads to wrong orders and frustration.

Who is affected

  • mobile shoppers
  • people with motor disabilities
  • older customers
  • people using one hand

How to fix it

Make interactive targets at least 24×24 CSS pixels, or leave enough space so a 24px circle centred on each small target does not touch another target. Check swatches, quantity buttons, close icons and pagination. Links inside sentences are exempt.

On Shopify

Usually variant swatches, quantity buttons or icons in the theme. Increase sizes or padding in the theme's CSS; check app widgets too.

On Shoptet (CZ)

Usually swatches or icons in the template. Increase size or padding through custom CSS code.

On PrestaShop

Usually attribute swatches, quantity buttons or icons in the theme. Increase size or padding in the theme's custom CSS.

On WooCommerce

Usually variation swatches, quantity inputs or icons from the theme or plugins. Increase size or padding in child-theme CSS.

Fix it with AI

Copy this prompt into ChatGPT, Claude or Copilot and add the HTML of the element. Check the answer before you publish it.

You are an experienced web developer and accessibility specialist. Fix this accessibility problem on my website so that it meets WCAG 2.2 level AA.

Website: [https://…]

## Problem: Buttons and links are too small to tap easily
WCAG 2.2 2.5.8 (AA)

Some buttons or links are smaller than 24 by 24 pixels and too close to their neighbours.

**How to fix:** Make interactive targets at least 24×24 CSS pixels, or leave enough space so a 24px circle centred on each small target does not touch another target. Check swatches, quantity buttons, close icons and pagination. Links inside sentences are exempt.

## Elements found by the automated check
[Paste the HTML of the element here, or the selector from the Pandus report]

## Requirements
- Change only what is needed; keep the design and how the site works.
- Do not add accessibility overlays or widgets; fix the code or the content.
- Show the corrected code and say in which template or file it goes.
- Explain how to check the fix with the keyboard and a screen reader.

Standards

Standards
StandardClause
WCAG 2.2 2.5.8 (AA) Target Size (Minimum)
EN 301 549 4.1.1 9.2.5.8

Automated check: axe-core rule target-size. dequeuniversity.com, github.com, www.w3.org, www.etsi.org

WCAG success criterion

Guides and tools

Help articles

All rules we check