Added UIA support for split container#6519
Conversation
fd99e0b to
c315936
Compare
|
@Danil-Andrianov I'm having a hard time seeing what is different between the screenshots. |
|
@JeremyKuhne the difference is just in provider, please, check screenshots from Inspect. AI data are same in both cases. |
a39942f to
1395ee6
Compare
SergeySmirnov-Akvelon
left a comment
There was a problem hiding this comment.
Looks good if it works
|
@Olina-Zhang - could you please test this change? |
1432f21
1395ee6 to
1432f21
Compare
|
Tested this PR for splitContainer control in Accessibility tools, it supports UIA provider and no issue was found finally. |
|
@Danil-Andrianov , can you please rebase this? |
1432f21 to
58bf120
Compare
|
|
||
| namespace System.Windows.Forms.Tests | ||
| { | ||
| public class SplitContainer_SplitContainerAccessibilityObjectTests : IClassFixture<ThreadExceptionFixture> |
There was a problem hiding this comment.
| public class SplitContainer_SplitContainerAccessibilityObjectTests : IClassFixture<ThreadExceptionFixture> | |
| public class SplitContainer_SplitContainerAccessibleObjectTests : IClassFixture<ThreadExceptionFixture> |
| @@ -26,9 +26,9 @@ public void SplitContainerAccessibilityObject_ControlType_IsPane_IfAccessibleRol | |||
| splitContainer.CreateControl(); | |||
There was a problem hiding this comment.
Change "Accessible" in the test name as well
| using var control = new SplitContainer | ||
| { | ||
| Name = "SplitContainer1", | ||
| AccessibleName = "TestName" | ||
| }; | ||
|
|
||
| var accessibleObject = new SplitContainer.SplitContainerAccessibleObject(control); |
There was a problem hiding this comment.
Please use one style for all tests, as you did before:
| using var control = new SplitContainer | |
| { | |
| Name = "SplitContainer1", | |
| AccessibleName = "TestName" | |
| }; | |
| var accessibleObject = new SplitContainer.SplitContainerAccessibleObject(control); | |
| using SplitContainer control = new() | |
| { | |
| Name = "SplitContainer1", | |
| AccessibleName = "TestName" | |
| }; | |
| SplitContainer.SplitContainerAccessibleObject accessibleObject = new(control); |
58bf120 to
149a66d
Compare
149a66d to
ad985bc
Compare
Tanya-Solyanik
left a comment
There was a problem hiding this comment.
Thank you, looks good!
Partially implements #3421
Proposed changes
Customer Impact
Before update:
After update:
Regression?
Risk
Test methodology
Accessibility testing
Test environment(s)
Microsoft Reviewers: Open in CodeFlow