Fitts’ law links the time needed to reach a target accurately to its distance and size. Small or distant targets take longer to select and invite errors; larger, well-spaced controls reduce effort, especially for people using imprecise pointing such as eye tracking. section 5.5.2
Pagination controls
A pagination control with small, crowded targets can be difficult to use. The example CSS gives links a minimum width and height of 50px and spaces them by 8px. For checkboxes and radio buttons, programmatically associated labels enlarge the clickable area. 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;
}
See the CSS example for pagination links with larger minimum target dimensions and space between controls. section 5.5.2
