dotnet / dotnet/maui

[WinUI] Implement `SetSemanticFocus` for WinUI

Open
#3,473 0 comments 0 reactions 0 assignees View on GitHub
area-core-platform legacy-area-a11y platform/windows t/a11y Task
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

### Description

The `SetSemanticFocus` API in the new SemanticExtensions for accessibility currently has no Windows implementation.

A starter solution is in the works, but the nuances between touch focus and keyboard focus are still being investigated.

### (Public) API Changes

# Semanticextensions

| API | Description |
| ------------- | ------------- |
| SetSemanticFocus | [SetFocus](https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.automation.peers.automationpeer.setfocus?view=winui-3.0) among others still being investigated |

### Usage Scenarios

https://github.com/dotnet/maui/blob/e690737dd81a9014b63680da1c3cc206919d3f1f/src/Controls/samples/Controls.Sample/Pages/Core/SemanticsPage.xaml.cs#L32

### Backward Compatibility

XCT also will need to updated accordingly

### Difficulty

Medium

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.