components
components copied to clipboard
fix(cdk/a11y): add Shadow DOM support to FocusTrap
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.