Skip to content

[6.x] Increase the hit area of the breadcrumb options button - #15417

Merged
jackmcdade merged 1 commit into
statamic:6.xfrom
lazerg:fix/issue-15416-breadcrumb-options-target-size
Sep 8, 2026
Merged

[6.x] Increase the hit area of the breadcrumb options button#15417
jackmcdade merged 1 commit into
statamic:6.xfrom
lazerg:fix/issue-15416-breadcrumb-options-target-size

Conversation

@lazerg

@lazerg lazerg commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

This pull request fixes an issue where the "Options for …" buttons render at 16x32 pixels, which is under the 24x24 minimum in WCAG 2.2 SC 2.5.8. They also sit flush against the breadcrumb link beside them, so they don't get the spacing exception either. The issue describes them as sidebar buttons, but that label only exists on the global header breadcrumb dropdown triggers and nowhere else.

The button's width was pinned to w-4, which left 2px around the 12px chevron icon.

This PR widens it to w-6 and absorbs the extra 4px on each side by bumping the negative left margin and dropping the right one, so the icon stays put and the breadcrumb layout doesn't shift.

The date picker segment mentioned at the end of the issue is a reka-ui field segment rather than a button, so I've left that one for a separate PR.

Fixes #15416

@lazerg lazerg changed the title [6.x] Increase the breadcrumb options button's hit area [6.x] Increase the hit area of the breadcrumb options button Sep 7, 2026
@jackmcdade
jackmcdade merged commit a2a0157 into statamic:6.x Sep 8, 2026
63 checks passed
@jackmcdade

Copy link
Copy Markdown
Member

Thanks!

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.

[6.x] Sidebar "Options for…" buttons are 16x32, below the 24x24 target size minimum

2 participants