Skip to content

Commit c39e5eb

Browse files
authored
docs: update UX writing guidelines
Updated UX writing guidance on buttons
1 parent 90a3ba9 commit c39e5eb

File tree

1 file changed

+18
-26
lines changed
  • packages/styleguide/src/lib/UX Writing/Component guidelines

1 file changed

+18
-26
lines changed

packages/styleguide/src/lib/UX Writing/Component guidelines/Buttons.mdx

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,36 +17,28 @@ export const parameters = {
1717

1818
<AboutHeader {...parameters} />
1919

20-
Buttons enable our learners to "speak" to us. They click to tell us what they want (i.e. to "Start my free trial" or to "Resume learning") and we respond with the anticipated next step.
20+
Buttons enable our learners to "speak" to us. They select buttons to tell us what they want (for example, to **Try pro for free** or to **Resume learning**), and we respond with the anticipated next step.
2121

2222
## Best practices
2323

24-
When approaching writing buttons — whether they're text buttons, fill buttons, or call-to-action buttons — here are a few things to keep in mind:
25-
26-
- **Be specific.** People should know exactly what they're getting when they click on a button. If a button leaves you questioning what will happen when you click on it, adjust the copy to make it more clear. Specificity also plays a big role in ensuring accessibility for learners navigating our content with screen readers.
27-
- **Use action-oriented language.** Start with an action-oriented verb rather than simply listing where the button will take you (i.e. Use "Take the quiz" instead of "Language quiz").
28-
- **Emphasize the value people get, rather than how they get it.** When relevant, focus on the benefit/what people are receiving instead of the way they are receiving it. For instance, instead of "Download for free" try "Get the free guide."
24+
When approaching writing buttons — whether they're text buttons, fill buttons, or call-to-action buttons — here are some things to keep in mind:
25+
26+
- **Be specific.** People should know exactly what they're getting or what happens next when they select a button. If a button leaves you unsure, adjust the copy to make it more clear. Specificity also plays a big role in ensuring accessibility for learners navigating our content with screen readers.
27+
- **Use action-oriented language.** Start with an action-oriented verb rather than simply listing where the button will take you.\
28+
Example: use **Take the quiz** instead of "Language quiz"
29+
- **Emphasize the value people get**, rather than how they get it.\
30+
Example: **Try Pro for free** instead of "Opt in"
31+
- **Use the established system patterns** for navigational and purely functional buttons.\
32+
Examples: **Next**, **Back**, **Close**
33+
- **Use the same word to refer to the same thing** to foster trust and prioritize clarity.\
34+
Examples: **Go to payment**, **Complete payment**, **Cancel payment**
35+
- **Avoid using pronouns**, on the actual button because in the micro-interaction, the speaker can be either Codecademy or the learner.\
36+
Example: **Go to dashboard,** not "Go to your dashboard" or "Go to my dashboard"
2937
- **When in doubt, A/B test!** Buttons — specifically call-to-action (CTA) button copy can have a major impact on conversion. If you're undecided about which CTA is best, test — especially for high-impact projects.
3038

31-
### Fill buttons
32-
33-
- **Length:** Keep to a maximum of 3 words (unless more words are necessary for clarity).
34-
- **Capitalization:** Use sentence case, capitalizing only proper nouns.
35-
36-
### Text buttons
37-
38-
- **Length:** Keep to a maximum of 3 words (unless more words are necessary for clarity).
39-
- **Capitalization:** Use sentence case, capitalizing only proper nouns.
40-
- **Arrow usage:** Include → after the text when clicking brings users to a new surface. There should always be a space between the text and the arrow.
41-
42-
### CTA buttons
43-
44-
- **Length:** Keep to a maximum of 3 words (unless more words are necessary for clarity).
45-
- **Capitalization:** Use sentence case, capitalizing only proper nouns.
46-
47-
## Checklist
39+
## Checklist for writing button labels
4840

49-
- For buttons, is your copy 3 words or less?
50-
- For buttons, have you used action-oriented language?
51-
- Have you used sentence case, only capitalizing proper nouns?
5241
- Does the copy make it clear where the button will take learners?
42+
- Does the button lead with an actionable verb?
43+
- Is the microcopy 3 words or less (especially for the primary button)?
44+
- Have you used sentence case, only capitalizing [proper nouns in the **Codecademy glossary**](https://skillsoftdev.atlassian.net/wiki/spaces/UXW/database/4447175693?savedViewId=9b4c57a9-0cfb-42b0-97c5-08a87e8a2c84)?

0 commit comments

Comments
 (0)