Partager via


How to: Set IDE Accessibility Options

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Visual Studio contains features that make it easier for people who have low vision to read and for people who have limited dexterity to write. These features include changing the size and color of text in editors, changing the size of text and buttons on toolbars, and auto-completion for methods and parameters, to name a few.

In addition, Visual Studio supports Dvorak keyboard layouts, which make the most frequently typed characters more accessible. You can also customize the default shortcut keys available with Visual Studio. For more information, see Identifying and Customizing Keyboard Shortcuts.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Customizing Development Settings in Visual Studio.

Editors, Dialogs, and Tool Windows

By default, dialog boxes and tool windows in Visual Studio use the same font size and colors as the operating system. The color settings for the frame of the IDE, dialog boxes, toolbars, and tool windows are based a color scheme: light or dark. You can change the current color theme in the General, Environment, Options Dialog Box.

You can also display pop-up windows in the Code view of the editor. These windows can prompt you with available members on the current object and the parameters to complete a function or statement. These windows can be helpful if you have difficulty typing. However, they interfere with focus in the code editor, which can be problematic for some users. You can turn off these windows by opening the Options dialog box and clearing Auto list members and Parameter information in the Text Editor, All Languages, General page in the Options dialog box. For more information, see How to: Set General Editor Options.

You can rearrange the windows in the integrated development environment (IDE) to best suit the way you work. You can dock, float, hide, or automatically hide each tool window.

For more information about how to change window layouts, see Customizing window layouts.

Changing the Size of Text

You can change the settings for text-based tool windows, such as the Command window, Immediate window, and Output window, in the Fonts and Colors pane of the Environment options in the Tools dialog box. When [All Text Tool Windows] is selected in the Show settings for drop-down list, the default setting is listed as Default in the Item foreground and Item background drop-down lists. You can also change the settings for how text is displayed in the editor.

To change the size of text in text-based tool windows and editors
  1. From the Tools menu, choose Options.

  2. Choose Fonts and Colors on the Environment folder.

  3. Select an option on the Show settings for drop-down menu.

    To change the font size for text in an editor, choose Text Editor.

    To change the font size for text in text-based tool windows, choose [All Text Tool Windows].

    To change the font size for ToolTip text in an editor, choose Editor Tooltip.

    To change the font size for text in statement completion pop-ups, choose Statement Completion.

  4. From Display items, select Plain Text.

  5. In Font, select a new font type.

  6. In Size, select a new font size.

    Note

    To reset the text size for text-based tool windows and editors, choose Use Defaults.

  7. Choose OK.

Changing the Colors used in the IDE

You can also choose to change the default colors for text, margin indicators, white space, and code elements in the editor.

Note

To use high contrast colors for all application windows on your operating system, press Left ALT+Left SHIFT+PRINT SCREEN. If Visual Studio is open, close and reopen Visual Studio to fully implement high contrast colors.

To change the color of items in the editor
  1. From the Tools menu, choose Options.

  2. Choose Fonts and Colors from the Environment folder.

  3. In Show settings for, choose Text Editor.

  4. From Display items, select an item whose display you need to change, such as Plain Text, Indicator Margin, Visible White Space, HTML Attribute Name, or XML Attribute.

  5. Select display settings from the following options: Item foreground, Item background, and Bold.

  6. Choose OK.

Toolbars

To improve toolbar usability and accessibility, you can add text to toolbar buttons.

To assign text to toolbar buttons

  1. From the Tools menu, choose Customize.

  2. In the Customize dialog box, select the Commands tab.

  3. Select Toolbar and then choose the toolbar name that contains the button you intend to display text for.

  4. In the list, select the command you intend to change.

  5. Choose Modify Selection.

  6. Choose Image and Text.

To modify the button's displayed text

  1. Re-select Modify Selection.

  2. Adjacent to In Name, insert provide a new caption for the selected button.

See Also

Accessibility Features of Visual Studio Resources for Designing Accessible Applications