Maurice Downes specialises in large-scale website design using modern approaches. He has a particular passion for designing UX components and optimising website performance.
This article illustrates the process of locating all focusable elements, even if they are within nested Shadow DOM. Additionally, it provides guidance on filtering specifically for elements that are both focusable and visible.
Custom elements offer many advantages, but they have a significant downside: versioning. Since custom elements are defined globally, if multiple micro frontends […]
Using named anchors to navigate to specific sections of a page is a simple concept, but it can become more complicated when dealing with shadow DOM. Fortunately, this article presents a solution to this problem.
Shadow DOM events behave differently to traditional events. Under normal circumstances, when an event is captured the e.target will contain a reference […]