Post #4191552
2026-07-28 17:01 UTC
@rye@ioc.exchange You can use button elements with dialog elements to do something similar. Wrap the image in a button that triggers the dialog with (from memory) commandfor, and that should get handled without JS.
However, in most cases you'll still need JS for accessibility purposes. It's possible that the new invoker stuff is okay at inferring relationships, but I wouldn't rely on it, so if you need to make this work for most people, JS is still required (as with most interactive patterns).
Replies (0)
No replies.