# Buttons

Source: https://watership.ca/ux-writing/buttons/

*Drafted introduction, awaiting review.*

A button is what a person presses to make something happen. Its label is often the only text they read before they press it, so the label alone has to say what will happen. This section covers the label, the destructive case, and how many buttons compete for attention on one screen. A button that shows only an icon needs a name as well; [Accessible names](https://watership.ca/ux-writing/accessible-names/) covers it.

### Button labels

Rule `ux-button-verb`: avoid, judgment. Address: https://watership.ca/ux-writing/buttons/#ux-button-verb

**Label a button with the verb that says what happens.** Sentence case, no period, and no **OK**, **Yes**, or **Submit** when a specific verb exists. The label answers “what will pressing this do?” without help from the surrounding text. [Role-dependent](https://watership.ca/ux-writing/#role-dependent-checks): buttons.

- Instead of: `Submit`
- Write: `Create project`

### Destructive actions by name

Rule `ux-destructive-named`: avoid, judgment. Address: https://watership.ca/ux-writing/buttons/#ux-destructive-named

**Name a destructive action for what it does, never “Confirm.”** In a confirmation, the primary button repeats the action from the title: **Delete project**, **Remove member**, **Cancel subscription**. A person who sees **Confirm** has to go back and reread the body to know what they’re confirming. [Role-dependent](https://watership.ca/ux-writing/#role-dependent-checks): buttons, where a pattern catches the word “Confirm” on its own.

- Instead of: `Confirm`
- Write: `Delete 3 files`

### One primary action

Rule `ux-one-primary`: avoid, judgment. Address: https://watership.ca/ux-writing/buttons/#ux-one-primary

**Put one primary action on a screen, and make “Cancel” always mean nothing changes.** One button gets the primary style; everything else is secondary or a link. If two actions feel equally primary, the screen is doing two jobs. **Cancel** is never primary, and selecting it saves no data and keeps no partial result.

- Instead of: **Save** and **Publish** at the foot of the editor, both styled as primary buttons.
- Write: **Publish** as the primary button, with **Save draft** as a secondary button beside it.
