<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/some-thoughts-on-primary-buttons-hksnz5joq" -->

---
title: Some thoughts on primary buttons | daily.dev
description: A primary button represents the action a user most likely wants to take, not just a stylistic class. Having multiple primary buttons on a page creates noise...
canonical: https://daily.dev/posts/some-thoughts-on-primary-buttons-hksnz5joq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Some thoughts on primary buttons | daily.dev
og:description: A primary button represents the action a user most likely wants to take, not just a stylistic class. Having multiple primary buttons on a page creates noise...
og:url: https://daily.dev/posts/some-thoughts-on-primary-buttons-hksnz5joq
og:image: https://api.daily.dev/og/posts/hkSNZ5JOq.png
og:image:alt: Some thoughts on primary buttons
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Some thoughts on primary buttons

**[Craig Abbott](https://daily.dev/sources/craigabbott)** · 2 min read · 0 upvotes · 0 comments

## Summary

A primary button represents the action a user most likely wants to take, not just a stylistic class. Having multiple primary buttons on a page creates noise and can cause mistakes; instead, designers should style secondary actions differently to establish clear visual hierarchy. Buttons and links serve distinct purposes: buttons trigger actions on data (submit, delete, save), while links navigate between pages. Styling a link to look like a button requires adding role="button" to keep it accessible to assistive technology users like voice controllers.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.craigabbott.co.uk/blog/2017/some-thoughts-on-primary-buttons>

## Questions this post answers

### What is the difference between a button and a link in web design?

Buttons trigger actions that interact with data, such as submitting a form, deleting a comment, or saving information. Links are for navigating between pages. A common mistake is styling a link to look like a button; if done intentionally, the role attribute should be changed to role="button" so assistive technology, like voice controllers, still recognizes it correctly.

_Getting button versus link semantics right keeps interfaces accessible, a distinction worth revisiting via daily.dev._

### Why shouldn't a page have more than one primary button?

Multiple primary buttons create visual noise and can slow users down or cause mistakes, since a primary button should represent the single action a user is most likely looking for, like submitting a contact form. When multiple buttons are needed, one should be styled as primary while others use a different, less prominent style to signal secondary actions.

_Developers refining button hierarchy in their UIs can find similar UX reasoning through daily.dev._

## Similar posts on daily.dev

- [The Difference Between a Button and a Link](https://daily.dev/posts/the-difference-between-a-button-and-a-link-qrk1r0zav) · Hacker News · 3 upvotes · 0 comments
- [Building Better Buttons](https://daily.dev/posts/building-better-buttons-kfg2u6xfq) · Simple Thread · 68 upvotes · 5 comments
- [I Learned The First Rule of ARIA the Hard Way](https://daily.dev/posts/i-learned-the-first-rule-of-aria-the-hard-way-bf3esumgq) · CSS-Tricks · 210 upvotes · 12 comments
- [Accordion Icons: Which Work Best?](https://daily.dev/posts/accordion-icons-which-work-best--ddgirlona) · Smashing Magazine · 0 upvotes · 1 comments
- [The Button System I Settled On](https://daily.dev/posts/the-button-system-i-settled-on-7hvtpexdl) · Medium · 0 upvotes · 0 comments

---

Tags: [#html](https://daily.dev/tags/html), [#ux](https://daily.dev/tags/ux), [#ui-design](https://daily.dev/tags/ui-design), [#accessibility](https://daily.dev/tags/accessibility)

[View this post on daily.dev](https://daily.dev/posts/some-thoughts-on-primary-buttons-hksnz5joq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Some thoughts on primary buttons","url":"https://daily.dev/posts/some-thoughts-on-primary-buttons-hksnz5joq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/some-thoughts-on-primary-buttons-hksnz5joq"},"datePublished":"2026-09-20T07:44:39.956Z","dateModified":"2026-09-20T07:49:07.316Z","description":"A primary button represents the action a user most likely wants to take, not just a stylistic class. Having multiple primary buttons on a page creates noise...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a0ffc407e6f6c1b75eadc5a3e5dc0325?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a0ffc407e6f6c1b75eadc5a3e5dc0325?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Craig Abbott","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Craig Abbott","logo":"https://media.daily.dev/image/upload/s--7L_KxzEH--/f_auto,q_auto/v1789890198/logos/craigabbott?_a=BAMAMicg0","url":"https://daily.dev/sources/craigabbott"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/some-thoughts-on-primary-buttons-hksnz5joq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"html,ux,ui-design,accessibility","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Craig Abbott","item":"https://daily.dev/sources/craigabbott"},{"@type":"ListItem","position":3,"name":"Some thoughts on primary buttons"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/some-thoughts-on-primary-buttons-hksnz5joq#faq","mainEntity":[{"@type":"Question","name":"What is the difference between a button and a link in web design?","acceptedAnswer":{"@type":"Answer","text":"Buttons trigger actions that interact with data, such as submitting a form, deleting a comment, or saving information. Links are for navigating between pages. A common mistake is styling a link to look like a button; if done intentionally, the role attribute should be changed to role=\"button\" so assistive technology, like voice controllers, still recognizes it correctly. Getting button versus link semantics right keeps interfaces accessible, a distinction worth revisiting via daily.dev."}},{"@type":"Question","name":"Why shouldn't a page have more than one primary button?","acceptedAnswer":{"@type":"Answer","text":"Multiple primary buttons create visual noise and can slow users down or cause mistakes, since a primary button should represent the single action a user is most likely looking for, like submitting a contact form. When multiple buttons are needed, one should be styled as primary while others use a different, less prominent style to signal secondary actions. Developers refining button hierarchy in their UIs can find similar UX reasoning through daily.dev."}}]}
```

