Skip to content

Controls do not change ControlType accessible property value when AccessibleRole changes #3618

@vladimir-krestov

Description

@vladimir-krestov
  • Original Bug: 1129920
  • .NET Core Version: 5.0
  • Have you experienced this same bug with .NET Framework?: Yes

Problem description:

  • ControlType property for Label, GroupBox and other controls doesn't depend on the Role property.
    ControlType and Localized control type properties stay unchanged if to change AccessibleRole property value.

Expected behavior:

  • ControlType and Localized control type properties should be changed when Accessible Role is changed.

Minimal repro:

  • Create a .Net 5.0 app
  • Add a Label to the app form
  • Change its AccessibleRole value
  • Run the app and check LabelAccessibleObject Localized control type accessible property using Inspect

Metadata

Metadata

Labels

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