All docs
V21.2
21.2 (EAP/Beta)
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

Accessibility Support

  • 3 minutes to read

This topic describes how to enable UI Automation-based accessibility features in DevExpress WPF Controls, and apply the accessible DevExpress application theme to your application.

UI Automation-based Accessibility Features

UI Automation-based Accessibility Features (such as Screen readers) use Microsoft UI Automation framework to get information about UI elements. To obtain the information, the framework requires that controls include UI Automation peers and raise UI Automation events.

Enable UI Automation-based Accessibility Features

UI Automation peers and events are removed in DevExpress WPF Controls. This allows our controls to avoid an impact on performance in applications that do not rely on UI Automation. To support UI Automation-based Windows features, enable UI Automation peers and events in one of the following ways:

Enable Validation Support

Set the ValidationService.AllowAccessibilityAlerts property to true to inform the user of validation errors in the focused editors and data cells.

Users receive validation alerts when they perform the following actions:

  • Focus an editor that has validation errors.
  • Select a cell that has validation errors in a GridControl or a PropertyGridControl.
  • Change a correct value to an incorrect one or vice versa. The alert is only sent after input validation. If the ValidateOnTextInput property is set to true, input validation occurs on every character change, but the user only receives a single alert when validation passes or fails.
  • Invoke a tooltip that has an error message.
  • Attempt to switch focus from the editor that has validation errors when the InvalidValueBehavior property is set to WaitForValidValue.

Screen Reader App Limitation

The following DevExpress WPF controls do not allow the UI Automation framework to access to their embedded documents, graphic canvases, or designer surfaces:

This limitation does not apply to any shell UI integrated into these controls: Ribbon, Toolbars, or Tool Windows.

Themes

High Contrast Theme

You can apply the Office 2019 High Contrast theme to DevExpress WPF Controls.

DevExpress WPF Theme - Office2019HighContrast

Refer to the following documentation topic for more information on how to apply a DevExpress theme: Apply a DevExpress theme.

Enhanced Contrast Predefined Palette

The Enhanced Contrast predefined palette uses color combinations that help people with vision impairment distinguish text, borders, selection states, and other visual elements.

Contrast Predefined Palette

You can use the predefined Contrast palette with the Office 2016 SE, Office 2019, Visual Studio 2017, Visual Studio 2019 themes.

See Also