Skip to content

For MaskedTextBox with Mask setting, the Name property in Inspect should be empty #7938

@Olina-Zhang

Description

@Olina-Zhang

.NET version

8.0.100-alpha.1.22512.32

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 previous .Net versions: 7.0/6.0

Issue description

For MaskedTextBox with Mask setting, the Name property in Inspect should be empty. This issue is regressed from PR fixing: #7741

Actual result:
image

Expected result:
image

Steps to reproduce

Repro steps:

  1. Create a Winforms .Net 8.0 application
  2. Add several maskedTextBox controls
  3. Set them with different mask: PhoneNumeber, ShortDate
  4. Build and run application, use Inspect to check these controls' Name property

or use this attached sample application:
WinFormsApp8.zip

Metadata

Metadata

Labels

💥 regression-previewRegression from a preview releasea11y-MASHigh Priority - Accessibility violation of Microsoft Accessibility Standardstenet-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