Skip to content

Commit eec5cb1

Browse files
committed
Merge branch 'main' into alzollin/msstorecli-setup
2 parents 38f04ba + 751921e commit eec5cb1

File tree

74 files changed

+1792
-585
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1792
-585
lines changed

hub/android/wsa/release-notes.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ ms.date: 03/15/2023
1313

1414
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).
1515

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
22+
- Linux kernel updated to 5.15.78
23+
- Improvements to platform reliability
24+
- Android 13 security updates
25+
1626
## Build 2302.4000
1727

1828
March 15, 2023

hub/apps/design/accessibility/accessibility-overview.md

Lines changed: 13 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,11 @@ ms.topic: article
99
keywords: windows 10, uwp
1010
ms.localizationpriority: medium
1111
---
12+
1213
# Accessibility overview
1314

1415
This article is an overview of the concepts and technologies related to accessibility scenarios for Windows apps.
1516

16-
17-
18-
<span id="Accessibility_and_your_app"></span>
19-
<span id="accessibility_and_your_app"></span>
20-
<span id="ACCESSIBILITY_AND_YOUR_APP"></span>
21-
2217
## Accessibility and your app
2318

2419
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
3126

3227
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.
3328

34-
<span id="UI_Automation"></span>
35-
<span id="ui_automation"></span>
36-
<span id="UI_AUTOMATION"></span>
37-
3829
## UI Automation
3930

4031
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).
4132

42-
<span id="Assistive_technology"></span>
43-
<span id="assistive_technology"></span>
44-
<span id="ASSISTIVE_TECHNOLOGY"></span>
45-
4633
## Assistive technology
4734

4835
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
5946

6047
Some of the options that you can use for testing basic accessibility scenarios with assistive technologies are listed in [Accessibility testing](accessibility-testing.md).
6148

62-
<span id="Screen_reader_support_and_basic_accessibility_information"></span>
63-
<span id="screen_reader_support_and_basic_accessibility_information"></span>
64-
<span id="SCREEN_READER_SUPPORT_AND_BASIC_ACCESSIBILITY_INFORMATION"></span>
65-
6649
## Screen reader support and basic accessibility information
6750

6851
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
7356

7457
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.
7558

76-
<span id="Keyboard_support"></span>
77-
<span id="keyboard_support"></span>
78-
<span id="KEYBOARD_SUPPORT"></span>
79-
8059
## Keyboard support
8160

8261
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.
8362

8463
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).
8564

86-
<span id="Media_and_captioning"></span>
87-
<span id="media_and_captioning"></span>
88-
<span id="MEDIA_AND_CAPTIONING"></span>
89-
9065
## Media and captioning
9166

9267
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.
9368

94-
<span id="Accessible_text"></span>
95-
<span id="accessible_text"></span>
96-
<span id="ACCESSIBLE_TEXT"></span>
97-
9869
## Accessible text
9970

10071
Three main aspects of text are relevant to accessibility:
@@ -103,18 +74,10 @@ Three main aspects of text are relevant to accessibility:
10374
* 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).
10475
* 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**.)
10576

106-
<span id="Supporting_high-contrast_themes"></span>
107-
<span id="supporting_high-contrast_themes"></span>
108-
<span id="SUPPORTING_HIGH-CONTRAST_THEMES"></span>
109-
11077
## Supporting high-contrast themes
11178

11279
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).
11380

114-
<span id="Design_for_alternative_UI"></span>
115-
<span id="design_for_alternative_ui"></span>
116-
<span id="DESIGN_FOR_ALTERNATIVE_UI"></span>
117-
11881
## Design for alternative UI
11982

12083
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.
@@ -169,35 +132,35 @@ private void ShowAccessibleUICheckBox_Click(object sender, RoutedEventArgs e)
169132
}
170133
```
171134

172-
<span id="Verification_and_publishing"></span>
173-
<span id="verification_and_publishing"></span>
174-
<span id="VERIFICATION_AND_PUBLISHING"></span>
175-
176135
## Verification and publishing
177136

178137
For more info about accessibility declarations and publishing your app, see [Accessibility in the Store](accessibility-in-the-store.md).
179138

180139
> [!NOTE]
181140
> Declaring the app as accessible is only relevant to the Microsoft Store.
182141
183-
<span id="Assistive_technology_support_in_custom_controls"></span>
184-
<span id="assistive_technology_support_in_custom_controls"></span>
185-
<span id="ASSISTIVE_TECHNOLOGY_SUPPORT_IN_CUSTOM_CONTROLS"></span>
186-
187142
## Assistive technology support in custom controls
188143

189144
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).
190145

191-
<span id="Assistive_technology_support_in_apps_that_support_XAML___Microsoft_DirectX_interop"></span>
192-
<span id="assistive_technology_support_in_apps_that_support_xaml___microsoft_directx_interop"></span>
193-
<span id="ASSISTIVE_TECHNOLOGY_SUPPORT_IN_APPS_THAT_SUPPORT_XAML___MICROSOFT_DIRECTX_INTEROP"></span>
194-
195146
## Assistive technology support in apps that support XAML / Microsoft DirectX interop
196147

197148
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.
198149

150+
## Examples
151+
152+
> [!TIP]
153+
> [!div class="nextstepaction"]
154+
> Open the WinUI 3 Gallery app and see the following Accessibility principles in action:
155+
> - [Screen reader support](winui3gallery://item/AccessibilityScreenReader)
156+
> - [Keyboard support](winui3gallery://item/AccessibilityKeyboard)
157+
> - [Color contrast](winui3gallery://item/AccessibilityColorContrast)
158+
159+
> 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)
160+
199161
## Related topics
200162

163+
201164
* [**Windows.UI.Xaml.Automation**](/uwp/api/Windows.UI.Xaml.Automation)
202165
* [Design for accessibility]()
203166
* [XAML accessibility sample](https://github.com/microsoftarchive/msdn-code-gallery-microsoft/tree/master/Official%20Windows%20Platform%20Sample/XAML%20accessibility%20sample)

hub/apps/design/accessibility/accessible-text-requirements.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,13 @@ These types have an **IsTextScaleFactorEnabled** property:
173173
* [**TextBlock**](/uwp/api/Windows.UI.Xaml.Controls.TextBlock)
174174
* [**TextElement**](/uwp/api/Windows.UI.Xaml.Documents.TextElement) and derived classes
175175

176-
<span id="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)
177183
178184
## Related topics
179185

hub/apps/design/accessibility/high-contrast-themes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,14 @@ The following code snippet (from an App.xaml file) shows an example [**ThemeDict
247247
</DataTemplate>
248248
```
249249

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)
257+
250258
## Related topics
251259

252260
- [Accessibility](accessibility.md)

hub/apps/design/accessibility/keyboard-accessibility.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ms.topic: article
99
keywords: windows 10, uwp
1010
ms.localizationpriority: medium
1111
---
12+
1213
# Keyboard accessibility
1314

1415

@@ -262,6 +263,14 @@ Keyboard shortcuts aren't typically relevant for Windows Phone apps, because a S
262263

263264
<span id="related_topics"></span>
264265

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)
273+
265274
## Related topics
266275

267276
* [Accessibility](accessibility.md)

0 commit comments

Comments
 (0)