ACT-001a Start an action button with a verb that names the action
- Level
- Rule
- Verdict
- Unanimous (3 of 3)
- Area
- Actions
- Status
- decided, version 1.0.3
Rule
Start the label of every button that performs, confirms or commits an action with a verb naming that action. Add the object unless the verb and its context say what it acts on; where the verb repeats or space is tight, it may go in the accessible name instead (ACT-001b). Never use OK, Yes, No, Submit or a noun alone.
Examples
Live examples built with Justified's components. Try them with the mouse, the keyboard or a screen reader.
Do: The button names the booking
Book a dentist appointment on Tuesday 16 March at 9:30?
Don't: Yes and No
Book a dentist appointment on Tuesday 16 March at 9:30?
Why
A button is a promise about what happens next. When its text names the action, the person can decide from the button alone, without reading the question again and working out what "Yes" would mean. People who move fast, people who read a second language and people who jump between buttons with a screen reader all depend on that. A verb up front says it is something you do. The object says what it is done to, which matters when the same screen holds several actions. Clear labels help meet WCAG 2.2, 2.4.6 Headings and Labels. That criterion asks that labels describe their purpose. It does not ask for a verb or rule out any word, so the verb-first form is our own choice. What the button's accessible name must contain is covered by ACT-001b.
Do
- A dialog titled "Book a dentist appointment?" has Cancel and Book appointment.
- A report page has Export report next to Print summary. Each says what it does and to what.
- The context is what the verb is read with: the dialog title, a nearby heading, or the row, card or toolbar the button sits in. When that does not say what the verb acts on, add the object.
- A dialog titled "Invite people to the Spring Fair project" has a field for an email address and the button Invite. The title gives the object, so the verb is enough.
- A settings page has Publish changes at the bottom, not Submit.
- Where the same short verb repeats on a page, such as Archive on each row of a list, keep the visible word and add the row's name to the accessible name, as ACT-001b describes: "Archive Invoice 1042".
- A toggle on a project page names what pressing it will do now: Follow project while the person does not follow it, Unfollow project while they do.
- Keep the verb on a destructive button that DLG-003 and DLG-005 already ask for, and keep the same verb in the dialog's title.
Don't
- Ask "Do you want to book this time?" with Yes and No.
- Close a form for a new invoice with Submit or OK when Create invoice would say what happens.
- Put a noun alone on an action, such as Report for a button that exports the report, or Settings for one that applies new settings.
- Use a vague verb such as Manage where Connect bank account says what will happen.
- Label the confirming button of a dialog Confirm, or put Continue on a button that commits something, such as placing an order. Name the action, as DLG-003 does: Place order.
Exceptions
- Cancel. Cancel stays the word for backing out, as FRM-003 and DLG-003 require.
- Fixed single verbs. Close, Done, Next, Continue, Back and Undo need no object when the context gives it, such as Next on a step of a form (see ACT-004) or Undo in the message after an action (see DST-001a). Prefer a more specific label where it fits. These words never replace the verb on a button that saves, sends, creates or removes something. Done and Close only end a flow whose work is already kept, or close a view where nothing new is committed. Close is never the way out when input is thrown away; that is Cancel, as FRM-003 says.
- A message that asks nothing. The lone button of a message that only informs may read OK or, better, Done. A failure the person can act on is not such a message; FBK-002 covers it.
- Date and time pickers. The button that confirms the chosen date or time in a picker may read OK.
- Links that look like buttons. A link styled as a button, such as
Button asChildaround aLink, names where it goes, as TXT-003 asks, and needs no verb (ACT-009a).
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 | Supports | 2.4.6 Headings and Labels |
| Material Design | Judge | Supports | Buttons: guidelines Dialogs: guidelines |
| Apple Human Interface Guidelines | Judge | Supports | Alerts Buttons Writing |
| Carbon Design System | Judge | Supports | Button: usage Modal: usage Common actions |
| GOV.UK Design System | Expert witness | Supports | Button Question pages |
| Nielsen Norman Group | Expert witness | Supports | UI Copy: UX Guidelines for Command Names and Keyboard Shortcuts, by Anna Kaley OK-Cancel or Cancel-OK? The Trouble With Buttons, by Jakob Nielsen Confirmation Dialogs Can Prevent User Errors, 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, : A link styled as a button names where it goes and points to TXT-003 and ACT-009a.
- Version 1.0.2, : Shorter rule sentence; the detail moved to Do. No change in what the rule asks.
- 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.