Skip to content

[AccessibilityInsight] Sometimes, the focus rectangle focus on property's edit part when using up/down to switch property items in PropertyGrid #12639

@MelonWang1

Description

@MelonWang1

.NET version

.NET 10.0.100-alpha.1.24611.5

Did it work in .NET Framework?

Yes

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

Yes, cannot repro in .NET 8.0. Also repro in .NET 9.0 + binaries built from release/9.0 branch of winforms repro. And caused by PR12479.

Issue description

Sometimes, the focus rectangle focus on property's edit part when using up/down to switch property items in PropertyGrid .

Actual result:

The focus rectangle sometimes focus to edit part.
Image

Issue1.mp4

Expected result:

The focus rectangle always focus to property item.

Issue1without.mp4

More info:

  1. This issue cannot repro in Inspect/Narrtor/NVDA tool.

  2. This issue also repro in go through the drop down list item using up/down keyboard.
    Image

Steps to reproduce

  1. Create a .NET Core Winforms project.
  2. Add a TextBox and PropertyGrid controls in form designer.
  3. Set the SelectedObject property to TextBox1 in propertyGrid1 control.
  4. Build and run project.
  5. Open Accessible Insight tool and select anyone property in propertyGrid control.
  6. Press up/down keyboard.

Metadata

Metadata

Assignees

Labels

💥 regression-releaseRegression from a public 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