Web development
fromMeyerweb
3 weeks agoTargeting by Reference in the Shadow DOM
ShadowRoot.referenceTarget lets shadowed components expose internal elements as reference targets so attributes like for, popoverTarget, and ARIA can correctly target them.