Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply inert attribute on popovers when they're closed #1969

Merged
merged 2 commits into from
Aug 4, 2024

Conversation

sebnitu
Copy link
Owner

@sebnitu sebnitu commented Aug 4, 2024

What changed?

With the new popover styles, popover content was accessible via keyboard tabbing. This PR applies the inert attribute on popovers when they're closed preventing them from being accessible via keyboard focus.

@sebnitu sebnitu added the PR: fix label Aug 4, 2024
@sebnitu sebnitu merged commit d241a9e into next Aug 4, 2024
1 check passed
@sebnitu sebnitu deleted the next-popover-inert branch August 4, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant