Skip to content

Commit c0656bd

Browse files
Merge pull request SharePoint#8818 from andrewconnell/fix-img-references
Fix img references
2 parents 379b61e + ed1344a commit c0656bd

8 files changed

+424
-504
lines changed

docs/design/authoring-pages.md

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
---
22
title: Authoring pages in a SharePoint site
33
description: Author pages using Edit mode, Published mode, and consider the mobile view.
4-
ms.date: 06/28/2022
4+
ms.date: 03/08/2023
55
ms.localizationpriority: high
66
---
77

88
# Authoring pages in a SharePoint site
99

10-
Authoring pages in SharePoint is a simple process, but it does require some familiarity with the SharePoint environment, as well as an understanding of what and who you are designing the page for. A few basic principles, such as remembering to "Start simple" and "Build on what's working," are valuable things to consider as you start authoring. It's also a good idea to consistently remind yourself of your audience and the goals that you are trying to help them achieve.
11-
12-
<!-- Do we have content about the design principles that we can link to here? -->
10+
Authoring pages in SharePoint is a simple process, but it does require some familiarity with the SharePoint environment, and an understanding of what and who you are designing the page for. A few basic principles, such as remembering to "Start simple" and "Build on what's working," are valuable things to consider as you start authoring. It's also a good idea to consistently remind yourself of your audience and the goals that you're trying to help them achieve.
1311

1412
The SharePoint page authoring experience has two modes:
1513

@@ -20,79 +18,59 @@ The SharePoint page authoring experience has two modes:
2018

2119
When creating a new page, users have access to the authoring UI to add content to and customize the page content.
2220

23-
<img alt="Edit control" src="../images/design-authoring-edit-01.png" width="850">
24-
25-
<br/>
26-
27-
<img alt="Edit control with cursor showing highlight" src="../images/design-authoring-edit-02.png" width="850">
21+
![Edit control](../images/design-authoring-edit-01.png)
2822

29-
<br/>
23+
![Edit control with cursor showing highlight](../images/design-authoring-edit-02.png)
3024

3125
### Add hint and Toolbox
3226

3327
The add hint is a horizontal line with a plus icon that is visible when a web part is selected and on hover to indicate where page authors can add new web parts to their page. The Toolbox opens when a user selects the plus icon. The Toolbox contains all the web parts that can be added to a page.
3428

35-
<img alt="Hint and toolbox showing tools" src="../images/design-authoring-add-hint.png" width="850">
36-
37-
<br/>
29+
![Hint and toolbox showing tools](../images/design-authoring-add-hint.png)
3830

3931
### Toolbar
4032

4133
A vertical toolbar and bounding box is part of the framework for every web part and is provided by the page. Each web part has an edit and delete action in the toolbar.
4234

43-
<img alt="Expanded toolbar" src="../images/design-authoring-toolbar.png" width="850">
44-
45-
<br/>
35+
![Expanded toolbar](../images/design-authoring-toolbar.png)
4636

4737
### Active and hover states
4838

4939
On hover/active, the hint bars are primary blue or the primary theme color for the site.
5040

51-
<img alt="Hover and active state" src="../images/design-authoring-active-hover-01.png" width="850">
52-
53-
<br/>
41+
![Hover and active state](../images/design-authoring-active-hover-01.png)
5442

5543
The bounding box for a web part is gray by default, but picks up the primary blue or primary theme color for the site on hover or when the web part is selected.
5644

57-
<img alt="Bounding box on and off" src="../images/design-authoring-active-hover-02.png" width="850">
58-
59-
<br/>
45+
![Bounding box on and off](../images/design-authoring-active-hover-02.png)
6046

6147
### Contextual edits
6248

6349
Design a WYSIWYG experience for web parts so that users can fill in information or add content that is displayed when published. This content should be entered on the page so that the user understands how it renders in the viewer. For example, titles and descriptions should be filled out where the text displays; new tasks should be added and modified in the context of the page.
6450

6551
![Contextual edits form element](../images/design-authoring-contextual-edits.png)
6652

67-
<br/>
68-
6953
### Item-level edits
7054

7155
UI can change within the web part; for example, text can become a text field, or you can display UI to reorder items or to check off tasks in a web part. You can enable interactive functionality for web parts in edit mode, in read mode, or in both, depending on your design intent.
7256

7357
![Item level editing with selected state](../images/design-authoring-item-level.png)
7458

75-
<br/>
76-
7759
### Property panes
7860

7961
Property panes are invoked via the **Edit** icon on the toolbar. Property panes should primarily contain configuration settings that enable or disable features that either show on the page, or make a call to a service to display content.
8062

8163
![Expanded pane](../images/design-authoring-panes.png)
8264

83-
<br/>
84-
8565
## Published mode
8666

8767
After the page is published, all editing UI is disabled for the viewer or reader of the page. To continue editing the page, the user selects the **Edit** button on the top right corner of the command bar.
8868

8969
![Publish button highlighted](../images/design-authoring-published.png)
9070

91-
<br/>
92-
9371
## Mobile view
9472

95-
All SharePoint pages are [responsive](grid-and-responsive-design.md) to allow the content of the page to be viewed on mobile devices. While designing a web part, it is important to understand how the new SharePoint site pages render across different devices.
73+
All SharePoint pages are [responsive](grid-and-responsive-design.md) to allow the content of the page to be viewed on mobile devices. While designing a web part, it's important to understand how the new SharePoint site pages render across different devices.
9674

9775
![Mobile view of site](../images/design-authoring-mobile.png)
9876

docs/design/reactive-and-nonreactive-web-parts.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,41 @@
11
---
22
title: Reactive and nonreactive SharePoint web parts
33
description: Reactive web parts are client-side only; nonreactive web parts have elements that require a server to operate.
4-
ms.date: 06/28/2022
4+
ms.date: 03/08/2023
55
ms.localizationpriority: high
66
---
77

88
# Reactive and nonreactive SharePoint web parts
99

1010
Reactive web parts are client-side only; nonreactive web parts have elements that require a server to operate. We recommend that you build your SharePoint web parts to be reactive because that best fits the UX model and WYSIWYG principles for authoring. However, it might not be possible or cost-effective in all cases to build reactive web parts.
1111

12-
1312
## Reactive web parts
1413

1514
Reactive web parts are fully client-side web parts. This means that each component configured in the property pane reflects the change made within the web part on the page. For example, for the To-Do List web part, unchecking “Completed Tasks” hides this view in the web part.
1615

17-
<img alt="A reactive web part" src="../images/design-reactive-01.png" width="850">
16+
![A reactive web part](../images/design-reactive-01.png)
1817

1918
## Nonreactive web parts
20-
Nonreactive web parts are not fully client-side; generally, one or more properties need to make a call to set/pull or store data on a server. For nonreactive web parts, you should enable the **Apply** button at the bottom of the property pane.
2119

22-
You can also customize the **Apply** button to be a more specific action. <!-- Is this a reference to an image? (design-wp-pp-non-reactive.png) -->
20+
Nonreactive web parts aren't fully client-side; generally, one or more properties need to make a call to set/pull or store data on a server. For nonreactive web parts, you should enable the **Apply** button at the bottom of the property pane.
2321

24-
<img alt="A nonreactive web part with Apply and Cancel buttons" src="../images/design-reactive-02.png" width="850">
22+
You can also customize the **Apply** button to be a more specific action.
2523

26-
<br/>
24+
![A nonreactive web part with Apply and Cancel buttons](../images/design-reactive-02.png)
2725

2826
The following examples show nonreactive web parts in the context of the [three property pane structures](design-a-web-part.md).
2927

30-
**Single pane example**
31-
32-
<img alt="A nonreactive web part with a single pane property structure" src="../images/design-reactive-03.png" width="850">
33-
34-
<br/>
28+
### Single pane example
3529

36-
**Accordion groups example**
30+
![A nonreactive web part with a single pane property structure](../images/design-reactive-03.png)
3731

38-
<img alt="A nonreactive web part with an according groups pane property structure" src="../images/design-reactive-04.png" width="850">
32+
### Accordion groups example
3933

40-
<br/>
34+
![A nonreactive web part with an according groups pane property structure](../images/design-reactive-04.png)
4135

42-
**Steps pane example**
36+
### Steps pane example
4337

44-
<img alt="A nonreactive web part with a steps pane property structure" src="../images/design-reactive-05.png" width="850">
38+
![A nonreactive web part with a steps pane property structure](../images/design-reactive-05.png)
4539

4640
## See also
4741

docs/design/ui-text-for-web-parts.md

Lines changed: 25 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -7,84 +7,72 @@ ms.localizationpriority: medium
77

88
# UI text guidelines for SharePoint web parts
99

10-
One aspect of creating effective web parts in SharePoint is to use simple, understandable, and concise UI text. By keeping your message clear and easy to understand, you ensure that customers move through your experiences quickly and can identify the content they are looking for. This article provides guidance for writing UI text for key areas within SharePoint web parts.
11-
10+
One aspect of creating effective web parts in SharePoint is to use simple, understandable, and concise UI text. By keeping your message clear and easy to understand, you ensure that customers move through your experiences quickly and can identify the content they're looking for. This article provides guidance for writing UI text for key areas within SharePoint web parts.
1211

1312
## Capitalization
1413

1514
Use sentence casing (first letter of first word is capitalized, the rest all lowercase) for all UI elements, including buttons, page titles, and control labels.
1615

17-
1816
Always capitalize:
1917

2018
- The first word of a new sentence.
2119
- The word following a colon in a title or heading. For example, "Step 1: Begin by entering your account information."
2220
- Proper nouns, such as the names of people, cities, and so on.
2321

24-
<img alt="Screenshot of an image alternative-text web part with sentence-style capitalization highlighted" src="../images/design-uitext-01.png" width="800">
22+
![Screenshot of an image alternative-text web part with sentence-style capitalization highlighted](../images/design-uitext-01.png)
2523

26-
<br/>
27-
28-
<img alt="Screenshot of an image gallery add web part with sentence-style capitalization highlighted" src="../images/design-uitext-02.png" width="800">
24+
![Screenshot of an image gallery add web part with sentence-style capitalization highlighted](../images/design-uitext-02.png)
2925

3026
## Punctuation
3127

3228
Follow the basic rules of punctuation to avoid grammatical errors in your experience. The following table provides guidance and reminders about what punctuation to use when, and why.
3329

34-
|Punctuation |Guidance |Example |
35-
|-------------|------------------------------------------------|-----------------|
36-
|Colons (:) | Use colons if you are introducing a list in the web part description.<br/>Don't use colons in UI labels.| Choose one of the following: Cats, Dogs, Quokkas |
37-
|Commas (,) | Use serial commas (including before the word "and"). |I like cats, birds, and dogs. |
38-
|Ellipses (…)| Use ellipses to show truncation and for progress indicator strings.<br/>Don't use ellipses to indicate that the user must make further choices.|Truncation: Last modified by John Armstr…<br/>Progress indicator: Uploading… |
39-
|Periods (.) | Use periods as you normally would for descriptions.<br/>Don't use periods in titles, headings, or labels. Don't use periods for radio button options or check boxes. | Select the content that you want to highlight and how you want it displayed. Use a filter to narrow your selection. |
40-
41-
30+
| Punctuation | Guidance | Example |
31+
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
32+
| Colons (:) | Use colons if you're introducing a list in the web part description.<br/>Don't use colons in UI labels. | Choose one of the following: Cats, Dogs, Quokkas |
33+
| Commas (,) | Use serial commas (including before the word "and"). | I like cats, birds, and dogs. |
34+
| Ellipses (…) | Use ellipses to show truncation and for progress indicator strings.<br/>Don't use ellipses to indicate that the user must make further choices. | Truncation: Last modified by John Armstr…<br/>Progress indicator: Uploading… |
35+
| Periods (.) | Use periods as you normally would for descriptions.<br/>Don't use periods in titles, headings, or labels. Don't use periods for radio button options or check boxes. | Select the content that you want to highlight and how you want it displayed. Use a filter to narrow your selection. |
4236

4337
## Voice and tone
4438

4539
Crafting the right tone in your product communication is essential to building a strong, lasting relationship with your audience. Try to keep your words crisp and clear, warm and relaxed, and approachable. How you talk to your audience influences how they engage with your site and content, and how much value they derive from it.
4640

47-
**Do:**
41+
### Do
4842

4943
- Use a casual, conversational tone in the UI.
50-
- Use contractions. For example, use "can't" instead of "cannot".
44+
- Use contractions. For example, use "can't" instead of "can't".
5145
- Read your UI text out loud to test the tone. Does it sound like everyday language?
5246
- Use simple words.
5347
- Remove technical details if they're not relevant to the user experience.
54-
- Use "Please" only if you are inconveniencing the user. Avoid overuse.
48+
- Use "Please" only if you're inconveniencing the user. Avoid overuse.
5549
- Use "Sorry" only in error messages in SharePoint that result in serious problems for the customer.
5650

57-
58-
**Don't:**
51+
### Don't
5952

6053
- Clutter the UI text with unnecessary repetition. Make every word meaningful.
6154

62-
6355
## Pronouns
6456

6557
Avoid pronouns in UI elements if possible. If you can say something equally well without using a pronoun, don't use it.
6658

6759
If your design does warrant using pronouns, apply the following guidelines to make sure that you're using them correctly.
6860

69-
**Do:**
61+
### Do
7062

7163
- Use second person ("you" or "your") when you're presenting something that belongs to the user. For example, "Your drafts" or "Your images".
7264
- Use first person ("me" or "my") for UI in which the user instructs the service to do something. For example, "Alert me when someone responds to my post."
7365
- Use "they" or "their" as a singular possessive modifier to avoid awkward "he/she" or "his/her" constructs. Ideally, rewrite the sentence as plural if possible.
7466
- Avoid using "them"; instead, use words like "someone" or "people". For example, "Enter a user name and ___domain to give someone permission to use this PC."
7567

76-
<img alt="An image showing the correct use of the second person you and the incorrect use of the third person users in the UI" src="../images/design-uitext-03.png" width="800">
68+
![An image showing the correct use of the second person you and the incorrect use of the third person users in the UI](../images/design-uitext-03.png)
7769

78-
<br/>
70+
![An image showing the correct use of the UI text Select the page you want people to see first](../images/design-uitext-04.png)
7971

80-
<img alt="An image showing the correct use of the UI text Select the page you want people to see first" src="../images/design-uitext-04.png" width="800">
81-
82-
**Don't:**
72+
### Don't
8373

8474
- Use third person references, as they sound impersonal and can create a disconnected customer experience. Instead of saying "Users can change the layout", use a phrase like "You can change the layout".
8575

86-
87-
8876
## Error messages
8977

9078
Error conditions are inherent in any software or service. Your error messages can affect the overall user satisfaction with the product. A good error message should do the following:
@@ -93,50 +81,44 @@ Error conditions are inherent in any software or service. Your error messages ca
9381
- Provide a workaround or resolution suggestions.
9482
- Show empathy.
9583

96-
<!-- You might need to explain how to show empathy in an error message, without using "sorry". -->
97-
9884
The following is an example of an error message that occurs when a user tries to edit a page that's checked out by another user.
9985

100-
101-
| You can't edit right now |
102-
|-------------------------------------------------------------------------|
86+
| You can't edit right now |
87+
| ------------------------------------------------------------------------------- |
10388
| Another user is currently editing this page. Please try again in a few minutes. |
10489

105-
10690
## Links to help articles
10791

10892
Make an effort to link strategically to help articles. Try to anticipate where the user might need help, and then include a link to the help article close to that UI element. The following are some key things to remember when you place help article links in your UI.
10993

110-
**Do:**
94+
### Do
11195

11296
- Keep the in-product help links specific. Ensure that the target article is appropriate. When the user opens the article, they should be able to locate the information they need.
11397
- Use natural language for your hyperlinks.
11498

115-
<!-- You might want to provide an example of "natural" language. -->
116-
117-
**Don’t:**
99+
### Don't
118100

119101
- Put a help article link next to every UI element. This results in visual noise.
120102
- Include multiple links that go to the same target in the same UI.
121103
- Use "click here" for the text for your hyperlink.
122104

123-
<img alt="An image of the More information and examples as the help link text" src="../images/design-uitext-05.png" width="800">
105+
![An image of the More information and examples as the help link text](../images/design-uitext-05.png)
124106

125107
## Hint text
126108

127109
Hint text, or ghost text, is the text element you display in a UI element, typically a text box, to help the user interact with the UI. The hint text gives information about what the user should enter. For example, it might mention field restrictions or show an example.
128110

129-
**Do:**
111+
### Do
130112

131113
- Use hint text sparingly, and only if it helps the user. Not all UI elements require hint text. For some complex fields, hint text can help provide more context and clarity. For example, if you have a field that requires the user to enter a secured URL, the hint text https://www.example.com might be more helpful than the text **Enter secure URL here.**
132114

133-
**Don't**
115+
### Don't
134116

135117
- Repeat the label. For example, if you have a text box with the label **Name**, the hint text **Enter name** is redundant and potentially confusing.
136118

137119
The following hint text is for the embed web part. The text field can accept a secure website address or an `<iframe>` embed code. The text shows an example of both.
138120

139-
<img alt="Web part hint text" src="../images/design-uitext-06.png" width="800">
121+
![Web part hint text](../images/design-uitext-06.png)
140122

141123
## See also
142124

0 commit comments

Comments
 (0)