-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Apply AutoProps to TextBox settings in SUI #14178
Conversation
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.
Wait, won't this make the UIA tree confusing? In every case, we will have two objects with the same automation properties (AND TOOLTIPS) in the tree, one of which is outside of and much larger than the other.
It feels like it'll tell the user, "There's a control here that will let you set the title. Expand. There's a control here that will let you set the title. Text box."
I must admit.. I still don't see how this helps. The TextBox is not a Panel, and so both it and the containing control will receive the same tooltip and the same accessibility description. In addition, the tooltip is also displayed on the screen inside the expander. None of these things actually seem to be the right place for that tooltip, or the associated automation description. |
Yup! Verified with JAWS user Alex Benoit. It's 100% ok to have multiple controls have the same name as long as they are exposed as different controls. Since it's being read as "expanded/collapsed" (expander) vs "edit" (text box), he understands the UI tree. |
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.
SGTM given your most recent comments.
Eh, |
A potential counter point is that |
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.
sure, you tested it with someone who actually uses this everyday? that's better than any review I could give.
Now, just conflicts to fix! I bet it's "removing the redundant tooltips" |
Hello @carlos-zamora! 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 (
|
We already were setting the automation properties on the expander, however, we were not setting it on the content when an expander was present. This change applies the automation properties to both the expander and the child content (i.e. TextBox). Closes #13827 (cherry picked from commit 62b34cf) Service-Card-Id: 87207144 Service-Version: 1.16
We already were setting the automation properties on the expander, however, we were not setting it on the content when an expander was present. This change applies the automation properties to both the expander and the child content (i.e. TextBox). Closes #13827 (cherry picked from commit 62b34cf) Service-Card-Id: 87207143 Service-Version: 1.15
🎉 Handy links: |
🎉 Handy links: |
We already were setting the automation properties on the expander, however, we were not setting it on the content when an expander was present. This change applies the automation properties to both the expander and the child content (i.e. TextBox).
Closes #13827