Skip to content

fix: improve RecentTips tip-back modal accessibility and focus trap#270

Merged
Mosas2000 merged 31 commits intomainfrom
fix/recenttips-modal-a11y-focus-trap
Mar 15, 2026
Merged

fix: improve RecentTips tip-back modal accessibility and focus trap#270
Mosas2000 merged 31 commits intomainfrom
fix/recenttips-modal-a11y-focus-trap

Conversation

@Mosas2000
Copy link
Copy Markdown
Owner

Summary

  • implement full dialog keyboard behavior for RecentTips tip-back modal
  • trap Tab/Shift+Tab focus inside modal and close on Escape
  • move focus into the modal on open and restore previous focus on close
  • close modal on backdrop click while preventing inner click propagation
  • add modal accessibility integration tests and changelog entry

Testing

  • cd frontend && npm run test -- RecentTips.modal-a11y.test.jsx

Notes

@Mosas2000 Mosas2000 merged commit 0246932 into main Mar 15, 2026
4 of 8 checks 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.

RecentTips tip-back modal lacks dialog semantics and focus trap

1 participant