Skip to content

Increase touch targets to 44px minimum (#221) - #253

Merged
arisu6804 merged 2 commits into
RemitFlow:mainfrom
Hollujay:fix/221-increase-touch-targets-44px
Jul 21, 2026
Merged

Increase touch targets to 44px minimum (#221)#253
arisu6804 merged 2 commits into
RemitFlow:mainfrom
Hollujay:fix/221-increase-touch-targets-44px

Conversation

@Hollujay

@Hollujay Hollujay commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Bring all interactive elements into compliance with WCAG 2.5.5 (Target Size) by ensuring every tappable/clickable element has a minimum touch target of 44×44 CSS pixels.

Changes

CSS (19 files)

Component File Change
Button Button.css min-height: 44px
CopyButton CopyButton.css min-height: 44px
Pagination Pagination.css min-height: 44px
ErrorMessage retry ErrorMessage.css min-height: 44px
ErrorBoundary reload ErrorBoundary.css min-height: 44px
DataTable retry DataTable.css min-height: 44px
Modal close Modal.css min-width/min-height: 44px + flex centering
Sidebar toggle Sidebar.css min-height: 44px
Sidebar nav links Sidebar.css min-height: 44px
Navbar links Navbar.css display: inline-block, increased padding, min-height: 44px
Footer Status link Footer.css display: inline-block, added padding, min-height: 44px
Skip-to-content link App.css min-height: 44px
Swap currencies button SendMoney.css 40×40 → 44×44
Selection checkbox SelectionToolbar.css min-height: 44px on label; checkbox → 1.125rem
Selection link buttons SelectionToolbar.css Added padding + min-height: 44px
TextField input TextField.css min-height: 44px
CurrencySelect CurrencySelect.css min-height: 44px
LocaleSelect LocaleSelect.css min-height: 44px
PullToRefresh button PullToRefresh.css min-height: 44px

Testing

test/touch-targets.test.js — 19 automated tests that audit each component's CSS for the required min-height/min-width declarations. Follows the same static-analysis pattern as contrast.test.js.

Documentation

README.md — Added an Accessibility section documenting the WCAG 2.5.5 compliance and the associated test suite.

Verification

  • All 19 touch-target tests pass
  • All 26 contrast tests pass (unchanged)
  • npm run build completes successfully

Closes #221

Hollujay added 2 commits July 20, 2026 20:49
- Add min-height/min-width: 44px to all interactive elements
- Increase swap button from 40x40 to 44x44
- Add display: inline-flex with centering to modal close button
- Increase navbar/footer link padding for larger hit areas
- Add touch-target compliance test suite (19 tests)
- Update README with accessibility documentation
@arisu6804

Copy link
Copy Markdown
Contributor

LGTM — clean and focused, thanks! 🚀

@arisu6804
arisu6804 merged commit c131bc9 into RemitFlow:main Jul 21, 2026
1 check passed
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.

Increase touch targets to 44px minimum

2 participants