Adding Splitter UIA accessibility#3246
Conversation
There was a problem hiding this comment.
This would not be needed if you add support for UIA_LegacyIAccessiblePatternId. We have to continue supporting the MSAA, so please re-add the legacy pattern.
There was a problem hiding this comment.
Can we devise tests that iterate over all AccessibleObject implementations in our codebase and verify we have necessary implementations?
There was a problem hiding this comment.
We found out it is necessary. If we remove this line then "Name" property returns wrong value. The "SplitterAccessibleObject_GetPropertyValue_returns_correct_values" test is added for it.
0c6e1c1 to
91be4cc
Compare
|
@SergeySmirnov-Akvelon I have rebased and applied few tweaks. Please have a look and complete the outstanding. Thank you |
0afde75 to
3f291ba
Compare
Switching Splitter accessibility to UIA providers.
3f291ba to
cd96782
Compare
763747d to
6402c2d
Compare
...em.Windows.Forms/tests/UnitTests/AccessibleObjects/Splitter.SplitterAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
...em.Windows.Forms/tests/UnitTests/AccessibleObjects/Splitter.SplitterAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
vladimir-krestov
left a comment
There was a problem hiding this comment.
Looks good. I don't see any critical errors
src/System.Windows.Forms/src/System/Windows/Forms/Splitter.SplitterAccessibleObject.cs
Outdated
Show resolved
Hide resolved
...em.Windows.Forms/tests/UnitTests/AccessibleObjects/Splitter.SplitterAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
...em.Windows.Forms/tests/UnitTests/AccessibleObjects/Splitter.SplitterAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
...em.Windows.Forms/tests/UnitTests/AccessibleObjects/Splitter.SplitterAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
024fa16 to
c36a3a7
Compare
c36a3a7 to
8c7668c
Compare
Codecov Report
@@ Coverage Diff @@
## master #3246 +/- ##
====================================================
+ Coverage 66.95113% 98.51872% +31.56758%
====================================================
Files 1338 447 -891
Lines 504925 251944 -252981
Branches 40866 4148 -36718
====================================================
- Hits 338053 248212 -89841
+ Misses 161315 3019 -158296
+ Partials 5557 713 -4844
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
CTI approved |
Fixes #3245
Proposed changes
Customer Impact
Regression?
Risk
Screenshots
Before
After
Test methodology
Accessibility testing
Test environment(s)
Test environment(s)
.NET Core 5.0
Version: 5.0.100-alpha.1.20073.10
Commit: 29f4d693a9
Runtime Environment:
OS Name: Windows
OS Version: 10.0.18363
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\5.0.100-alpha1-05536
Host (useful for support):
Version: 5.0.0-alpha.1.20072.3
Commit: c3dc1fdfdc
Microsoft Reviewers: Open in CodeFlow