The HTML Invoker Commands API has achieved baseline support across all major browsers, with Safari 26.2 completing the rollout following earlier releases in Chrome 135 and Firefox 144. The feature introduces declarative button controls that eliminate the need for JavaScript when working with popovers, dialogs, and other interactive elements.
The Invoker Commands API adds two new attributes to button elements: commandfor and command. The commandfor attribute takes the ID of the element to control, whilst command specifies the action to perform. This declarative approach allows developers to create interactive components without writing event listeners or waiting for JavaScript to download and execute, improving initial page interactivity.
Built-in commands…