Skip to content

Commit 7bc0ff1

Browse files
lesnidertw15eganalisonjoseph
authored
Changed guidance "Use a period only if the title is a full sentence." (carbon-design-system#3904)
* Changed guidance "Use a period only if the title is a full sentence." In https://carbondesignsystem.com/components/notification/usage/, "Use a period only if the title is a full sentence." under Main elements > Title doesn't follow IBM Style, which is to not use punctuation on titles, so I revised the guidance as we discussed in the Feb6 Carbon Design Office Hours. * chore: yarn format --------- Co-authored-by: TJ Egan <tw15egan@gmail.com> Co-authored-by: Alison Joseph <alison.joseph@us.ibm.com>
1 parent 03f4711 commit 7bc0ff1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pages/components/notification/usage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ apprised of the situation, and know what to do next.
119119
- The title should be short and descriptive, explaining the most important piece
120120
of information.
121121
- When possible, communicate the main message using just the title.
122-
- Use a period only if the title is a full sentence.
122+
- Don't use a period to end a title.
123123
- When using rich text, such as in a title, a screen reader will read aloud the
124124
entire message as one sentence. Since the message will be read as one string,
125125
make sure that any text styling does not convey meaning.

src/pages/components/radio-button/usage.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ buttons, a group label can be added.
102102

103103
1. **Group label (optional):** Describes the group of options or provides
104104
guidance for making a selection.
105-
2. **Radio button input:** Indicates the state of a radio button. By
106-
default, no option will be preselected.
105+
2. **Radio button input:** Indicates the state of a radio button. By default, no
106+
option will be preselected.
107107
3. **Radio button label:** Describes the information you want to select or
108108
unselect.
109109

0 commit comments

Comments
 (0)