Skip to content

Commit 686aa35

Browse files
authored
Merge pull request #7771 from Mikejo5000/mikejo-acc
Updates for accessibility
2 parents 55bc9df + cc0d3d4 commit 686aa35

8 files changed

+29
-29
lines changed

docs/debugger/attach-to-running-processes-with-the-visual-studio-debugger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ms.workload:
3232
---
3333
# Attach to running processes with the Visual Studio debugger
3434

35-
You can attach the Visual Studio debugger to a running process on a local or remote computer. After the process is running, select **Debug** > **Attach to Process** or press **Ctrl**+**Alt**+**P** in Visual Studio, and use the **Attach to Process** dialog to attach the debugger to the process.
35+
You can attach the Visual Studio debugger to a running process on a local or remote computer. After the process is running, select **Debug** > **Attach to Process** or press **Ctrl**+**Alt**+**p** in Visual Studio, and use the **Attach to Process** dialog to attach the debugger to the process.
3636

3737
You can use **Attach to Process** to debug running apps on local or remote computers, debug multiple processes simultaneously, debug apps that weren't created in Visual Studio, or debug any app you didn't start from Visual Studio with the debugger attached. For example, if you're running an app without the debugger and hit an exception, you can then attach the debugger to the process running the app and begin debugging.
3838

docs/debugger/debugger-feature-tour.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ This command resumes app execution (and advances the debugger) until the current
8787

8888
## Run to cursor
8989

90-
When you are editing code (rather than paused in the debugger), right-click a line of code in your app and choose **Run to Cursor**. This command starts debugging and sets a temporary breakpoint on the current line of code.
90+
When you are editing code (rather than paused in the debugger), right-click a line of code in your app and choose **Run to Cursor** (or press **Ctrl** to **F10**). This command starts debugging and sets a temporary breakpoint on the current line of code.
9191

9292
![Run to Cursor](../debugger/media/dbg-tour-run-to-cursor.png "Run to Cursor")
9393

@@ -102,7 +102,7 @@ This command is useful when you are editing code and want to quickly set a tempo
102102
103103
## Restart your app quickly
104104

105-
Click the **Restart** ![Restart App](../debugger/media/dbg-tour-restart.png "Restart App") button in the Debug Toolbar (**Ctrl + Shift +F5**).
105+
Click the **Restart** ![Restart App](../debugger/media/dbg-tour-restart.png "Restart App") button in the Debug Toolbar (or press **Ctrl + Shift + F5**).
106106

107107
When you press **Restart**, it saves time versus stopping the app and restarting the debugger. The debugger pauses at the first breakpoint that is hit by executing code.
108108

docs/debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ During debugging, the **Modules** window shows the code modules the debugger is
212212

213213
**To monitor or change symbol locations or options while debugging:**
214214

215-
1. To open the **Modules** window, while debugging, select **Debug** > **Windows** > **Modules**.
215+
1. To open the **Modules** window, while debugging, select **Debug** > **Windows** > **Modules** (or press **Ctrl** + **Alt** + **U**).
216216
1. In the **Modules** window, right-click the **Symbol Status** or **Symbol File** headers, or any module.
217217
1. In the context menu, select one of the following options:
218218

docs/debugger/using-breakpoints.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ You can control when and where a breakpoint executes by setting conditions. The
7979

8080
**To set a breakpoint condition:**
8181

82-
1. Right-click the breakpoint symbol and select **Conditions**. Or hover over the breakpoint symbol, select the **Settings** icon, and then select **Conditions** in the **Breakpoint Settings** window.
82+
1. Right-click the breakpoint symbol and select **Conditions** (or press **Alt** + **F9**, **C**). Or hover over the breakpoint symbol, select the **Settings** icon, and then select **Conditions** in the **Breakpoint Settings** window.
8383

8484
You can also set conditions in the **Breakpoints** window by right-clicking a breakpoint and selecting **Settings**, and then selecting **Conditions**.
8585

@@ -118,7 +118,7 @@ If you set a breakpoint condition with invalid syntax, a warning message appears
118118

119119
1. Set a breakpoint in the code some place after the object has been created.
120120

121-
2. Start debugging, and when execution pauses at the breakpoint, select **Debug** > **Windows** > **Locals** or **Alt**+**4** to open the **Locals** window.
121+
2. Start debugging, and when execution pauses at the breakpoint, select **Debug** > **Windows** > **Locals** (or press **Ctrl** + **Alt** + **V**, **L**) to open the **Locals** window.
122122

123123
Find the specific object instance in the **Locals** window, right-click it, and select **Make Object ID**.
124124

@@ -163,7 +163,7 @@ You can break execution when a function is called. This is useful, for example,
163163

164164
**To set a function breakpoint:**
165165

166-
1. Select **Debug** > **New Breakpoint** > **Function Breakpoint**, or press **Alt**+**F9** > **Ctrl**+**B**.
166+
1. Select **Debug** > **New Breakpoint** > **Function Breakpoint**, or press **Ctrl** + **K**, **B**.
167167

168168
You can also select **New** > **Function Breakpoint** in the **Breakpoints** window.
169169

@@ -200,7 +200,7 @@ You can break execution when a function is called. This is useful, for example,
200200

201201
2. Find the address of the instance (for example, `0xcccccccc`).
202202

203-
3. Select **Debug** > **New Breakpoint** > **Function Breakpoint**, or press **Alt**+**F9** > **Ctrl**+**B**.
203+
3. Select **Debug** > **New Breakpoint** > **Function Breakpoint**, or press **Ctrl** + **K**, **B**.
204204

205205
4. Add the following to the **Function Name** box, and select **C++** language.
206206

@@ -237,7 +237,7 @@ Data breakpoints in .NET Core won't work for:
237237

238238
**To set a data breakpoint:**
239239

240-
1. In a C++ project, start debugging, and wait until a breakpoint is reached. On the **Debug** menu, choose **New Breakpoint** > **Data Breakpoint**
240+
1. In a C++ project, start debugging, and wait until a breakpoint is reached. On the **Debug** menu, choose **New Breakpoint** > **Data Breakpoint**.
241241

242242
You can also select **New** > **Data Breakpoint** in the **Breakpoints** window or right-click an item in the **Autos**, **Watch**, or **Locals** window and select **Break when value changes** in the context menu.
243243

@@ -262,7 +262,7 @@ Data breakpoints don't work under the following conditions:
262262

263263
In the **Breakpoints** window, you can search, sort, filter, enable/disable, or delete breakpoints. You can also set conditions and actions, or add a new function or data breakpoint.
264264

265-
To open the **Breakpoints** window, select **Debug** > **Windows** > **Breakpoints**, or press **Alt**+**F9** or **Ctrl**+**Alt**+**B**.
265+
To open the **Breakpoints** window, select **Debug** > **Windows** > **Breakpoints**, or press **Ctrl**+**Alt**+**B**.
266266

267267
![Breakpoints window](../debugger/media/breakpointswindow.png "Breakpoints window")
268268

@@ -308,7 +308,7 @@ To visually trace breakpoints during code execution, see [Map methods on the cal
308308

309309
### Set a breakpoint in the Disassembly window
310310

311-
1. To open the **Disassembly** window, you must be paused during debugging. Select **Debug** > **Windows** > **Disassembly**, or press **Alt**+**8**.
311+
1. To open the **Disassembly** window, you must be paused during debugging. Select **Debug** > **Windows** > **Disassembly**, or press **Ctrl**+**Alt**+**D**.
312312

313313
2. In the **Disassembly** window, click in the left margin of the instruction you want to break at. You can also select it and press **F9**, or right-click and select **Breakpoint** > **Insert Breakpoint**.
314314

docs/test/getting-started-with-unit-testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,13 @@ This section describes how to create a unit test project.
174174
1. Open [Test Explorer](../test/run-unit-tests-with-test-explorer.md).
175175

176176
::: moniker range=">=vs-2019"
177-
To open Test Explorer, choose **Test** > **Test Explorer** from the top menu bar.
177+
To open Test Explorer, choose **Test** > **Test Explorer** from the top menu bar (or press **Ctrl** + **E**, **T**).
178178
::: moniker-end
179179
::: moniker range="vs-2017"
180180
To open Test Explorer, choose **Test** > **Windows** > **Test Explorer** from the top menu bar.
181181
::: moniker-end
182182

183-
1. Run your unit tests by clicking **Run All**.
183+
1. Run your unit tests by clicking **Run All** (or press **Ctrl** + **R**, **V**).
184184

185185
![Run unit tests in Test Explorer](media/vs-2019/test-explorer-run-all.png)
186186

@@ -268,7 +268,7 @@ To add a unit test project:
268268

269269
![Add code to your unit test code file](media/vs-2019/unit-test-method.png)
270270

271-
6. Run the test from **Test Explorer** or by right-clicking on the test code and choosing **Run Test(s)**.
271+
6. Run the test from **Test Explorer** or by right-clicking on the test code and choosing **Run Test(s)** (or **Ctrl** + **R**, **T**).
272272

273273
## Next steps
274274

docs/test/run-unit-tests-with-test-explorer.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Visual Studio includes the Microsoft unit testing frameworks for both managed an
2828

2929
## Run tests in Test Explorer
3030

31-
When you build the test project, the tests appear in Test Explorer. If Test Explorer is not visible, choose **Test** on the Visual Studio menu, choose **Windows**, and then choose **Test Explorer**.
31+
When you build the test project, the tests appear in Test Explorer. If Test Explorer is not visible, choose **Test** on the Visual Studio menu, choose **Windows**, and then choose **Test Explorer** (or press **Ctrl** + **E**, **T**).
3232

3333
::: moniker range="vs-2017"
3434
![Unit Test Explorer](../test/media/ute_failedpassednotrunsummary.png)
@@ -58,11 +58,11 @@ You can perform much of the work of finding, organizing and running tests from t
5858
::: moniker range="vs-2017"
5959
You can run all the tests in the solution, all the tests in a group, or a set of tests that you select. Do one of the following:
6060

61-
- To run all the tests in a solution, choose **Run All**.
61+
- To run all the tests in a solution, choose **Run All** (or press **Ctrl** + **R**, **V**).
6262

6363
- To run all the tests in a default group, choose **Run** and then choose the group on the menu.
6464

65-
- Select the individual tests that you want to run, open the right-click menu for a selected test and then choose **Run Selected Tests**.
65+
- Select the individual tests that you want to run, open the right-click menu for a selected test and then choose **Run Selected Tests** (or press **Ctrl** + **R**, **T**).
6666

6767
- If individual tests have no dependencies that prevent them from being run in any order, turn on parallel test execution with the ![Screenshot of the Parallel test execution toggle button on the Visual Studio Test Explorer toolbar. When this button is selected, tests will run in parallel.](../test/media/ute_parallelicon-small.png) toggle button on the toolbar. This can noticeably reduce the time taken to run all the tests.
6868

@@ -71,11 +71,11 @@ The **pass/fail bar** at the top of the **Test Explorer** window is animated as
7171
::: moniker range=">=vs-2019"
7272
You can run all the tests in the solution, all the tests in a group, or a set of tests that you select. Do one of the following:
7373

74-
- To run all the tests in a solution, choose the **Run All** icon.
74+
- To run all the tests in a solution, choose the **Run All** icon (or press **Ctrl** + **R**, **V**).
7575

7676
- To run all the tests in a default group, choose the **Run** icon and then choose the group on the menu.
7777

78-
- Select the individual tests that you want to run, open the right-click menu for a selected test and then choose **Run Selected Tests**.
78+
- Select the individual tests that you want to run, open the right-click menu for a selected test and then choose **Run Selected Tests** (or press **Ctrl** + **R**, **T**).
7979

8080
- If individual tests have no dependencies that prevent them from being run in any order, turn on parallel test execution in the settings menu of the toolbar. This can noticeably reduce the time taken to run all the tests.
8181
::: moniker-end
@@ -124,7 +124,7 @@ If the test fails, the details pane also displays:
124124

125125
### View the source code of a test method
126126

127-
To display the source code for a test method in the Visual Studio editor, select the test and then choose **Open Test** on the right-click menu (Keyboard: **F12**).
127+
To display the source code for a test method in the Visual Studio editor, select the test and then choose **Open Test** on the right-click menu (or press **F12**).
128128

129129
## Group and filter the test list
130130

docs/test/unit-test-basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public void My_Test ()
230230

231231
## Run tests in Test Explorer
232232

233-
When you build the test project, the tests appear in **Test Explorer**. If **Test Explorer** is not visible, choose **Test** on the Visual Studio menu, choose **Windows**, and then choose **Test Explorer**.
233+
When you build the test project, the tests appear in **Test Explorer**. If **Test Explorer** is not visible, choose **Test** on the Visual Studio menu, choose **Windows**, and then choose **Test Explorer** (or press **Ctrl** + **E**, **T**).
234234

235235
::: moniker range="vs-2017"
236236
![Unit Test Explorer](../test/media/ute_failedpassednotrunsummary.png)
@@ -254,7 +254,7 @@ The **Test Explorer** toolbar helps you discover, organize, and run the tests th
254254
![Run tests from the Test Explorer toolbar](../test/media/vs-2019/test-explorer-toolbar-diagram-16-2.png)
255255
::: moniker-end
256256

257-
You can choose **Run All** to run all your tests, or choose **Run** to choose a subset of tests to run. Select a test to view the details of that test in the test details pane. Choose **Open Test** from the right-click menu (Keyboard: **F12**) to display the source code for the selected test.
257+
You can choose **Run All** to run all your tests (or press **Ctrl** + **R**, **V**), or choose **Run** to choose a subset of tests to run (**Ctrl** + **R**, **T**). Select a test to view the details of that test in the test details pane. Choose **Open Test** from the right-click menu (Keyboard: **F12**) to display the source code for the selected test.
258258

259259
::: moniker range="vs-2017"
260260

docs/test/walkthrough-creating-and-running-unit-tests-for-managed-code.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ This article steps you through creating, running, and customizing a series of un
132132

133133
6. Rename the file to *BankAccount.cs* by right-clicking and choosing **Rename** in **Solution Explorer**.
134134

135-
7. On the **Build** menu, click **Build Solution**.
135+
7. On the **Build** menu, click **Build Solution** (or press **Ctrl** + **SHIFT** + **B**).
136136

137137
You now have a project with methods you can test. In this article, the tests focus on the `Debit` method. The `Debit` method is called when money is withdrawn from an account.
138138

@@ -181,7 +181,7 @@ Create a test class to verify the `BankAccount` class. You can use the *UnitTest
181181

182182
### Rename a file and class
183183

184-
1. To rename the file, in **Solution Explorer**, select the *UnitTest1.cs* file in the BankTests project. From the right-click menu, choose **Rename**, and then rename the file to *BankAccountTests.cs*.
184+
1. To rename the file, in **Solution Explorer**, select the *UnitTest1.cs* file in the BankTests project. From the right-click menu, choose **Rename** (or press **F2**), and then rename the file to *BankAccountTests.cs*.
185185

186186
::: moniker range="vs-2017"
187187

@@ -191,7 +191,7 @@ Create a test class to verify the `BankAccount` class. You can use the *UnitTest
191191

192192
::: moniker range=">=vs-2019"
193193

194-
2. To rename the class, position the cursor on `UnitTest1` in the code editor, right-click, and then choose **Rename**. Type in **BankAccountTests** and then press **Enter**.
194+
2. To rename the class, position the cursor on `UnitTest1` in the code editor, right-click, and then choose **Rename** (or press **F2**). Type in **BankAccountTests** and then press **Enter**.
195195

196196
::: moniker-end
197197

@@ -283,11 +283,11 @@ A test method must meet the following requirements:
283283

284284
## Build and run the test
285285

286-
1. On the **Build** menu, choose **Build Solution**.
286+
1. On the **Build** menu, choose **Build Solution** (or press **Ctrl** + **SHIFT** + **B**).
287287

288-
2. If **Test Explorer** is not open, open it by choosing **Test** > **Windows** > **Test Explorer** from the top menu bar.
288+
2. If **Test Explorer** is not open, open it by choosing **Test** > **Windows** > **Test Explorer** from the top menu bar (or press **Ctrl** + **E**, **T**).
289289

290-
3. Choose **Run All** to run the test.
290+
3. Choose **Run All** to run the test (or press **Ctrl** + **R**, **V**).
291291

292292
While the test is running, the status bar at the top of the **Test Explorer** window is animated. At the end of the test run, the bar turns green if all the test methods pass, or red if any of the tests fail.
293293

@@ -317,7 +317,7 @@ m_balance -= amount;
317317

318318
### Rerun the test
319319

320-
In **Test Explorer**, choose **Run All** to rerun the test. The red/green bar turns green to indicate that the test passed.
320+
In **Test Explorer**, choose **Run All** to rerun the test (or press **Ctrl** + **R**, **V**). The red/green bar turns green to indicate that the test passed.
321321

322322
![Test Explorer in Visual Studio 2019 showing passed test](media/test-explorer-banktests-passed.png)
323323

0 commit comments

Comments
 (0)