-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Match SearchBox AutoProp.Name to placeholder text #14519
Conversation
@DHowett Localization is still a bit of a mystery to me, so let me know if you want me to remove one of the two implementations I have here. Figured I'd cover my bases haha. |
This PR does NOT close #14398. The issue says that the same issue is seen with combo boxes in our app, and I'm asking for clarification there. |
<!-- | ||
Microsoft ResX Schema | ||
|
||
<!-- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how did we accept another change that broke this file???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought any time we use VS's table thing, it always rewrites the top part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can't always rewrite it, it just always adds back these spaces and spelling errors if they're missing. :)
@@ -4,6 +4,7 @@ | |||
#include "pch.h" | |||
#include "SearchBoxControl.h" | |||
#include "SearchBoxControl.g.cpp" | |||
#include <LibraryResources.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should only need the resw
one for this, because it will automatically populate the attached property when it loads the resource tree. If that isn't working, ... then that sucks. Let me know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah it works. This was more because I have trust issues; like, this would work in the event the localization team doesn't read "This should match 'SearchBox_TextBox.PlaceholderText'" haha
Hello @DHowett! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Similar to #14519. Voice Access allows for functionality like "click <name>" to automatically move the cursor and click on a control. The Search Box had an AutoProp.Name that didn't match the button text, leading to confusion because Voice Access wouldn't be able to find a control named "Create". To fix this, we simply aligned the button text and the AutoProp.Name. Closes #13808
🎉 Handy links: |
Voice Access allows for functionality like "click <name>" to automatically move the cursor and click on a control. The Search Box had an AutoProp.Name that didn't match the placeholder text, leading to confusion because Voice Access wouldn't be able to find a control named "Find...".
To fix this, we simply aligned the placeholder text and the AutoProp.Name to be "Find". The elipses were removed because no dialog is opened.
This fix was accomplished by modifying the resources file to explicitly match the AutoProp.Name to the placeholder text.
Closes #14398