Skip to content

fix(a11y): scenario-picker tabs + plain-language checkbox under 44px on mobile - #63

Merged
5uper0 merged 1 commit into
mainfrom
flip/mobile-touch-targets
Aug 22, 2026
Merged

fix(a11y): scenario-picker tabs + plain-language checkbox under 44px on mobile#63
5uper0 merged 1 commit into
mainfrom
flip/mobile-touch-targets

Conversation

@5uper0

@5uper0 5uper0 commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to #62's touch-target sweep. A real 390px-viewport check (qa-preview.html against the live site, since a resized browser window doesn't fire mobile media queries in this tool) found 2 more elements under 44×44:

  • The 7 scenario-picker tabs (.seg b, wraps to 3 rows at 390px) at 34px.
  • The "plain language" checkbox label at ~20px.

Test plan

  • 107 tests green
  • Both re-measured at exactly 44px after the fix
  • Desktop single-row tab layout unaffected (only vertical padding changed)
  • scripts/flip-audit.sh passed

🤖 Generated with Claude Code

https://claude.ai/code/session_016hYVVizgvJ4wZBug9XTjVG

…on mobile

Continuing the touch-target sweep from the previous commit: a real
390px-viewport check (qa-preview.html against the live site — a resized
window doesn't fire mobile media queries in this browser tool) found the
7 scenario tabs (.seg b, wraps to 3 rows at this width) at 34px and the
"plain language" checkbox label at ~20px, both under the 44x44 minimum.
Bumped .seg b's vertical padding and gave .plainck a negative-margin
padding expansion (same technique already used on Header.astro's logo)
so the hit area grows without shifting layout. Both now measure 44px.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016hYVVizgvJ4wZBug9XTjVG
(cherry picked from commit ddf7c05600f4714b09f0d72fbb771029d9e998a4)
@5uper0
5uper0 merged commit 1122c73 into main Aug 22, 2026
6 checks passed
@5uper0
5uper0 deleted the flip/mobile-touch-targets branch August 22, 2026 00:59
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