Skip to content

Commit b3d29e7

Browse files
authored
Merge pull request #7894 from MicrosoftDocs/main637853188600669987
For protected CLA branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 296a2d0 + 695806f commit b3d29e7

40 files changed

+354
-153
lines changed

.openpublishing.redirection.mac.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
22
"redirections": [
3+
{
4+
"source_path_from_root": "/mac/accessibility-ide-options.md",
5+
"redirect_url": "/visualstudio/mac/accessibility",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path_from_root": "/mac/accessibility-macos.md",
10+
"redirect_url": "/visualstudio/mac/accessibility",
11+
"redirect_document_id": false
12+
},
313
{
414
"source_path_from_root": "/mac/accessibility-voiceover.md",
515
"redirect_url": "/visualstudio/mac/accessibility-macos?view=vsmac-2019",

docs/index.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ productDirectory:
3636
- title: Visual Studio for Mac
3737
imageSrc: ./media/vs-mac-2019.svg
3838
links:
39-
- url: /visualstudio/mac
40-
text: Visual Studio 2019 for Mac (current)
39+
- url: /visualstudio/mac/?view=vsmac-2022&preserve-view=true
40+
text: Visual Studio 2022 for Mac (current)
41+
- url: /visualstudio/mac/?view=vsmac-2019&preserve-view=true
42+
text: Visual Studio 2019 for Mac
4143
- url: /previous-versions/visualstudio/mac/
4244
text: Visual Studio 2017 for Mac
4345
- url: /visualstudio/releasenotes/vs2019-mac-relnotes

mac/TOC.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
href: ide-tour.md
77
- name: Visual Studio for Mac for Windows users
88
href: vsmac-for-windows-users.md
9-
- name: Integrated terminal
10-
href: integrated-terminal.md
119
- name: Installation
1210
items:
1311
- name: Install
@@ -64,6 +62,8 @@
6462
href: managing-solutions-and-project-properties.md
6563
- name: Multitargeting
6664
href: project-multitargeting.md
65+
- name: Integrated terminal
66+
href: integrated-terminal.md
6767
- name: Managing references in a project
6868
items:
6969
- name: Overview
@@ -184,10 +184,6 @@
184184
items:
185185
- name: Overview
186186
href: accessibility.md
187-
- name: Setting IDE accessibility options
188-
href: accessibility-ide-options.md
189-
- name: Using macOS Accessibility Tools
190-
href: accessibility-macos.md
191187
- name: Using Keyboard Navigation
192188
href: accessibility-keyboard.md
193189
- name: Reference

mac/accessibility-ide-options.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

mac/accessibility-macos.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

mac/accessibility.md

Lines changed: 80 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,101 @@
11
---
2-
title: "Accessibility"
3-
description: "Introduction of accessibility features in Visual Studio for Mac and how they can be enabled."
2+
title: "Accessibility options in Visual Studio for Mac IDE and macOS"
3+
description: "Introduction of accessibility features in Visual Studio for Mac and how they can be enabled. Also learn about using macOS accessibility options and features, such as high contrast, keyboard navigation, and VoiceOver in Visual Studio for Mac"
44
author: jmatthiesen
55
ms.author: jomatthi
66
manager: dominicn
7-
ms.date: 09/23/2019
7+
ms.date: 02/23/2022
88
ms.assetid: 2C4AAC2E-3B4A-4496-8BE0-1F5A7F81D1CA
99
ms.topic: overview
1010
---
1111

1212
# Accessibility
1313

14-
There are a number of accessibility tools and features built right into macOS to assist you when using Visual Studio for Mac. In addition to these, Visual Studio for Mac also has the following features to make it more accessible for people of varying abilities:
14+
There are a number of accessibility tools and features built right into macOS to assist you when using Visual Studio for Mac. These features include a high-contrast mode, keyboard navigation, and VoiceOver (the macOS screen reader).
15+
16+
In addition to these, Visual Studio for Mac also has the following features to make it more accessible for people of varying abilities:
1517

1618
* Editor text enlargement
1719
* Tool window text enlargement
1820
* Code editor color theme customization
1921
* Keyboard shortcut customization
2022
* Keyboard navigation
2123

24+
In this article, learn how to use macOS accessibility features, and to set accessibility options in the Visual Studio for Mac IDE.
25+
2226
> [!NOTE]
2327
> This guide refers to Visual Studio for Mac. For Visual Studio on Windows, see [Accessibility features of Visual Studio](/visualstudio/ide/reference/accessibility-features-of-visual-studio).
2428
25-
For more information, see the following topics:
29+
::: moniker range="vsmac-2019"
30+
## Enable macOS accessibility features in Visual Studio for Mac
31+
32+
In Visual Studio for Mac, support for assistive technologies is turned off by default. To enable accessibility support:
33+
34+
1. Go to **Visual Studio (menu)** > **Preferences** > **Other**, and select **Accessibility**.
35+
36+
1. Select the **Enable Accessibility** check box.
37+
38+
![Screenshot of Accessibility Preferences, with Enable Accessibility selected](media/accessibility-preferences.png)
39+
40+
1. Select **Restart Visual Studio** to enable support for the assistive technologies of Apple.
41+
42+
Alternatively, you can use the command line to enable accessibility features. To do this, enter the following command in terminal:
43+
44+
```bash
45+
defaults write com.microsoft.visual-studio com.monodevelop.AccessibilityEnabled 1
46+
```
47+
48+
After changing this setting via the command line, you will need to restart Visual Studio.
49+
50+
::: moniker-end
51+
52+
## Increase the contrast in macOS
53+
54+
Visual Studio for Mac supports increased contrast in macOS, increasing the contrast of UI elements and making outlines more defined. To enable this:
55+
56+
1. Open **System Preferences**.
57+
58+
1. Go to **Accessibility**, and select **Display**.
59+
60+
1. Select the **Increase contrast** check box.
61+
62+
## Resize tool windows and editor content
63+
64+
1. Choose the tool window or editor window for which you want to resize the content.
65+
66+
1. Choose **View (menu)**, and then select **Zoom In (⌘+)** or **Zoom Out (⌘-)**.
67+
68+
> [!TIP]
69+
> To reset the content to the default size, you can choose **View (menu)** > **Normal Size (⌘0)**.
70+
71+
## Change the content font and size
72+
73+
It's possible to customize the font and size of content in most tool windows in Visual Studio for Mac. Here's how:
74+
75+
1. Go to **Visual Studio (menu)** > **Preferences... (⌘,)**.
76+
77+
1. In **Preferences**, go to **Environment** > **Fonts**.
78+
79+
1. For either **Text Editor**, **General Tool Window Text**, or **Output Window Contents**, select the font and size button.
80+
81+
1. Select your desired font, style, and size, and select **OK**.
82+
83+
> [!TIP]
84+
> To return to the default font and style for each setting, select **Set to Default**.
85+
86+
## Change the editor syntax highlighting
87+
88+
Some users might find that the default color scheme doesn't meet their contrast or color requirements. Visual Studio for Mac has a number of alternative themes that the user can select, including two high contrast themes.
89+
90+
1. Go to **Visual Studio (menu)** > **Preferences... (⌘,)**.
91+
92+
1. In **Preferences**, go to **Text Editor** > **Color Theme**.
93+
94+
1. Select your desired theme.
95+
96+
> [!TIP]
97+
> The theme will update in the editor in real time, so you can preview and select your preferred theme.
98+
99+
For more information, see the following topic:
26100

27-
* [Set IDE accessibility options](accessibility-ide-options.md)
28-
* [Use macOS accessibility features and tools](accessibility-macos.md)
29-
* [Use keyboard navigation](accessibility-keyboard.md)
30-
* [Use macOS VoiceOver with Visual Studio for Mac](accessibility-voiceover.md)
101+
* [Use keyboard navigation](accessibility-keyboard.md)

mac/docfx.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"ThirdPartyNotices"
3333
],
3434
"src": "./",
35-
"group": "vsmac-2019"
35+
"group": "vsmac-2019-2022"
3636
}
3737
],
3838
"resource": [
@@ -63,7 +63,7 @@
6363
"**/includes/**"
6464
],
6565
"src": "./",
66-
"group": "vsmac-2019"
66+
"group": "vsmac-2019-2022"
6767
}
6868
],
6969
"overwrite": [],
@@ -125,9 +125,9 @@
125125
"dest": "2017",
126126
"moniker_range": "vsmac-2017"
127127
},
128-
"vsmac-2019": {
129-
"dest": "2019",
130-
"moniker_range": "vsmac-2019"
128+
"vsmac-2019-2022": {
129+
"dest": "2019-2022",
130+
"moniker_range": ">=vsmac-2019"
131131
}
132132
}
133133
}

0 commit comments

Comments
 (0)