Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(a11y): focus monitor not identifying touch focus inside shadow ro…
…ot (#17167) `FocusMonitor` uses a `touchstart` listener on the `document` to identify when an element was focused via touch. The problem is that if an element is inside the shadow DOM, the `event.target` will be set to the shadow root. These changes use `composedPath` to get the event target which accounts for the shadow DOM.
- Loading branch information