← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Distinguishing Buttons and Links for HTML's Proposed Button Actions

🔄 Updated 1d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Button Actions proposal adds `action` and `method` attributes to HTML buttons.
  • Links represent destinations, allowing users to control opening context.
  • Buttons trigger actions within the current browsing context.
  • Browsers offer many affordances for links, but not for buttons.

Button Actions Proposal

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>`.

Fundamental Distinction: Buttons vs. Links

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.

User Affordances for Links

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.

Limited Affordances for Buttons

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 →

The daily brief

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.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 15

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

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.