You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/design/accessibility-guidelines.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Apply the following guidelines to ensure that your solution is accessible to all
17
17
18
18
## Design for multiple input methods
19
19
20
-
- Ensure that users can perform operations by using only the keyboard. Users should be able to move to all actionable elements on the page by using a combination of the Tab and arrow keys.
20
+
- Ensure that users can perform operations by using only the keyboard. Users should be able to move to all actionable elements on the page by using a combination of the <kbd>Tab</kbd> and arrow keys.
21
21
- On a mobile device, when users operate a control by touch, the device should provide useful audio feedback.
22
22
- Provide helpful labels for all interactive controls.
23
23
-[Explore more design and UI resources.](/windows/apps/design/accessibility/accessibility)
Copy file name to clipboardExpand all lines: docs/design/keyboard-shortcuts.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,26 +150,26 @@ Custom keyboard shortcuts are defined in a JSON file. This file describes your k
150
150
151
151
Use the following guidelines to create custom key combinations for your add-ins.
152
152
153
-
- A keyboard shortcut must include at least one modifier key (Alt/Option, Ctrl/Command, Shift) and only one other key. These keys must be joined with a `+` character.
154
-
- The Command modifier key is supported on the macOS platform.
155
-
- On macOS, the Alt key is mapped to the Option key. On Windows, the Command key is mapped to the Ctrl key.
156
-
- The Shift key can't be used as the only modifier key. It must be combined with either Alt/Option or Ctrl/Command.
153
+
- A keyboard shortcut must include at least one modifier key (<kbd>Alt</kbd>/<kbd>Option</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>, <kbd>Shift</kbd>) and only one other key. These keys must be joined with a `+` character.
154
+
- The <kbd>Cmd</kbd> modifier key is supported on the macOS platform.
155
+
- On macOS, the <kbd>Alt</kbd> key is mapped to the <kbd>Option</kbd> key. On Windows, the <kbd>Cmd</kbd> key is mapped to the <kbd>Ctrl</kbd> key.
156
+
- The <kbd>Shift</kbd> key can't be used as the only modifier key. It must be combined with either <kbd>Alt</kbd>/<kbd>Option</kbd> or <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>.
157
157
- Key combinations can include characters "A-Z", "a-z", "0-9", and the punctuation marks "-", "_", and "+". By convention, lowercase letters aren't used in keyboard shortcuts.
158
-
- When two characters are linked to the same physical key on a standard keyboard, then they're synonyms in a custom keyboard shortcut. For example, Alt+a and Alt+A are the same shortcut, as well as Ctrl+- and Ctrl+\_ ("-" and "_" are linked to the same physical key).
158
+
- When two characters are linked to the same physical key on a standard keyboard, then they're synonyms in a custom keyboard shortcut. For example, <kbd>Alt</kbd>+<kbd>a</kbd> and <kbd>Alt</kbd>+<kbd>A</kbd> are the same shortcut, as well as <kbd>Ctrl</kbd>+<kbd>-</kbd> and <kbd>Ctrl</kbd>+<kbd>\_</kbd> ("-" and "_" are linked to the same physical key).
159
159
160
160
> [!NOTE]
161
-
> Custom keyboard shortcuts must be pressed simultaneously. KeyTips, also known as sequential key shortcuts (for example, Alt+H, H), aren't supported in Office Add-ins.
161
+
> Custom keyboard shortcuts must be pressed simultaneously. KeyTips, also known as sequential key shortcuts (for example, <kbd>Alt</kbd>+<kbd>H</kbd>, <kbd>H</kbd>), aren't supported in Office Add-ins.
162
162
163
163
### Browser shortcuts that cannot be overridden
164
164
165
165
When using custom keyboard shortcuts on the web, some keyboard shortcuts that are used by the browser can't be overridden by add-ins. The following list is a work in progress. If you discover other combinations that can't be overridden, please let us know by using the feedback tool at the bottom of this page.
166
166
167
-
- Ctrl+N
168
-
- Ctrl+Shift+N
169
-
- Ctrl+T
170
-
- Ctrl+Shift+T
171
-
- Ctrl+W
172
-
- Ctrl+PgUp/PgDn
167
+
- <kbd>Ctrl</kbd>+<kbd>N</kbd>
168
+
- <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>N</kbd>
169
+
- <kbd>Ctrl</kbd>+<kbd>T</kbd>
170
+
- <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>T</kbd>
171
+
- <kbd>Ctrl</kbd>+<kbd>W</kbd>
172
+
- <kbd>Ctrl</kbd>+<kbd>PgUp</kbd>/<kbd>PgDn</kbd>
173
173
174
174
### Avoid key combinations in use by other add-ins
175
175
@@ -185,11 +185,11 @@ The user can select which action the keyboard shortcut will take. After making t
185
185
186
186
For the best user experience, we recommend that you minimize keyboard shortcut conflicts with these good practices.
187
187
188
-
- Use only keyboard shortcuts with the following pattern: **Ctrl+Shift+Alt+*x***, where *x* is some other key.
188
+
- Use only keyboard shortcuts with the following pattern: <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Alt</kbd>+*x*, where *x* is some other key.
189
189
- Avoid using established keyboard shortcuts in Excel and Word. For a list, see the following:
190
190
- [Keyboard shortcuts in Excel](https://support.microsoft.com/office/1798d9d5-842a-42b8-9c99-9b7213f0040f)
191
191
- [Keyboard shortcuts in Word](https://support.microsoft.com/office/95ef89dd-7142-4b50-afb2-f762f663ceb2)
192
-
- When the keyboard focus is inside the add-in UI, **Ctrl+Spacebar** and **Ctrl+Shift+F10** won't work as these are essential accessibility shortcuts.
192
+
- When the keyboard focus is inside the add-in UI, <kbd>Ctrl</kbd>+<kbd>Spacebar</kbd> and <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>F10</kbd> won't work as these are essential accessibility shortcuts.
193
193
- On a Windows or Mac computer, if the **Reset Office Add-ins shortcut preferences** command isn't available on the search menu, the user can manually add the command to the ribbon by customizing the ribbon through the context menu.
194
194
195
195
## Localize the description of a keyboard shortcut
Copy file name to clipboardExpand all lines: docs/develop/convert-javascript-to-typescript.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ You can use the Office Add-in template in Visual Studio to create an add-in that
24
24
> [!NOTE]
25
25
> [Skip this section](#convert-the-add-in-project-to-typescript) if you already have an existing project.
26
26
27
-
1. In Visual Studio, choose **Create a new project**. If the Visual Studio development environment is already open, you can create a new project by choosing **File > New > Project** on the menu bar.
27
+
1. In Visual Studio, choose **Create a new project**. If the Visual Studio development environment is already open, you can create a new project by choosing **File** > **New** > **Project** on the menu bar.
28
28
29
29
1. Using the search box, enter **add-in**. Choose **Excel Web Add-in**, then select **Next**.
30
30
@@ -128,7 +128,7 @@ The JavaScript files generated by Visual Studio do not contain any TypeScript sy
128
128
129
129
## Run the converted add-in project
130
130
131
-
1. In Visual Studio, press **F5** or choose the **Start** button to launch Excel with the **Show Taskpane** add-in button displayed on the ribbon. The add-in will be hosted locally on IIS.
131
+
1. In Visual Studio, press <kbd>F5</kbd> or choose the **Start** button to launch Excel with the **Show Taskpane** add-in button displayed on the ribbon. The add-in will be hosted locally on IIS.
132
132
133
133
1. In Excel, choose the **Home** tab, and then choose the **Show Taskpane** button on the ribbon to open the add-in task pane.
Copy file name to clipboardExpand all lines: docs/develop/convert-xml-to-json-manifest.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ You can sideload the add-in using the Teams Toolkit or in a command prompt, bash
101
101
1. First, *make sure Outlook desktop is closed.*
102
102
1. In Visual Studio Code, open the Teams Toolkit.
103
103
1. In the **ACCOUNTS** section, verify that you're signed into Microsoft 365.
104
-
1. Select **View** | **Run** in Visual Studio Code. In the **RUN AND DEBUG** drop down menu, select the option, **Outlook Desktop (Edge Chromium)**, and then press **F5**. The project builds and a Node dev-server window opens. This process may take a couple of minutes and then Outlook desktop opens.
104
+
1. Select **View** | **Run** in Visual Studio Code. In the **RUN AND DEBUG** drop down menu, select the option, **Outlook Desktop (Edge Chromium)**, and then press <kbd>F5</kbd>. The project builds and a Node dev-server window opens. This process may take a couple of minutes and then Outlook desktop opens.
105
105
1. You can now work with your add-in. Be sure you're working in the **Inbox** of *your Microsoft 365 account identity*.
106
106
107
107
##### Sideload with a system prompt, bash shell, or terminal
Copy file name to clipboardExpand all lines: docs/develop/create-sso-office-add-ins-aspnet.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -372,7 +372,7 @@ The server-side code is an ASP.NET Core server that provides REST APIs for the c
372
372
373
373
:::image type="content" source="../images/select-host.png" alt-text="Choose the desired Office client application: Excel, PowerPoint, or Word.":::
374
374
375
-
1. Press F5. Or select **Debug > Start Debugging**.
375
+
1. Press <kbd>F5</kbd>. Or select **Debug**>**Start Debugging**.
376
376
1. In the Office application, select the **Show Add-in**in the **SSOASP.NET** group to open the task pane add-in.
377
377
1. Select **Get OneDrive File Names**. If you're logged into Office with either a Microsoft 365 Education or work account, or a Microsoft account, and SSO is working as expected, the first 10 file and folder names in your OneDrive for Business are displayed on the task pane. If you are not logged in, or you are in a scenario that does not support SSO, or SSO is not working for any reason, you will be prompted to sign in. After you sign in, the file and folder names appear.
Copy file name to clipboardExpand all lines: docs/develop/debug-office-add-ins-in-visual-studio.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ This section describes how to start and debug an add-in in desktop Office on Win
69
69
70
70
### Start the add-in project
71
71
72
-
Start the project by choosing **Debug** > **Start Debugging** from the menu bar or press the F5 button. Visual Studio automatically builds the solution and starts the Office host application.
72
+
Start the project by choosing **Debug** > **Start Debugging** from the menu bar or press the <kbd>F5</kbd> button. Visual Studio automatically builds the solution and starts the Office host application.
73
73
74
74
When Visual Studio builds the project, it performs the following tasks:
75
75
@@ -141,7 +141,7 @@ This section describes how to start and debug an add-in in desktop Office on the
141
141
142
142
### Start the add-in project on the web
143
143
144
-
Start the project by choosing **Debug** > **Start Debugging** from the menu bar or press the F5 button. Visual Studio automatically builds the solution and launches the Office application host page of your Microsoft 365 tenancy.
144
+
Start the project by choosing **Debug** > **Start Debugging** from the menu bar or press the <kbd>F5</kbd> button. Visual Studio automatically builds the solution and launches the Office application host page of your Microsoft 365 tenancy.
145
145
146
146
> [!NOTE]
147
147
> When you're debugging an add-in on the web, you may get an AADSTS50011 error similar to the following:
@@ -163,7 +163,7 @@ Start the project by choosing **Debug** > **Start Debugging** from the menu bar
163
163
> ```
164
164
>
165
165
> 1. Run the script in PowerShell.
166
-
> 1. Restart the project by choosing **Debug** > **Start Debugging** from the menu bar or press the F5 button.
166
+
> 1. Restart the project by choosing **Debug** > **Start Debugging** from the menu bar or press the <kbd>F5</kbd> button.
167
167
168
168
When Visual Studio builds the project it performs the following tasks.
169
169
@@ -203,9 +203,9 @@ The best method for debugging an add-in in Visual Studio 2022 depends on whether
203
203
204
204
#### Use the browser developer tools to debug on the web
205
205
206
-
1. For an add-in in any host except Outlook, in the Office host application page, press F12 to open the debugging tool.
206
+
1. For an add-in in any host except Outlook, in the Office host application page, press <kbd>F12</kbd> to open the debugging tool.
207
207
208
-
1. For an Outlook add-in, if the add-in's manifest is configured for a read surface, select an email message or appointment item to open it in its own window. If the add-in is configured for only a compose surface, open a new message, reply to message, or new appointment window. Ensure that the appropriate window has focus and press F12 to pen the debugging tool.
208
+
1. For an Outlook add-in, if the add-in's manifest is configured for a read surface, select an email message or appointment item to open it in its own window. If the add-in is configured for only a compose surface, open a new message, reply to message, or new appointment window. Ensure that the appropriate window has focus and press <kbd>F12</kbd> to pen the debugging tool.
209
209
210
210
1. After the tool is open, launch the add-in. The exact steps vary depending on the design of your add-in. Typically, you press a button to open a task pane. In Outlook, in the toolbar at the top of the window, select the **More apps** button, and then select your add-in from the callout that opens.
Copy file name to clipboardExpand all lines: docs/develop/extended-overrides.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Use the manifest to tell Office where to find the JSON file. Immediately *below*
36
36
</OfficeApp>
37
37
```
38
38
39
-
The following is an example of a very simple extended overrides JSON file. It assigns keyboard shortcut CTRL+SHIFT+A to a function (defined elsewhere) that opens the add-in's task pane.
39
+
The following is an example of a very simple extended overrides JSON file. It assigns keyboard shortcut <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>A</kbd> to a function (defined elsewhere) that opens the add-in's task pane.
Copy file name to clipboardExpand all lines: docs/develop/teams-toolkit-overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Install the latest version of Teams Toolkit into Visual Studio Code as described
39
39
1.**Close Outlook desktop**.
40
40
1. In Visual Studio Code, open Teams Toolkit.
41
41
1. In the **ACCOUNTS** section, verify that you're signed into Microsoft 365.
42
-
1. Select **View** | **Run** in Visual Studio Code. In the **RUN AND DEBUG** drop down menu, select the option, **Outlook Desktop (Edge Chromium)**, and then press F5. The project builds and a Node dev-server window opens. This process may take a couple of minutes. Eventually, Outlook desktop will open.
42
+
1. Select **View** | **Run** in Visual Studio Code. In the **RUN AND DEBUG** drop down menu, select the option, **Outlook Desktop (Edge Chromium)**, and then press <kbd>F5</kbd>. The project builds and a Node dev-server window opens. This process may take a couple of minutes. Eventually, Outlook desktop will open.
43
43
1. Open the **Inbox***of your Microsoft 365 account identity* and open any message. A **Contoso Add-in** tab with two buttons will appear on the **Home** ribbon (or the **Message** ribbon, if you have opened the message in its own window).
44
44
1. Click the **Show Taskpane** button and a task pane opens. Click the **Perform an action** button and a small notification appears near the top of the message.
45
45
1. To stop debugging and uninstall the add-in, select **Run** | **Stop Debugging** in Visual Studio Code.
0 commit comments