You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hub/android/wsa/release-notes.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,16 @@ ms.date: 03/15/2023
13
13
14
14
These release notes are based on updates to the Windows Subsystem for Android™️. For basic information on how to install and run Android™️ apps on Windows, see the Support article: [Installing the Amazon Appstore and Android™️ Apps](https://support.microsoft.com/windows/mobile-apps-and-the-windows-subsystem-for-android-f8d0abb5-44ad-47d8-b9fb-ad6b1459ff6c).
15
15
16
+
## Build 2303.40000.3.0
17
+
18
+
April 11, 2023
19
+
20
+
- Picture-in-picture mode now supported
21
+
- A new "Partially running" system setting added to WSA Settings app, which runs the subsystem with minimal resources but apps launch quicker than "As needed" mode
Copy file name to clipboardExpand all lines: hub/apps/design/accessibility/accessibility-overview.md
+13-50Lines changed: 13 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,11 @@ ms.topic: article
9
9
keywords: windows 10, uwp
10
10
ms.localizationpriority: medium
11
11
---
12
+
12
13
# Accessibility overview
13
14
14
15
This article is an overview of the concepts and technologies related to accessibility scenarios for Windows apps.
15
16
16
-
17
-
18
-
<spanid="Accessibility_and_your_app"></span>
19
-
<spanid="accessibility_and_your_app"></span>
20
-
<spanid="ACCESSIBILITY_AND_YOUR_APP"></span>
21
-
22
17
## Accessibility and your app
23
18
24
19
There are many possible disabilities or impairments, including limitations in mobility, vision, color perception, hearing, speech, cognition, and literacy. However, you can address most requirements by following the guidelines offered here. This means providing:
@@ -31,18 +26,10 @@ Controls for XAML provide built-in keyboard support and support for assistive te
31
26
32
27
In addition, data binding, style, and template features make it easy to implement support for dynamic changes to display settings and text for alternative UIs.
33
28
34
-
<spanid="UI_Automation"></span>
35
-
<spanid="ui_automation"></span>
36
-
<spanid="UI_AUTOMATION"></span>
37
-
38
29
## UI Automation
39
30
40
31
Accessibility support comes primarily from the integrated support for the Microsoft UI Automation framework. That support is provided through base classes and the built-in behavior of the class implementation for control types, and an interface representation of the UI Automation provider API. Each control class uses the UI Automation concepts of automation peers and automation patterns that report the control's role and content to UI Automation clients. The app is treated as a top-level window by UI Automation, and through the UI Automation framework all the accessibility-relevant content within that app window is available to a UI Automation client. For more info about UI Automation, see [UI Automation Overview](/windows/desktop/WinAuto/uiauto-uiautomationoverview).
41
32
42
-
<spanid="Assistive_technology"></span>
43
-
<spanid="assistive_technology"></span>
44
-
<spanid="ASSISTIVE_TECHNOLOGY"></span>
45
-
46
33
## Assistive technology
47
34
48
35
Many user accessibility needs are met by assistive technology products installed by the user or by tools and settings provided by the operating system. This includes functionality such as screen readers, screen magnification, and high-contrast settings.
@@ -59,10 +46,6 @@ Apps that have good keyboard and screen reader support usually work well with va
59
46
60
47
Some of the options that you can use for testing basic accessibility scenarios with assistive technologies are listed in [Accessibility testing](accessibility-testing.md).
## Screen reader support and basic accessibility information
67
50
68
51
Screen readers provide access to the text in an app by rendering it in some other format, such as spoken language or Braille output. The exact behavior of a screen reader depends on the software and on the user's configuration of it.
@@ -73,28 +56,16 @@ The most important information that a screen reader or any other assistive techn
73
56
74
57
There are several other automation properties available (including the keyboard properties described in the next section). However, not all screen readers support all automation properties. In general, you should set all appropriate automation properties and test to provide the widest possible support for screen readers.
75
58
76
-
<spanid="Keyboard_support"></span>
77
-
<spanid="keyboard_support"></span>
78
-
<spanid="KEYBOARD_SUPPORT"></span>
79
-
80
59
## Keyboard support
81
60
82
61
To provide good keyboard support, you must ensure that every part of your application can be used with a keyboard. If your app uses mostly the standard controls and doesn't use any custom controls, you are most of the way there already. The basic XAML control model provides built-in keyboard support including tab navigation, text input, and control-specific support. The elements that serve as layout containers (such as panels) use the layout order to establish a default tab order. That order is often the correct tab order to use for an accessible representation of the UI. If you use [**ListBox**](/uwp/api/Windows.UI.Xaml.Controls.ListBox) and [**GridView**](/uwp/api/Windows.UI.Xaml.Controls.GridView) controls to display data, they provide built-in arrow-key navigation. Or if you use a [**Button**](/uwp/api/Windows.UI.Xaml.Controls.Button) control, it already handles the Spacebar or Enter keys for button activation.
83
62
84
63
For more info about all the aspects of keyboard support, including tab order and key-based activation or navigation, see [Keyboard accessibility](keyboard-accessibility.md).
85
64
86
-
<spanid="Media_and_captioning"></span>
87
-
<spanid="media_and_captioning"></span>
88
-
<spanid="MEDIA_AND_CAPTIONING"></span>
89
-
90
65
## Media and captioning
91
66
92
67
You typically display audiovisual media through a [**MediaElement**](/uwp/api/Windows.UI.Xaml.Controls.MediaElement) object. You can use **MediaElement** APIs to control the media playback. For accessibility purposes, provide controls that enable users to play, pause, and stop the media as needed. Sometimes, media includes additional components that are intended for accessibility, such as captioning or alternative audio tracks that include narrative descriptions.
93
68
94
-
<spanid="Accessible_text"></span>
95
-
<spanid="accessible_text"></span>
96
-
<spanid="ACCESSIBLE_TEXT"></span>
97
-
98
69
## Accessible text
99
70
100
71
Three main aspects of text are relevant to accessibility:
@@ -103,18 +74,10 @@ Three main aspects of text are relevant to accessibility:
103
74
* Many users have sight limitations that make it difficult for them to read text unless it has adequate contrast against the background. How this impacts the user is not intuitive for app designers who do not have that sight limitation. For example, for color-blind users, poor color choices in the design can prevent some users from being able to read the text. Accessibility recommendations that were originally made for web content define standards for contrast that can avoid these problems in apps as well. For more info, see [Accessible text requirements](accessible-text-requirements.md).
104
75
* Many users have difficulty reading text that is simply too small. You can prevent this issue by making the text in your app's UI reasonably large in the first place. However, that's challenging for apps that display large quantities of text, or text interspersed with other visual elements. In such cases, make sure that the app correctly interacts with the system features that can scale up the display, so that any text in apps scales up along with it. (Some users change dpi values as an accessibility option. That option is available from **Make things on the screen larger** in **Ease of Access**, which redirects to a **Control Panel** UI for **Appearance and Personalization** / **Display**.)
105
76
106
-
<spanid="Supporting_high-contrast_themes"></span>
107
-
<spanid="supporting_high-contrast_themes"></span>
108
-
<spanid="SUPPORTING_HIGH-CONTRAST_THEMES"></span>
109
-
110
77
## Supporting high-contrast themes
111
78
112
79
UI controls use a visual representation that is defined as part of a XAML resource dictionary of themes. One or more of these themes is specifically used when the system is set for high contrast. When the user switches to high contrast, by looking up the appropriate theme from a resource dictionary dynamically, all your UI controls will use an appropriate high-contrast theme too. Just make sure that you haven't disabled the themes by specifying an explicit style or using another styling technique that prevents the high-contrast themes from loading and overriding your style changes. For more info, see [High-contrast themes](high-contrast-themes.md).
113
80
114
-
<spanid="Design_for_alternative_UI"></span>
115
-
<spanid="design_for_alternative_ui"></span>
116
-
<spanid="DESIGN_FOR_ALTERNATIVE_UI"></span>
117
-
118
81
## Design for alternative UI
119
82
120
83
When you design your apps, consider how they may be used by people with limited mobility, vision, and hearing. Because assistive technology products make extensive use of standard UI, it is particularly important to provide good keyboard and screen-reader support even if you make no other adjustments for accessibility.
## Assistive technology support in custom controls
188
143
189
144
When you create a custom control, we recommend that you also implement or extend one or more [**AutomationPeer**](/uwp/api/Windows.UI.Xaml.Automation.Peers.AutomationPeer) subclasses to provide accessibility support. In some cases, so long as you use the same peer class as was used by the base control class, the automation support for your derived class is adequate at a basic level. However, you should test this, and implementing a peer is still recommended as a best practice so that the peer can correctly report the class name of your new control class. Implementing a custom automation peer has a few steps involved. For more info, see [Custom automation peers](custom-automation-peers.md).
## Assistive technology support in apps that support XAML / Microsoft DirectX interop
196
147
197
148
Microsoft DirectX content that's hosted in a XAML UI (using [**SwapChainPanel**](/uwp/api/Windows.UI.Xaml.Controls.SwapChainPanel) or [**SurfaceImageSource**](/uwp/api/Windows.UI.Xaml.Media.Imaging.SurfaceImageSource)) is not accessible by default. The [XAML SwapChainPanel DirectX interop sample](https://github.com/microsoftarchive/msdn-code-gallery-microsoft/tree/411c271e537727d737a53fa2cbe99eaecac00cc0/Official%20Windows%20Platform%20Sample/Windows%208.1%20Store%20app%20samples/%5BC%23%5D-Windows%208.1%20Store%20app%20samples/XAML%20SwapChainPanel%20DirectX%20interop%20sample) shows how to create UI Automation peers for the hosted DirectX content. This technique makes the hosted content accessible through UI Automation.
198
149
150
+
## Examples
151
+
152
+
> [!TIP]
153
+
> [!div class="nextstepaction"]
154
+
> Open the WinUI 3 Gallery app and see the following Accessibility principles in action:
> The **WinUI 3 Gallery** app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the [Microsoft Store](https://www.microsoft.com/store/productId/9P3JFPWWDZRC) or get the source code on [GitHub](https://github.com/microsoft/WinUI-Gallery)
*[**TextElement**](/uwp/api/Windows.UI.Xaml.Documents.TextElement) and derived classes
175
175
176
-
<spanid="related_topics"></span>
176
+
## Examples
177
+
178
+
> [!TIP]
179
+
> [!div class="nextstepaction"]
180
+
> [Open the WinUI 3 Gallery app and see text accessibility support in action](winui3gallery://item/AccessibilityScreenReader).
181
+
182
+
> The **WinUI 3 Gallery** app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the [Microsoft Store](https://www.microsoft.com/store/productId/9P3JFPWWDZRC) or get the source code on [GitHub](https://github.com/microsoft/WinUI-Gallery)
Copy file name to clipboardExpand all lines: hub/apps/design/accessibility/high-contrast-themes.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -247,6 +247,14 @@ The following code snippet (from an App.xaml file) shows an example [**ThemeDict
247
247
</DataTemplate>
248
248
```
249
249
250
+
## Examples
251
+
252
+
> [!TIP]
253
+
> [!div class="nextstepaction"]
254
+
> [Open the WinUI 3 Gallery app and see color contrast accessibility support in action](winui3gallery://item/AccessibilityColorContrast).
255
+
256
+
> The **WinUI 3 Gallery** app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the [Microsoft Store](https://www.microsoft.com/store/productId/9P3JFPWWDZRC) or get the source code on [GitHub](https://github.com/microsoft/WinUI-Gallery)
Copy file name to clipboardExpand all lines: hub/apps/design/accessibility/keyboard-accessibility.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ ms.topic: article
9
9
keywords: windows 10, uwp
10
10
ms.localizationpriority: medium
11
11
---
12
+
12
13
# Keyboard accessibility
13
14
14
15
@@ -262,6 +263,14 @@ Keyboard shortcuts aren't typically relevant for Windows Phone apps, because a S
262
263
263
264
<spanid="related_topics"></span>
264
265
266
+
## Examples
267
+
268
+
> [!TIP]
269
+
> [!div class="nextstepaction"]
270
+
> [Open the WinUI 3 Gallery app and see keyboard accessibility support in action](winui3gallery://item/AccessibilityKeyboard).
271
+
272
+
> The **WinUI 3 Gallery** app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the [Microsoft Store](https://www.microsoft.com/store/productId/9P3JFPWWDZRC) or get the source code on [GitHub](https://github.com/microsoft/WinUI-Gallery)
0 commit comments