Skip to content

fix(platform): grow editor Save/Discard hit area to 44px (#1980) - #2833

Merged
Israeltheminer merged 1 commit into
mainfrom
fix/editor-actions-touch-target
Jul 22, 2026
Merged

Israeltheminer merged 1 commit into
mainfrom
fix/editor-actions-touch-target

Conversation

@Israeltheminer

Copy link
Copy Markdown
Contributor

What

The block-editor Save and Discard actions presented a sub-minimum touch target. They now meet the WCAG 2.5.5 (AA) 44×44 CSS-px target size via an invisible pseudo-element overlay that enlarges the pointer/touch hit area without changing the visual button size — replacing the prior min-h-11 / min-w-11 sizing.

Scope

  • app/components/ui/editor/editor-actions.tsx + its test.
  • No behavior change beyond the enlarged hit area; visual layout unchanged.

Test

  • editor-actions.test.tsx updated and green (client/jsdom project).
  • typecheck · oxlint (type-aware) · oxfmt all clean.

The block-editor Save and Discard actions presented a sub-minimum touch
target. They now meet the WCAG 2.5.5 (AA) 44×44 CSS-px target size via an
invisible pseudo-element overlay that enlarges the pointer/touch hit area
without changing the visual button size — replacing the prior min-h-11 /
min-w-11 sizing.
@Israeltheminer
Israeltheminer merged commit e81aac3 into main Jul 22, 2026
49 of 50 checks passed
@Israeltheminer
Israeltheminer deleted the fix/editor-actions-touch-target branch July 22, 2026 11:05
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