-
Notifications
You must be signed in to change notification settings - Fork 698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NumberBox does not set a default AutomationProperties.Name value based on its header. #1854
Comments
I think this is an issue with NumberBox. Setting AutomationProperties.Name explicitly, the |
@chingucoding you're right. I remember having this discussion on the original NumberBox page PR. Moving this issue to WinUI. |
@SavoySchuler If there is no header, what should the default automation name be? should the placeholder text be used? Header is an Object, what if it doesn't have a good string equivalent? |
We could do something similar to
|
When you look at the sample in the XAML Controls Gallery, the "spinner" has a UIA name, when using AutomationProperties.LabeledBy or AutomationProperties.Name. I think this UIA name should also apply to the "edit". |
I don't think this issue was actually fixed. Can someone re-check it? I still see it in version 2.4.2. Edit: Actually this is related to the header only so perhaps it was fixed. I'm having a related issue in #2951 though. |
Describe the bug
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
Name Property should be there for text box
Actual behavior
Text box name property missing.
Screenshots
Version Info
Gallery version (found on Settings page):
1.2.12.0
Additional context
Copied from internal bug
The text was updated successfully, but these errors were encountered: