dotnet / dotnet/winforms

WinForms TabControl does not expose TabItem controls to UIAutomation

Open
#10,408 10 comments 0 reactions 1 assignee Claimed by @LeafShi1 View on GitHub
:boom: regression-release :construction: work in progress investigate tenet-accessibility
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

### .NET version

.NET 8

### Did it work in .NET Framework?

Yes

### Did it work in any of the earlier releases of .NET Core or .NET 5+?

Yes, I believe it was working in .NET 6.

### Issue description

For a WinForms TabControl, the tab page is exposed through UIAutomation but the TabItem controls are missing so there is no way for automations to switch between tabs.

### Steps to reproduce

Create a WinForms app. Add a TabControl. By default it will have to pages. Run it. Walk the tree of the application. Tab page is there but no TabItem controls.

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.