Skip to content

Commit eb314f9

Browse files
authored
Edit of Design topics 1-23-18 (SharePoint#1273)
* Final edit * Final edit * Fixed tables * resized photos * Resized images * Resized images * Final edit
1 parent 1cee608 commit eb314f9

11 files changed

+264
-142
lines changed

docs/design/accessibility.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: Accessibility in SharePoint web part design
3-
ms.date: 11/21/2017
3+
description: Guidelines for adding accessibility to your web part.
4+
ms.date: 01/23/2018
45
---
56

6-
<!--Based on how rough this content is in it's current state, i'm going to pull it from this initial release so we can edit and better prepare. -->
7+
<!--Based on how rough this content is in its current state, i'm going to pull it from this initial release so we can edit and better prepare. -->
78

89
# Accessibility in SharePoint web part design
910

@@ -17,7 +18,7 @@ All Microsoft products must meet the requirements listed in the [Microsoft Acces
1718

1819
<!-- Fabric components are not designed to be accessible already? And, shouldn't components that aren't based on Fabric also be accessible? -->
1920

20-
If you're building a dialog box, file picker, or any other [Office UI Fabric](https://dev.office.com/fabric#/components) component, follow the guidance in this article to ensure that your content is accessible.
21+
If you're building a dialog box, file picker, or any other [Office UI Fabric](https://developer.microsoft.com/en-us/fabric#/components) component, follow the guidance in this article to ensure that your content is accessible.
2122

2223
<!-- Not sure why we have that link? It currently goes to the OneNote file. Where is the Common UI Controls content? Is that related to accessibility? [v-licapu] - I agree; we shouldn't be linking to this unless it's live to external audiences; even I can't access it. I moved it to within the comment:
2324
[Common UI Controls](https://microsoft.sharepoint.com/teams/STS/_layouts/OneNote.aspx?id=%2Fteams%2FSTS%2FShared%20Documents%2FSP%20Accessibility%2FAccessibility%20Guidance&wd=target%28Accessibility%20101.one%7C0005C142-938C-4411-B543-B9F4199E19B3%2FEverything%20you%20need%20to%20know%20about%20Accessibility%7CE099AFE3-8804-4E1F-BA50-99493AB8A3D0%2F%29 "Link to Common UI Controls") -->
@@ -28,7 +29,7 @@ If you're building a dialog box, file picker, or any other [Office UI Fabric](ht
2829

2930
Test your web part first with [Narrator](https://support.microsoft.com/en-us/help/22798/windows-10-narrator-get-started) and Microsoft Edge, and then verify the accessibility experience with [JAWS](http://www.freedomscientific.com/Products/Blindness/JAWS).
3031

31-
Narrator and Microsoft Edge are standards compliant. When you test with that combination, you are more likely to find issues, and you can validate that your site meets accessibility standards.
32+
Narrator and Microsoft Edge are standards-compliant. When you test with that combination, you are more likely to find issues, and you can validate that your site meets accessibility standards.
3233

3334
JAWS is the market leader in screen readers. JAWS includes features that can improve the accessibility of some websites that aren't as accessible in other screen readers. Therefore testing in JAWS might not ensure that your site meets all accessibility requirements.
3435

@@ -60,61 +61,59 @@ The second tab is the command.
6061
The third tab is the navigation.
6162
-->
6263

63-
*Figure 1. The tab stops on a SharePoint page*
6464

6565
![Image that shows the tab stops on a SharePoint page](https://i.imgur.com/Vn3VosN.png)
6666

67+
<br/>
68+
6769
### Navigation within a control
6870

6971
You can use arrow keys to move to items in a control, such as choices in a menu, commands in a command bar, or items in a list.
7072

7173
<!-- This image is not very clear. Do you need to have the "blank" list box on the left? -->
7274

73-
*Figure 2. Using arrow keys to navigate within a control*
74-
7575
![Using arrow keys to navigate within a control](https://i.imgur.com/vF0Nk73.png)
7676

77+
<br/>
78+
7779
### Selecting the current item
7880

7981
Use the space bar to select or deselect the item currently in focus in a control.
8082

81-
*Figure 3. Using the space bar to select an item in a list*
82-
8383
![Using the space bar to select an item in a list](https://i.imgur.com/j3fBKPl.png)
8484

85+
<br/>
86+
8587
### Run a control
8688

8789
Select Enter or the return key to run a control.
8890

89-
*Figure 4. Selecting Enter to run a control*
90-
9191
![Press enter to run a control](https://i.imgur.com/s0nMPdT.png)
9292

93+
<br/>
94+
9395
### Leave a control
9496

9597
Select **Escape** to exit a control and return to the container.
9698

97-
*Figure 5. Selecting Escape to leave a control and return to the container*
98-
9999
![Selecting Escape to leave a control and return to the container](https://i.imgur.com/uD99zIX.png)
100100

101+
<br/>
102+
101103
### Go to the first or last item
102104

103105
Select **Home** or **End** to go directly to the first or last item in a list, menu, and so on.
104106

105-
*Figure 6. Selecting Home or End to go to the first or last item in a list*
106-
107107
![Selecting Home or End to go to the first or last item in a list](https://i.imgur.com/gGKsh74.png)
108108

109+
<br/>
109110

110111
## Screen reader navigation
111112

112113
Users who have vision impairments rely on screen readers to navigate the site UI.
113114

114115
<!-- Narrator isn't a third-party product. This image needs more text/explanation; please also clarify the alt text. Is this section important, or can it be removed, given the previous mention of testing with Narrator and JAWS? Again, the intent/target audience for this information isn't clear - is it for the user, or the designer? Can you explain why this information is important from the designer's POV? -->
115116

116-
*Figure 7. Screen reader navigation of a SharePoint page*
117-
118117
![Screen reader navigation of a SharePoint page](https://i.imgur.com/ar23o3X.png)
119118

120119
## Alt text and transcripts
@@ -134,6 +133,8 @@ A minimum level of contrast is essential to help users with vision impairments c
134133

135134
![Colors for minimum readable contrast](../images/wcag-2aa-compliance-colors.png)
136135

136+
<br/>
137+
137138
### Theme colors (Blue) and neutral colors
138139

139140
<table>
@@ -183,6 +184,7 @@ A minimum level of contrast is essential to help users with vision impairments c
183184

184185
### Alert colors
185186

187+
186188
<table>
187189
<tr>
188190
<td style="color:white; background-color:#952226">themeDark: #952226</td>
@@ -212,11 +214,13 @@ Use high contrast colors as a guide for color choices for components and states
212214

213215
<!-- In the left part of the image, I think the title should be "High Contrast Black". -->
214216

215-
*Figure 8. High contrast black and high contrast white settings*
216-
217217
![High contrast black and high contrast white settings](https://i.imgur.com/qvTFzd4.png)
218218

219+
<br/>
220+
221+
## See also
219222

223+
- [Designing great SharePoint experiences](design-guidance-overview.md)
220224

221225

222226

docs/design/authoring-pages.md

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,100 @@
11
---
22
title: Authoring pages in a SharePoint site
3-
ms.date: 9/25/2017
3+
description: Author pages using Edit mode, Published mode, and consider the mobile view.
4+
ms.date: 1/23/2018
45
---
56

67
# Authoring pages in a SharePoint site
78

8-
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 – like 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.
9+
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.
910

1011
<!-- Do we have content about the design principles that we can link to here? -->
1112

1213
The SharePoint page authoring experience has two modes:
1314

14-
- Edit - Allows page authors to add and configure web parts to add content to a page.
15-
- Published - Allows your team or audience to view content and interact with web parts.
15+
- **Edit**. Allows page authors to add and configure web parts to add content to a page.
16+
- **Published**. Allows your team or audience to view content and interact with web parts.
1617

1718
## Edit mode
1819

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

22+
<img alt="Edit control" src="../images/design-authoring-edit-01.png" width="850">
2123

22-
![Edit control](../images/design-authoring-edit-01.png)
24+
<br/>
2325

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

28+
<br/>
2629

2730
### Add hint and Toolbox
2831

29-
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 chooses the plus icon. The Toolbox contains all the web parts that can be added to a page.
32+
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.
3033

31-
![Hint and toolbox showing tools](../images/design-authoring-add-hint.png)
34+
<img alt="Hint and toolbox showing tools" src="../images/design-authoring-add-hint.png" width="850">
3235

36+
<br/>
3337

3438
### Toolbar
3539

3640
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.
3741

38-
![Expanded toolbar](../images/design-authoring-toolbar.png)
42+
<img alt="Expanded toolbar" src="../images/design-authoring-toolbar.png" width="850">
3943

44+
<br/>
4045

4146
### Active and hover states
4247

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

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

4754
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.
4855

49-
![Bounding box on and off](../images/design-authoring-active-hover-02.png)
56+
<img alt="Bounding box on and off" src="../images/design-authoring-active-hover-02.png" width="850">
5057

58+
<br/>
5159

5260
### Contextual edits
5361

54-
Design a WYSIWYG experience for web parts so that users can fill in information or add content that will be displayed when published. This content should be entered on the page so the user understands how the it will render 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.
62+
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.
5563

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

66+
<br/>
5867

5968
### Item-level edits
6069

6170
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.
6271

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

74+
<br/>
6575

6676
### Property panes
6777

68-
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 page, or make a call to a service to display content.
78+
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.
6979

7080
![Expanded pane](../images/design-authoring-panes.png)
7181

82+
<br/>
7283

7384
## Published mode
7485

75-
After the page is published, all edit UI is disabled and 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.
86+
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.
7687

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

90+
<br/>
7991

8092
## Mobile view
8193

8294
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.
8395

96+
![Mobile view of site](../images/design-authoring-mobile.png)
8497

98+
## See also
8599

86-
![Mobile view of site](../images/design-authoring-mobile.png)
100+
- [Designing great SharePoint experiences](design-guidance-overview.md)

docs/design/design-a-web-part.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
---
22
title: Designing a SharePoint web part
3-
ms.date: 11/30/2017
3+
description: Use three types of property panes to design and develop web parts that fit your business or customer needs.
4+
ms.date: 01/23/2018
45
---
56

67
# Designing a SharePoint web part
78

8-
Before you design a SharePoint web part, you should understand how to [author pages in a SharePoint site](authoring-pages.md). If you haven't already, take some time to create a page and add multiple types of web parts. It is important know how to leverage Office Fabric components and styles to make it easier and quicker to get your new web part up and running.
9+
Before you design a SharePoint web part, you should understand how to [author pages in a SharePoint site](authoring-pages.md). If you haven't already, take some time to create a page and add multiple types of web parts. It is important to know how to leverage Office Fabric components and styles to make it easier and quicker to get your new web part up and running.
910

1011
When you design web parts, it's important to be familiar with the following concepts:
1112

1213
- [Property pane types and when to use each type](#property-pane-types)
1314
- [Reactive and nonreactive web parts](reactive-and-nonreactive-web-parts.md)
1415
- [Titles and descriptions](web-part-titles-and-descriptions.md)
15-
- [Fallbacks and placeholders](placeholders-and-fallbacks.md)
16+
- [Placeholders and fallbacks](placeholders-and-fallbacks.md)
1617

1718

1819
## Property pane types
@@ -21,33 +22,37 @@ You can use three types of property panes to design and develop web parts that f
2122

2223
To open a pane to configure settings for a web part, select **Edit**. Use the pane to enable and disable features, select a source, choose a layout, and set options. Edit web part content within the web part rather than in the property pane.
2324

24-
The property pane is 320px and when opened, the page will responsively reflow.
25+
The property pane is 320 px and when opened, the page responsively reflows.
2526

2627
### Single pane
28+
2729
Use a single pane for simple web parts that have only a small number of properties to configure.
2830

2931
![Single pane](../images/design-web-part-single.png)
3032

33+
<br/>
3134

3235
### Accordion pane
36+
3337
Use an accordion pane to contain a group or groups of properties with many options, and where the groups result in a long scrolling list of options. For example, you might have three groups named Properties, Appearance, and Layout, each with ten components.
3438

3539
Use accordion panes when you need to apply categorization for a complex web part.
3640

3741
![Accordion pane](../images/design-web-part-accordion-group.png)
3842

43+
<br/>
3944

4045
**Accordian groups example with last pane open**
4146

42-
4347
![Accordion pane showing last pane open](../images/design-web-part-accordion-last-open.png)
4448

49+
<br/>
4550

4651
**Accordion groups example with two groups open**
4752

4853
![Accordion pane showing two groups open](../images/design-web-part-accordion-two-open.png)
4954

50-
55+
<br/>
5156

5257
### Steps pane
5358

@@ -59,13 +64,15 @@ In step 1, the back button is disabled and the next button is enabled.
5964

6065
![Steps pane with next button enabled](../images/design-web-part-steps-pane-01.png)
6166

67+
<br/>
6268

6369
**Step 2 of the steps pane**
6470

6571
In step 2, the back and next buttons are enabled.
6672

6773
![Steps pane with back button and next button enabled](../images/design-web-part-steps-pane-02.png)
6874

75+
<br/>
6976

7077
**Step 3 of the steps pane**
7178

0 commit comments

Comments
 (0)