ACT-002a Give at most one button in a group the most emphasised style
- Level
- Rule
- Verdict
- Unanimous (3 of 3)
- Area
- Actions
- Status
- decided, version 1.0.3
Rule
Among the buttons shown together for one task or decision, such as the action row of a form, dialog, sheet or card, give at most one the most emphasised style, for the action most people want there, and give every other button a less emphasised style; a group may have no emphasised button at all.
Examples
Live examples built with Justified's components. Try them with the mouse, the keyboard or a screen reader.
Do: One filled button in the row
Don't: Two filled buttons side by side
Why
A filled button tells the eye where to go first. When two buttons in the same row are both filled, that signal cancels out, and the person has to read every label and weigh them before they can act. One strong button and quieter ones around it make the likely next step plain at a glance, while the other choices stay easy to find. This rule is about how buttons look. It does not decide which button has focus or what Enter does; for destructive confirmations DLG-004 decides that. No WCAG criterion asks for one emphasised button, so this rule is our choice.
Do
- A form Book an appointment ends with Book appointment in
variant="default"and Cancel invariant="outline". - A dialog Rename folder has Save name in
variant="default"and Cancel invariant="ghost". - A card Monthly report, October has Open report in
variant="secondary"and Download PDF invariant="ghost". Neither uses the most emphasised style. - A confirmation "Delete the project Autumn 2026?" has Delete project in
variant="destructive"and Cancel invariant="outline". The red button is that dialog's one emphasised button, as DLG-005 says. - A form Edit contact has Save contact in
variant="default". Delete contact sits in the same row invariant="outline", with a label that names what it removes. Pressing it removes the contact at once and offers Undo, with no question, as DST-001a says. - A sheet asks "Which copy do you want to keep?" with Keep the new one and Keep the old one. Neither is clearly the main choice, so both use
variant="outline".
Don't
- Put Save contact in
variant="default"and Delete contact invariant="destructive"side by side. Justified'sButtonhas no quieter danger variant, so pick a less emphasised style for the delete action or move it out of the group. - Fill Cancel as well as Delete project in a confirmation, or fill Cancel instead, to steer people away from deleting.
- Force a filled button onto a group where no action is clearly the main one.
- End the form Book an appointment with both Book appointment and Book and pay now in
variant="default".
Exceptions
- No clear main action. A group may have no emphasised button. This rule sets a limit, never a minimum.
- Focus and Enter. Which button takes focus first and what Enter does are outside this rule. DLG-004 covers destructive confirmations, and FRM-015 what Enter does in a form.
- The whole page. How many primary buttons a page may hold is covered by ACT-002b. That rule is the stricter one: a page that follows it also follows this rule, except in the product's top bar. They are two rules because their verdicts differ.
Verdict
Unanimous (3 of 3). Only the judges decide; the expert witnesses are shown but do not vote. How verdicts work
| Source | Role | Stance | Page |
|---|---|---|---|
| WCAG 2.2 | Law | – No criterion applies | |
| Material Design | Judge | Supports | Buttons: guidelines Dialogs: guidelines |
| Apple Human Interface Guidelines | Judge | Supports | Buttons Alerts Sheets |
| Carbon Design System | Judge | Supports | Button: usage Dialogs Modal: usage Forms Common actions |
| GOV.UK Design System | Expert witness | Supports | Button |
| Nielsen Norman Group | Expert witness | Supports | OK-Cancel or Cancel-OK? The Trouble With Buttons, by Jakob Nielsen |
Each stance links to the page it rests on, read on the date in the source register. This page never repeats what a source says; read the source itself.
History
- Version 1.0.3, : Points to FRM-015 for what Enter does in a form.
- Version 1.0.2, : Says how this rule relates to ACT-002b.
- Version 1.0.1, : Examples in English.
- Version 1.0.0, : First version.
Last checked against the other rules for conflicts on .
More in Actions: 11 rules and 4 guidelines · All rules
Justified is an independent project. It is not affiliated with, sponsored or endorsed by the organisations whose guidance it cites. Read the full statement.
Apple is a trademark of Apple Inc., registered in the U.S. and other countries and regions.