Skip to content

Accessibility: The list item of comboBox incorrectly displayed in inspect tree when setting its DropDownStyle as DropDown or DropDownList. #3654

@Amy-Li03

Description

@Amy-Li03
  • .NET Core Version:
    .NET SDK 5.0.100-rc.1.20377.3

  • More Info:
    This is not a regression issue, it also reproduce on .NET Core 3.1.

  • Have you experienced this same bug with .NET Framework?:
    No

Problem description:
When setting ComboBox's DropDownStyle as DropDown or DropDownList, the list item of comboBox doesn't display below Form1 window node, it incorrectly displayed below Desktop1 panel node.
Core

Expected behavior:
The list items of comboBox's UIA hierarchy should display below Form1 window node.
Framework

Minimal repro:

  1. Launch Inspect tool.
  2. Create WinForms core project with a comboBox control.
  3. Set the DropDownStyle property of comboBox as DropDown or DropDownList.
  4. Run the project.
  5. Focus on the list items of comboBox, then observe the UIA hierarchy in inspect tree.

Metadata

Metadata

Labels

tenet-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