🧩 HTML5: Fix a Dialog Element Trapping Focus Outside Its Own Content Calling showModal() on a native <dialog> sets up a browser-managed focus trap, but some browsers’ default implementation computes the tab order from the light DOM only and doesn’t descend into a nested web component’s shadow root to find focusable elements there — so […]