Post #2534489
2026-05-11 15:19 UTC
A div is not a button. Yes, I agree. In fact, what my team has learned is that even if you go thru allllll the effort to make a custom-element (a spicy div) exactly like a button there’s still out-of-the-box browser behaviors that are impossible to replicate and they also keep evolving (popover/invokers). This API fixes that gap, updates with the browser, and should fix some of referencetarget-like issues (eg proxy attributes).
https://mas.to/@patrickbrosset/116556512460138797
Replies (0)
No replies.