Skip to content

Label edit in TreeView has incorrect position in accessibility tree #9956

Closed
@MelonWang1

Description

@MelonWang1

.NET version

.NET 8.0.100-rc.2.23469.4

Did it work in .NET Framework?

No

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

No, this issue also repro's in .NET3.1/5.0/6.0/7.0.

Issue description

This issue is similar with 7263. Edit control of TreeViewNode will be placed as a first child of the TreeView in accessibility tree.

before
before2

Steps to reproduce

  1. Create a Winforms .NET Core application
  2. Add a TreeView control
  3. Add some root node and child node
  4. Set TreeView control LabelEdit property is true
  5. Build and run
  6. Open Inspect or Accessibility Insights tool
  7. Click twice on any tree node to start editing it and find Edit control place in tools

Metadata

Metadata

Assignees

Labels

tenet-accessibilityMAS violation, UIA issue; problems with accessibility standards

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions