Skip to content

Fix modal focus trap to keep focus contained - #33

Open
oluwarantimini wants to merge 1 commit into
stellXpress:mainfrom
oluwarantimini:seed-14
Open

oluwarantimini wants to merge 1 commit into
stellXpress:mainfrom
oluwarantimini:seed-14

Conversation

@oluwarantimini

@oluwarantimini oluwarantimini commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Prevents Tab from moving focus into background content while a modal is open, and returns focus to the trigger on close.

Closes #32

@boluwacodes boluwacodes changed the title Seed task #14: contribution by oluwarantimini Fix modal focus trap to keep focus contained Sep 3, 2026

This branch has not been deployed

No deployments
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.

Focus escapes open modal to background content

1 participant