Post

Two cool improvements are coming to <dialog> soon ™️. - button command/commandfor attributes to open dialogs without JS. - closedby attribute to enable light dismiss or disable close on esc (etc)

I believe @keithamus.social recently landed the spec change for dialogs to get a toggle event, matching popovers and details elements. That event would be fired when the command button is activated.

0 reposts2 likes