Going JavaScript-free with the new Invoker Command API!
SMRTR summary
The new Invoker Command API allows web developers to control modal dialogs without JavaScript by using simple HTML attributes. This breakthrough lets buttons toggle modal elements with just a [command] and [commandform] attribute, replacing traditional JavaScript methods like .showModal() and .close(). Already supported in Chromium browsers with Firefox and Safari support coming soon, the feature is available now through an MIT-licensed polyfill included in Kelp.
SMRTR provides this summary for quick context. The original article belongs to Go Make Things.
Read the original article