Skip to content

fix: widen the icon-only toolbar buttons for thumbs - #185

Merged
moul merged 1 commit into
mainfrom
fix/icon-button-tap-targets
Aug 2, 2026
Merged

fix: widen the icon-only toolbar buttons for thumbs#185
moul merged 1 commit into
mainfrom
fix/icon-button-tap-targets

Conversation

@moul

@moul moul commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Measured on an iPhone while probing the new toolbar controls:

Open: 59x38   🏠 Home: 81x38   ☆: 31x38   🔗: 34x38

Both new buttons clear the WCAG 2.2 AA minimum of 24×24, so no gate was ever going to flag them — and the axe e2e passes either way. But icon-only buttons are the hardest things on that row to hit, and they happened to be the two smallest on it.

min-width: 44px — the comfortable target size rather than the passing one. Height stays at the row's 38px so they still line up with Open and Home, and widths on this row already vary, so nothing looks out of place.

iPhone 13: hScroll=false  Open:59x38  Home:81x38  ☆:44x38  🔗:44x38
320px:     hScroll=false  Open:59x38  Home:81x38  ☆:44x38  🔗:44x38

Not a gate failure, just a thing that was worse than it needed to be.

Measured on an iPhone: Open is 59px wide, Home 81, the star 31 and the
copy-link 34. Both new ones clear the WCAG 2.2 AA minimum of 24px, so no
gate was going to say anything — but icon-only buttons are the hardest
things on that row to hit, and they were the two smallest.

min-width 44px, which is the comfortable target size rather than the
passing one. Height stays at the row's 38px so they still line up with
Open and Home; widths on this row already vary, so nothing looks out of
place.

Verified at 390px and 320px: both now 44x38, no horizontal scroll, nothing
clipped.
@moul
moul merged commit 6d3670d into main Aug 2, 2026
9 checks passed
@moul
moul deleted the fix/icon-button-tap-targets branch August 2, 2026 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant