Skip to content

Commit 2bea72d

Browse files
authored
Merge pull request SharePoint#1 from Linda-Editor/patch-4
Converted image to HTML tables
2 parents 2c6793d + 7e29025 commit 2bea72d

File tree

1 file changed

+100
-15
lines changed

1 file changed

+100
-15
lines changed

docs/design/accessibility.md

Lines changed: 100 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
---
22
title: Accessibility in SharePoint web part design
3-
ms.date: 9/25/2017
3+
ms.date: 11/21/2017
44
---
55

66
<!--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. -->
77

8-
9-
10-
118
# Accessibility in SharePoint web part design
129

1310
Developing an equal experience that meets all users' unique visual, hearing, dexterity, cognitive, and speech needs is an important component of SharePoint web part design. Accessible design applies not only to people with disabilities, but also to potential situational impairments. Accessible design is good design.
@@ -22,9 +19,8 @@ All Microsoft products must meet the requirements listed in the [Microsoft Acces
2219

2320
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.
2421

25-
<!-- 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? -->
26-
27-
[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")
22+
<!-- 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:
23+
[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") -->
2824

2925
## Accessibility testing
3026

@@ -63,6 +59,9 @@ The first tab is the list item.
6359
The second tab is the command.
6460
The third tab is the navigation.
6561
-->
62+
63+
*Figure 1. The tab stops on a SharePoint page*
64+
6665
![Image that shows the tab stops on a SharePoint page](https://i.imgur.com/Vn3VosN.png)
6766

6867
### Navigation within a control
@@ -71,31 +70,41 @@ You can use arrow keys to move to items in a control, such as choices in a menu,
7170

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

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

7677
### Selecting the current item
7778

7879
Use the space bar to select or deselect the item currently in focus in a control.
7980

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

8285
### Run a control
8386

84-
Press **Enter** or the return key to run a control.
87+
Select **Enter** or the return key to run a control.
88+
89+
*Figure 4. Selecting Enter to run a control*
8590

8691
![Press enter to run a control](https://i.imgur.com/s0nMPdT.png)
8792

8893
### Leave a control
8994

90-
Press **Escape** to exit a control and return to the container.
95+
Select **Escape** to exit a control and return to the container.
96+
97+
*Figure 5. Selecting Escape to leave a control and return to the container*
9198

92-
![Pressing Escape to leave a control and return to the container](https://i.imgur.com/uD99zIX.png)
99+
![Selecting Escape to leave a control and return to the container](https://i.imgur.com/uD99zIX.png)
93100

94101
### Go to the first or last item
95102

96-
Press **Home** or **End** to go directly to the first or last item in a list, menu, and so on.
103+
Select **Home** or **End** to go directly to the first or last item in a list, menu, and so on.
97104

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

100109

101110
## Screen reader navigation
@@ -104,6 +113,8 @@ Users who have vision impairments rely on screen readers to navigate the site UI
104113

105114
<!-- 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? -->
106115

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

109120
## Alt text and transcripts
@@ -119,16 +130,90 @@ To be fully compliant with accessibility standards, include alt text and a compl
119130
A minimum level of contrast is essential to help users with vision impairments consume the content on the page. It is also important to aid readability in low light and glare situations.
120131

121132
<!-- Convert this image into a table, for accessibility. ;) -->
122-
123-
![Neutral, Theme, and Alert colors for minimum readable contrast](https://i.imgur.com/L7pSF1w.png)
124-
133+
<!-- ![Neutral, Theme, and Alert colors for minimum readable contrast](https://i.imgur.com/L7pSF1w.png)-->
134+
135+
![Colors for minimum readable contrast](../images/wcag-2aa-compliance-colors.png)
136+
137+
### Theme colors (Blue) and neutral colors
138+
139+
<table>
140+
<tr>
141+
<td style="color:white; background-color:#004578">themeDarker: #004578</td>
142+
<td style="color:white; background-color:#000000">black: #000000</td>
143+
</tr>
144+
<tr>
145+
<td style="color:white; background-color:#005a9e">themeDark: #005a9e</td>
146+
<td style="color:white; background-color:#212121">neutralDark: #212121</td>
147+
</tr>
148+
<tr>
149+
<td style="color:white; background-color:#106ebe">themeDarkAlt: #106ebe</td>
150+
<td style="color:white; background-color:#333">neutralPrimary: #333</td>
151+
</tr>
152+
<tr>
153+
<td rowspan="3" style="font-weight:bold; vertical-align:middle; color:white; background-color:#0078d7">themePrimary: #0078d7</td>
154+
<td style="color:white; background-color:#3c3c3c">neutralPrimaryAlt: #3c3c3c</td>
155+
</tr>
156+
<tr>
157+
<td style="color:white; background-color:#666666">neutralSecondary: #666666</td>
158+
</tr>
159+
<tr>
160+
<td style="color:black; background-color:#a6a6a6">neutralTertiary: #a6a6a6</td>
161+
</tr>
162+
<tr>
163+
<td style="color:white; background-color:#2b88d8">themeSecondary: #2b88d8</td>
164+
<td style="color:black; background-color:#c8c8c8">neutralTertiaryAlt: #c8c8c8</td>
165+
</tr>
166+
<tr>
167+
<td style="color:black; background-color:#71afe5">themeTertiary: #71afe5</td>
168+
<td style="color:black; background-color:#eaeaea">neutralLight: #eaeaea</td>
169+
</tr>
170+
<tr>
171+
<td style="color:black; background-color:#c7e0f4">themeLight: #c7e0f4</td>
172+
<td style="color:black; background-color:#f4f4f4">neutralLighter: #f4f4f4</td>
173+
</tr>
174+
<tr>
175+
<td style="color:black; background-color:#deecf9">themeLighter: #deecf9</td>
176+
<td style="color:black; background-color:#f8f8f8">neutralLighterAlt: #f8f8f8</td>
177+
</tr>
178+
<tr>
179+
<td style="color:black; background-color:#eff6fc">themeLighterAlt: #eff6fc</td>
180+
<td style="color:black; background-color:#fff">white: #fff</td>
181+
</tr>
182+
</table>
183+
184+
### Alert colors
185+
186+
<table>
187+
<tr>
188+
<td style="color:white; background-color:#952226">themeDark: #952226</td>
189+
</tr>
190+
<tr>
191+
<td style="color:black; background-color:#f6d6d8">themeLight: #f6d6d8</td>
192+
</tr>
193+
<tr>
194+
<td style="color:white; background-color:#e55c12">themeSecondary: #e55c12</td>
195+
</tr>
196+
</table>
197+
198+
<br/>
199+
200+
<table>
201+
<tr>
202+
<td style="color:white; background-color:#0f7c39">themeDarkAlt: #0f7c39</td>
203+
</tr>
204+
<tr>
205+
<td style="color:black; background-color:#bff7d5">themeLight: #bff7d5</td>
206+
</tr>
207+
</table>
125208

126209
## High contrast
127210

128211
Use high contrast colors as a guide for color choices for components and states on the web. Windows computers only have the ability to detect whether a PC is running high contrast, or high contrast white. For this reason, use the default high contrast black setting for any high contrast, non-white theme.
129212

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

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

134219

0 commit comments

Comments
 (0)