You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The number box control is composed on a spinner and a text box. However, the name that we set for the number box is only applied to the spinner but the editable text box has a null name property.
Steps to reproduce the bug
Steps to reproduce the behavior:
Run accessibility insights on a NumberBox.
Expected behavior
When the Accessible name property is set using AutomationProperties there should not be any error thrown in Accessibility insights regarding the name not being set.
Screenshots
The following screenshots are of the xaml controls gallery. This is just an example. Tried to set the AutomationProperty.Name in numerous ways. Also tried to use AutomationProperties.LabeledBy but the name does not percolate to the edit textbox.
The name that we set percolates only to the spinner and not to the edit textbox, thereby throwing an error with accessibility insights which cannot be programmatically set in any other way because it is encapsulated in the <muxc:NumberBox> control.
Describe the bug
The number box control is composed on a spinner and a text box. However, the name that we set for the number box is only applied to the spinner but the editable text box has a null name property.
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
When the Accessible name property is set using AutomationProperties there should not be any error thrown in Accessibility insights regarding the name not being set.
Screenshots
The following screenshots are of the xaml controls gallery. This is just an example. Tried to set the AutomationProperty.Name in numerous ways. Also tried to use AutomationProperties.LabeledBy but the name does not percolate to the edit textbox.
The name that we set percolates only to the spinner and not to the edit textbox, thereby throwing an error with accessibility insights which cannot be programmatically set in any other way because it is encapsulated in the
<muxc:NumberBox>
control.Version Info
NuGet package version:
Microsoft.UI.Xaml 2.5.0-prerelease.200708003
Windows app type:
Additional context
Linked Issue in PowerToys - microsoft/PowerToys#6082
The text was updated successfully, but these errors were encountered: