components icon indicating copy to clipboard operation
components copied to clipboard

fix(cdk/a11y): add Shadow DOM support to FocusTrap

Open Mr-KRAMA opened this issue 3 weeks ago • 0 comments

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 avatar Dec 01 '25 15:12 Mr-KRAMA