The Triptych Project includes a proposal called Button Actions, which seeks to enhance HTML by adding `action` and `method` attributes directly to the `<button>` element. This would allow buttons to initiate actions similar to form submissions, such as `<button action="/begin" method="GET">Start</button>`.
The need for Button Actions stems from the core difference between buttons and links on the web. Links are designed to represent independent destinations, giving users control over how and where they open. Buttons, conversely, are intended to trigger actions within the current browsing context.
Web browsers provide numerous features for links, such as opening in new tabs (via middle-click or control-click), hovering to preview destinations, and context menu options for copying, bookmarking, or sharing. These capabilities are built upon the semantic understanding that links point to navigable locations.
In contrast, buttons lack these browser-level affordances. They cannot be middle-clicked, control-clicked, or hovered for destination information. Their context menus do not offer options to save or re-contextualize their actions. This design is intentional, reflecting their role in executing immediate actions within the current page.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
A new proposal, Button Actions, aims to add `action` and `method` attributes to HTML buttons. This feature highlights the fundamental difference between buttons, which trigger actions within the current context, and links, which represent independently navigable destinations.