Skip to content

Conversation

@Mr-KRAMA
Copy link
Contributor

@Mr-KRAMA Mr-KRAMA commented Dec 1, 2025

Fixes #32265

FocusTrap wasn't picking up elements inside Shadow DOM, so trapping didn’t work with custom elements.

Added Shadow DOM traversal for first/last tabbable checks and added tests.
Everything passes and works fine. No breaking changes.

@Mr-KRAMA Mr-KRAMA requested a review from a team as a code owner December 1, 2025 15:02
@Mr-KRAMA Mr-KRAMA requested review from adolgachev and tjshiu and removed request for a team December 1, 2025 15:02
@Mr-KRAMA Mr-KRAMA closed this Dec 1, 2025
@Mr-KRAMA Mr-KRAMA deleted the fix/focus-trap-shadow-dom-support branch December 1, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(a11y): FocusTrap doesn't match browser/spec tab order in relation to Shadow DOM

1 participant