---
id: "invoker-commands"
kind: "web-feature"
canonical: "https://timetostable.com/feature/invoker-commands"
baseline: "low"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Invoker commands (`invoker-commands`)

The command and commandfor attributes for the <button> HTML element dispatch an action to an element when the button is invoked (by click or keystroke), as a declarative alternative to addEventListener() calls or onclick attribute handlers.

- **Group**: other
- **Baseline**: Newly Available
- **Newly Available Date**: 2025-12-12
- **Specification**: https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-command
- **Constituent BCD keys**: 9

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 135 | 2025-04-01 |
| Chrome Android | 135 | 2025-04-01 |
| Edge | 135 | 2025-04-04 |
| Firefox | 144 | 2025-10-14 |
| Firefox for Android | 144 | 2025-10-14 |
| Safari | 26.2 | 2025-12-12 |
| Safari on iOS | 26.2 | 2025-12-12 |

