Targets & focus · SU-61 · SU-63 · SU-70
Icon buttons you can hit and keyboard through
Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes. Choose Good, then press Tab to move through the toolbar and see the focus ring.
-
Hit area
24×24px -
Focus
outline: none
-
Hit area
44×44px · icon 24px -
Focus
2px ring · 2px offset
Dashed outline: the area that responds to a tap
Dashed outline: the area that responds to a tap
-
Spacing
0–2px between
-
Spacing
8px between
What changes
- Bad
- Each hit area is the
24×24icon itself,0–2pxfrom its neighbours, andoutline: noneleaves keyboard focus invisible. - Good
- The icons stay
24pxinside44×44hit areas8pxapart, and keyboard focus draws a2pxring at a2pxoffset.
The rules
-
SU-61
Icon targets.
44pxminimum ·48pxcomfortable ·52–56pxroomy. The icons stay24px. Not: a24×24hit area, the same as the icon. -
SU-63
Target spacing. ≥
8pxminimum ·12pxcomfortable ·16pxroomy ·20pxspacious (it needs a wider row). Not:48pxbuttons touching with a0pxgap. -
SU-70
Focus visibility. A focus ring at least
2pxwide with a visible offset.