A target area is the region that activates an interactive component when clicked, tapped, or selected by eye-tracker dwelling. It may be larger than the visible icon or text, so users need not aim with pixel-perfect precision. section 5.5.2
Make targets easier to activate:
- Aim for at least 44 × 44 CSS px; WCAG 2.2 sets minimums of 24 × 24 CSS px at Level AA and 44 × 44 CSS px at Level AAA. section 5.5.2
- Keep nearby target areas at least 44 × 44 CSS px without overlap, and separate them. Larger targets and spacing can improve ease and confidence. section 5.5.2
.pagination ul { #A
gap: 8px; #B
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
align-items: center;
}
.pagination a { #C
min-width: 50px; #D
min-height: 50px; #E
padding-inline: 1rem; #F
padding-block: 0.625rem; #G
font-size: 1rem; #H
line-height: 1.2;
border: 1px solid var(--control-border);
border-radius: 0.375rem;
text-decoration: none;
font-weight: 700;
display: inline-flex;
align-items: center;
justify-content: center;
}
This pagination example uses 50 px minimum link dimensions and an 8 px gap to create larger, separated targets. section 5.5.2
