How does the semantic html community feel about using the <details> element to “expand” into a form submission confirmation, when submitting “dangerous” operations, instead of a <dialog>? Notably, the thing I’m working on is currently fully JS-optional so far, and I would like to keep it that way.

EDIT: Oh it looks like <button> has command and commandfor, which can open a <dialog> now.

EDIT2: oops, but it's not baseline yet, and won't be for a while. It just released in preview for Safari and Firefox. ~sigh~

0

If you have a fediverse account, you can quote this note from your own instance. Search https://toot.cat/users/zkat/statuses/115429926326450265 on your instance and quote it. (Note that quoting is not supported in Mastodon.)