協助工具選項Accessibility

Visual Studio for Mac 具有下列輔助功能,使具有不同能力的人更容易存取:Visual Studio for Mac has the following accessibility features, making it more accessible for people with differing abilities:

  • Solution Pad 與 Editor Pad 中的文字放大Text enlargement in the solution and editor pads
  • 編輯器中的文字大小選項Text size options in the editors
  • 編輯器中的色彩自訂Color customization in the editors
  • 鍵盤瀏覽Keyboard navigation
  • 快速鍵自訂Shortcut customization
  • 方法和參數的程式碼完成Code-completion for methods and parameters

除了這些功能外,Apple 還提供數種工具來協助有特殊需求的使用者,例如 VoiceOver 和語音輸入。In addition to these features, Apple provides a number of tools to assist users with special needs, such as VoiceOver and Dictation.

如需 macOS 中協助工具功能的詳細資訊,請參閱 Apple 的網站For more information on accessibility features in macOS, see Apple's website.

在 Visual Studio for Mac 中啟用 macOS 輔助技術Enabling macOS Assistive Technologies in Visual Studio for Mac

根據預設,Visual Studio for Mac 對 macOS 輔助技術的支援處於關閉狀態。Visual Studio for Mac's support for macOS assistive technologies is turned off by default. 若要啟用它,請依照以下步驟進行:To enable it follow these steps:

  1. 移至 [Visual Studio] (功能表) > [偏好設定] > [其他] > [協助工具]Go to Visual Studio (menu) > Preferences > Other > Accessibility

  2. 檢查 [啟用協助工具] 核取方塊:Check the Enable Accessibility checkbox:

    [協助工具偏好設定] 核取方塊

  3. 選取 [重新啟動 Visual Studio] 按鈕以重新啟動 Visual Studio,並啟用對 Apple 輔助技術的支援。Select the Restart Visual Studio button to restart Visual Studio and enable support for Apple's assistive technologies.

HOW TO:使用鍵盤瀏覽How to: Use Keyboard Navigation

鍵盤瀏覽支援內建於 macOS 中,但為了獲得最全方位的體驗,您應該將 macOS 設定為瀏覽所有控制項Keyboard navigation support is built right into macOS, but in order to have the most comprehensive experience you should set macOS to navigate All controls:

系統喜好設定鍵盤的所有控制項

將 [完整鍵盤存取]設定為 [所有控制項],可讓您瀏覽視窗或對話方塊中的所有控制項。Setting Full Keyboard Access to All controls allows you to navigate through all controls in a window or dialog. 您接著可以使用下列方式來選取控制項:You can then select controls using:

  • 按 Tab 鍵以向前瀏覽控制項Tab to go forward through controls
  • 按 Shift-Tab 鍵以向後瀏覽控制項Shift-Tab to go backwards through controls
  • 按方向鍵可依箭頭方向在控制項之間移動Arrow keys to move between controls in the direction of the arrows
  • Control-Tab 超出文字區域方塊Control-Tab out of text-area boxes
  • 按空格鍵可啟動目前焦點所在的控制項。Pressing the Space bar activates the control currently in focus.

HOW TO:啟用及使用 VoiceOverHow to: Enable and Use VoiceOver

若要啟用或停用 VoiceOver,請按 ⌘ + F5To enable or disable VoiceOver press ⌘ + F5

VoiceOver 命令在本指南中顯示為 **VO+*key***,其中 VO 指的是 [VoiceOver 公用程式] 應用程式中設定的輔助按鍵。VoiceOver commands appear in this guide as VO+*key* whereby VO refers to the modifier set in the VoiceOver Utility application. 預設輔助按鍵為 Ctrl + Alt。例如,根據您的 VoiceOver 輔助按鍵,VO + M 將表示 Ctrl + Alt + M。為求簡潔,方向鍵將會稱為,依此類推。The default modifier is Ctrl + Alt. For example, depending on your VoiceOver modifier, VO + M will mean Ctrl + Alt + M. For brevity, cursor keys will be referred to as Left and Right, etc.

若要瀏覽 Visual Studio for Mac 使用者介面,請使用下列組合鍵:To navigate the Visual Studio for Mac user interface, use the following key combinations:

  • VO + 右 / 左:在使用者介面項目之間巡覽VO + Right / Left: Navigate between user interface elements
    • VoiceOver 將會宣布控制項的標籤和類型,並解釋如何與它進行互動。VoiceOver will announce the label and type of control, and explain how to interact with it.
  • VO + Shift + 下 / 上:進入 / 退出項目VO + Shift + Down / Up: Step into / out of an element
    • 進入項目後,您可以使用 VO + 左 / 右來巡覽其內的項目。Once inside an element you can use VO + Left / Right to navigate around elements within it.
  • VO + 空格鍵:選取控制項 / 與控制項互動VO + Space: Select / interact with a control
  • VO + M:與 Visual Studio for Mac 功能表列互動VO + M: Interact with the Visual Studio for Mac Menu Bar

如需使用 VoiceOver 和命令完整清單的詳細資訊,請參閱下列指南:For further information on using VoiceOver and a comprehensive list of commands, please refer to the following guides:

另請參閱See also