-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[Accessibility][ScreenReader]: Fixing tooltip text announcing by NVDA/Narrator #2074
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
Conversation
Codecov Report
@@ Coverage Diff @@
## release/3.1 #2074 +/- ##
=====================================================
+ Coverage 26.4715% 26.51825% +0.04675%
=====================================================
Files 806 806
Lines 268111 268121 +10
Branches 38071 38073 +2
=====================================================
+ Hits 70973 71101 +128
+ Misses 192056 191941 -115
+ Partials 5082 5079 -3
|
|
Business case approved for 3.1 from the feature team side. |
|
@vladimir-krestov has the test team verified this fix already? Are you ready for review now? |
|
Not tested yet. |
ffb67ef to
2dd7fe1
Compare
|
Changed the implementation. |
|
The fix has some test issues. |
| /// </summary> | ||
| private void AnnounceText(Control tool, string text) | ||
| { | ||
| tool?.AccessibilityObject.RaiseAutomationNotification( |
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.
Should you use the elvis operator ? after AccessibilityObject as well?
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.
Any need to validate Automation is not null?
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 are right. Sometimes AccessibleObject property returns null. I need to handle it.
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.
Thanks, fixed.
|
#2096 is merged, so I can to continue work on this PR. |
2dd7fe1 to
3914bb7
Compare
|
Testers approved this fix. ✔️ |
Fixes #2073
Original bug: 987952
Proposed changes
- Add IToolTip interface and implement it to unite elements (Control, ToolStripItem, DataGridViewElement) which can have a tooltip (this is necessary to the correct, simple and short implementation of raising UIA notification.)Customer Impact
Regression?
Risk
Screenshots
Before
After
Test methodology
Accessibility testing
Test environment(s)
Microsoft Reviewers: Open in CodeFlow