Post #4176083
2026-07-28 14:53 UTC
Replies (3)
-
@bouncinglime@spanner.works 2026-07-28 15:42
@rye@ioc.exchange I would also like to subscribe to this recommendation thread
-
@theadhocracy@indieweb.social 2026-07-28 17:01
@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).
-
@fullywoolly@mastodon.social 2026-07-28 17:02
@rye@ioc.exchange https://github.com/novaGallery/novagallery in php and creates pages from images in a directory ... Didn't look into js piece. On mobile so hard to see page source.