Text of code.visualstudio.com › docs › configure › accessibility › accessibility as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

Accessibility

AI agents: See llms.txt for documentation discovery and navigation. Documentation articles are also available as Markdown by appending .md to the article URL. Join VS Code at Microsoft Ignite or catch the sessions online. A year of VS Code, wrapped. Explore the highlights. Accessibility View as Markdown Ask in VS Code Ask in VS Code Insiders Visual Studio Code has many features to help make the editor accessible to all users.

Zoom levels and High Contrast colors improve editor visibility, keyboard-only navigation supports use without a mouse, and the editor is optimized for screen readers. Zoom You can adjust the zoom level in VS Code with the View > Appearance > Zoom commands. Each Zoom command increases or decreases the zoom level by 20 percent. View > Appearance > Zoom In ( ⌘= (Windows, Linux Ctrl+= ) ) - increase the zoom level. View > Appearance > Zoom Out ( ⌘- (Windows, Linux Ctrl+- ) ) - decrease the zoom level.

View > Appearance > Reset Zoom ( ⌘Numpad0 (Windows, Linux Ctrl+Numpad0 ) ) - reset the zoom level to 0. Note : If you are using a magnifier, hold down the Alt key while viewing the hover to move the cursor over the hover. Persisted zoom level When you adjust the zoom level with the View > Appearance > Zoom In / Out commands, the zoom level is persisted in the window.zoomLevel Open in VS Code Open in VS Code Insiders setting .

The default value is 0. Each increment above or below 0 represents zooming 20% in or out. You can also enter decimals to adjust the zoom level with a finer granularity. Accessibility help The command Open Accessibility Help ⌥F1 (Windows Alt+F1 , Linux Shift+Alt+F1 ) opens a help menu based on the current context. It currently applies to the editor, terminal, notebook, Chat view, and Inline Chat features. You can dismiss the accessibility help menu or open additional documentation from within the help menu.

High Contrast theme VS Code supports a High Contrast color theme on all platforms. Use File > Preferences > Theme > Color Theme ( ⌘K ⌘T (Windows, Linux Ctrl+K Ctrl+T ) ) to display the Select Color Theme dropdown and select the High Contrast theme. Color vision accessibility You can search for extensions in Visual Studio Marketplace that are compatible with color vision deficiency. Use the Extensions view ⇧⌘X (Windows, Linux Ctrl+Shift+X ) and search for "color blind" to populate relevant options.

Once you have installed a color theme from the Marketplace, you can change the color theme with File > Preferences > Theme > Color Theme ⌘K ⌘T (Windows, Linux Ctrl+K Ctrl+T ) . Recommended themes for color vision accessibility GitHub - Accessible to most forms of color blindness and matches the themes in GitHub's settings. Gotthard - Optimized for approximately 20 programming languages. Blinds - Created for people with deuteranopia, featuring a high contrast color ratio.

Greative - Considers both color blindness and light sensitivity. Pitaya Smoothie - Accessible to most forms of color blindness and compliant with WCAG 2.1 criteria for color contrast . 365 Day & Night - A Light, Dark, High Contrast, and High Contrast Light theme for every month, checked with protanopia, deuteranopia, and tritanopia simulations and WCAG 2.2 criteria for color contrast . Customizing warning colors The default Color Theme for VS Code is Dark+ .

However, you can customize both the theme and property colors in the user interface. Note : Go to Customize a Color Theme for more information about overriding the colors in your current theme. To customize the error and warning squiggles, go to File > Preferences > Settings for user settings. Search for "color customizations" to find the Workbench: Color Customizations setting, and open your user settings.json file by selecting Edit in settings.json .

In your settings.json file, nest the following code inside the outermost curly braces. You can assign a color to each object by entering a hex code. "workbench.colorCustomizations" : { "editorError.foreground" : "#ffef0f" , "editorWarning.foreground" : "#3777ff" } In the following example, the warning color is applied when a comma is missing after a JSON item. editorError.foreground - Overrides the wavy line beneath an error. editorWarning.foreground - Overrides the wavy line beneath a warning. editorError.background - Overrides the highlight color of an error. editorWarning.background - Overrides the highlight color of a warning.

Assigning a color to the background of editorError and editorWarning also helps to identify potential issues. The color that you choose will highlight the respective error or warning. The colors shown in the preceding example, #ffef0f (yellow) and #37777ff (blue), are more accessible to individuals with common forms of color vision deficiencies. Selecting accessible colors The accessibility of colors is subjective to the type of anomalous trichromacy (color blindness).

The level of severity ranges per person and can be divided into four condition types: Condition Type Deuteranopia Reduced sensitivity to green light. It is the most common form of color blindness. Protanopia Reduced sensitivity to red light. Tritanopia Reduced sensitivity to blue light. This condition is considered rare. Monochromia The inability to see all colors, also referred to as achromatopsia. More information about the rarest form of color blindness: Foundation for Fighting Blindness .

One of the best approaches to selecting the best colors for a specific condition is to apply complementary colors. These are colors located opposite of one another on a color wheel. Note : For more information on finding complementary colors, access the color blind simulator and interactive color wheel at Adobe Color . Dim unfocused editors and terminals Unfocused views can be dimmed to make it clearer where typed input will go.

This is especially useful when working with multiple editor groups or terminals. Turn on this feature by setting "accessibility.dimUnfocused.enabled": true . You can control the dimness level with accessibility.dimUnfocused.opacity Open in VS Code Open in VS Code Insiders , which takes the opacity fraction from 0.2 to 1 (default 0.75). Keyboard navigation VS Code provides an exhaustive list of commands in the Command Palette ( ⇧⌘P (Windows, Linux Ctrl+Shift+P ) ) so that you can use VS Code without a mouse.

Press ⇧⌘P (Windows, Linux Ctrl+Shift+P ) , then type a command name (for example 'git') to filter the list of commands. VS Code also has many preset keyboard shortcuts for commands. You can also set your own keyboard shortcuts. File > Preferences > Keyboard Shortcuts ( ⌘K ⌘S (Windows, Linux Ctrl+K Ctrl+S ) ) opens the Keyboard Shortcuts editor, where you can discover and modify keyboard shortcuts for VS Code actions.

See Key Bindings for more details on customizing or adding your own keyboard shortcuts. For quick navigation across the workbench, we recommend using Focus Next Part ( F6 ) and Focus Previous Part ( ⇧F6 (Windows, Linux Shift+F6 ) ) commands. Anchor selection To make it easier to start and end selections with the keyboard, there are four commands: Set Selection Anchor ( ⌘K ⌘B (Windows, Linux Ctrl+K Ctrl+B ) ), Select From Anchor to Cursor ( ⌘K ⌘K (Windows, Linux Ctrl+K Ctrl+K ) ), Cancel Selection Anchor ( Escape ) and Go to Selection Anchor .

Tab navigation You can use the Tab key to navigate between UI controls in VS Code. Use Shift+Tab to tab in reverse order. As you tab through the UI controls, an indicator will appear around each UI element when it has focus. All elements in the workbench support tab navigation. To avoid having too many tab stops, workbench toolbars and tab lists each have only one. Once a toolbar or a tab list has focus, you can use the arrow keys to navigate within them.

Note : Tab navigation goes in the visually natural order, with the exception of WebViews (like Markdown preview). For WebViews, we recommend using the F6 and ⇧F6 (Windows, Linux Shift+F6 ) comman

The rest of this page is on the live site.