HTML is getting cool again: Meet the Invoker Commands API The Invoker Commands API lets developers declaratively control interactive elements like dialogs and popovers directly in HTML, reducing the need for JavaScript boilerplate. The API, now Baseline 2025 with cross-browser support since December 2025, shifts responsibility from application state to the browser, and works with frameworks like React via JSX properties. For years, frontend development has had a slightly embarrassing relationship with HTML. We all read about semantic HTML, we talk about using the right landmarks, the right attributes, accessible forms, and meaningful elements. And then we go back to writing React. While the whole industry is obsessed with AI, browsers are shipping features that make the platform even more capable. Features that let us remove JS, reduce state, and express UI behaviour in HTML. But since AI is trained in the past, these are ignored or not recommended enough through old patterns. Historically, in order to open a dialog or a popover, we need a chunk of custom boilerplate code.