Skip to content

#24 fix(a11y,Sidebar): focus not trapped on mobile open, Escape key does not close drawer, nav missing aria-label - #137

Merged
k-deejah merged 9 commits into
Sorokit:mainfrom
Olamidepy:fix/sidebar-a11y
Jun 26, 2026
Merged

#24 fix(a11y,Sidebar): focus not trapped on mobile open, Escape key does not close drawer, nav missing aria-label#137
k-deejah merged 9 commits into
Sorokit:mainfrom
Olamidepy:fix/sidebar-a11y

Conversation

@Olamidepy

@Olamidepy Olamidepy commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Closes #24


Focus Trapping on Mobile: When the sidebar transitions to open on mobile screens (< 1024px), keyboard focus is automatically shifted to the first navigation item (Wallet). Tab navigation is now locked inside the sidebar, wrapping correctly between the first and last elements.
Escape Key Support & Focus Restoration: Pressing the Escape key now closes the sidebar drawer. Focus is automatically restored to the element that triggered the menu (the toggle button), preventing keyboard navigation from being lost.
Landmark Context: Added aria-label="Main navigation" to the

element inside

Sidebar.tsx
so screen readers can uniquely identify the sidebar navigation area.

@drips-wave

drips-wave Bot commented Jun 25, 2026

Copy link
Copy Markdown

@Olamidepy Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

… mock configuration, and Radix Slot children requirements
…types/qrcode, and annotate error parameter in QRCode.tsx
@Olamidepy

Copy link
Copy Markdown
Contributor Author

@k-deejah Kindly merge

@k-deejah
k-deejah merged commit 476bac4 into Sorokit:main Jun 26, 2026
4 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.

fix(a11y,Sidebar): focus not trapped on mobile open, Escape key does not close drawer, nav missing aria-label

2 participants