Skip to content

Adding Splitter UIA accessibility#3246

Merged
RussKie merged 6 commits intodotnet:masterfrom
M-Lipin:Issue_3245_Splitter_accessibility_UIA
Jun 29, 2020
Merged

Adding Splitter UIA accessibility#3246
RussKie merged 6 commits intodotnet:masterfrom
M-Lipin:Issue_3245_Splitter_accessibility_UIA

Conversation

@M-Lipin
Copy link
Contributor

@M-Lipin M-Lipin commented May 8, 2020

Fixes #3245

Proposed changes

  • Adding Splitter accessibility object;
  • Switching Splitter accessibility to UIA providers.

Customer Impact

Regression?

  • YNo

Risk

  • Minimal

Screenshots

Before

image

After

image

Test methodology

  • Manual testing;
  • Unit testing;
  • UI automation tests.

Accessibility testing

  • Inspect and Accessibility Insights.
  • Accessibility client apps.

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

@M-Lipin M-Lipin requested a review from a team as a code owner May 8, 2020 19:38
@ghost ghost assigned M-Lipin May 8, 2020
Copy link
Contributor

@RussKie RussKie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add tests

@ghost ghost added the waiting-author-feedback The team requires more information from the author label May 20, 2020
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we devise tests that iterate over all AccessibleObject implementations in our codebase and verify we have necessary implementations?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

RussKie
RussKie previously approved these changes Jun 9, 2020
@RussKie RussKie force-pushed the Issue_3245_Splitter_accessibility_UIA branch 2 times, most recently from 0c6e1c1 to 91be4cc Compare June 9, 2020 02:06
RussKie
RussKie previously approved these changes Jun 9, 2020
@RussKie RussKie removed the waiting-author-feedback The team requires more information from the author label Jun 9, 2020
@RussKie
Copy link
Contributor

RussKie commented Jun 9, 2020

@SergeySmirnov-Akvelon I have rebased and applied few tweaks. Please have a look and complete the outstanding. Thank you

Mikhail Lipin and others added 2 commits June 24, 2020 13:42
@SergeySmirnov-Akvelon SergeySmirnov-Akvelon force-pushed the Issue_3245_Splitter_accessibility_UIA branch from 3f291ba to cd96782 Compare June 24, 2020 10:47
@SergeySmirnov-Akvelon SergeySmirnov-Akvelon force-pushed the Issue_3245_Splitter_accessibility_UIA branch from 763747d to 6402c2d Compare June 24, 2020 13:56
RussKie
RussKie previously approved these changes Jun 25, 2020
@dotnet dotnet deleted a comment from codecov bot Jun 25, 2020
@dotnet dotnet deleted a comment from codecov bot Jun 25, 2020
Copy link
Contributor

@vladimir-krestov vladimir-krestov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I don't see any critical errors

@SergeySmirnov-Akvelon SergeySmirnov-Akvelon force-pushed the Issue_3245_Splitter_accessibility_UIA branch 2 times, most recently from 024fa16 to c36a3a7 Compare June 25, 2020 12:48
@SergeySmirnov-Akvelon SergeySmirnov-Akvelon force-pushed the Issue_3245_Splitter_accessibility_UIA branch from c36a3a7 to 8c7668c Compare June 25, 2020 14:47
@codecov
Copy link

codecov bot commented Jun 25, 2020

Codecov Report

Merging #3246 into master will increase coverage by 31.56759%.
The diff coverage is 100.00000%.

@@                 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     
Flag Coverage Δ
#Debug 98.51872% <100.00000%> (+31.56758%) ⬆️
#production ?
#test 98.51872% <100.00000%> (+0.00087%) ⬆️

RussKie
RussKie previously approved these changes Jun 26, 2020
@RussKie
Copy link
Contributor

RussKie commented Jun 26, 2020

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@SergeySmirnov-Akvelon SergeySmirnov-Akvelon added the waiting-review This item is waiting on review by one or more members of team label Jun 26, 2020
@RussKie RussKie removed the waiting-review This item is waiting on review by one or more members of team label Jun 29, 2020
@RussKie
Copy link
Contributor

RussKie commented Jun 29, 2020

CTI approved

@RussKie RussKie merged commit cc0c827 into dotnet:master Jun 29, 2020
@RussKie RussKie deleted the Issue_3245_Splitter_accessibility_UIA branch June 29, 2020 05:29
@ghost ghost added this to the 5.0 Preview8 milestone Jun 29, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Feb 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

6 participants