Skip to content

Label edit in ListView has incorrect position in accessibility tree  #7263

Closed
@dmitrii-drobotov

Description

@dmitrii-drobotov

.NET version

7.0

Did it work in .NET Framework?

No

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

No

Issue description

Once #6309 is merged, edit control of ListViewItem will be placed as a last child of the ListView in accessibility tree (as of now it's a first child). Even though it's the same behavior as in the Windows File Explorer, it seems incorrect and also ignores ListView group structure. A more logical approach would be to put the edit control inside an item it belongs to — similar to DataGridView. See screenshots and discussion from #6309 (comment) and #6309 (comment) for more info.

Steps to reproduce

  1. Open Inspect or Accessibility Insights tool
  2. Build and run WinformsControlsTest app
  3. Open ListView window
  4. Click twice on any item on the top ListView to start editing it
  5. Find Edit control in the accessibility tool

Metadata

Metadata

Assignees

Labels

priority-2Work that is important, but not critical for the releasetenet-accessibilityMAS violation, UIA issue; problems with accessibility standards

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions