Skip to content

Adding UIA provider support to RadioButtonAccessibleObject#3244

Merged
RussKie merged 3 commits intodotnet:masterfrom
M-Lipin:Issue_3243_RadioButton_accessibility_UIA
Jun 30, 2020
Merged

Adding UIA provider support to RadioButtonAccessibleObject#3244
RussKie merged 3 commits intodotnet:masterfrom
M-Lipin:Issue_3243_RadioButton_accessibility_UIA

Conversation

@M-Lipin
Copy link
Contributor

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

Moving RadioButtonAccessibleObject to separate file.

Fixes #3243

Proposed changes

  • Adding UIA providers support for RadioButton control accessibility.
  • Moving RadioButtonAccessibleObject to separate file.

Customer Impact

Regression?

  • No

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)

.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 18:40
@ghost ghost assigned M-Lipin May 8, 2020
@M-Lipin M-Lipin changed the title Adding UIA provider support to RadioButtonAccessibleObject. Adding UIA provider support to RadioButtonAccessibleObject 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 rebase, correct NRT, and 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.

Is this case needed after you add support for legacy accessibility?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes. It's required for keeping of old behavior for "Name" property

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, as I found out it is necessary. Then we can have the ability to change AccessibleName. If we remove this line we will get the following result as for Label control:

MicrosoftTeams-image (1)

RadioButtonAccessibleObject_GetPropertyValue_returns_correct_values unit test should confirm this.

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.

Looks good 👍

@codecov
Copy link

codecov bot commented Jun 5, 2020

Codecov Report

Merging #3244 into master will decrease coverage by 27.93988%.
The diff coverage is 95.52239%.

@@                 Coverage Diff                  @@
##              master       #3244          +/-   ##
====================================================
- Coverage   62.14766%   34.20778%   -27.93989%     
====================================================
  Files           1257         891         -366     
  Lines         449428      253875      -195553     
  Branches       39227       36798        -2429     
====================================================
- Hits          279309       86845      -192464     
+ Misses        164638      162261        -2377     
+ Partials        5481        4769         -712     
Flag Coverage Δ
#Debug 34.20778% <95.52239%> (-27.93989%) ⬇️
#production 34.20778% <95.52239%> (+0.86585%) ⬆️
#test ?

@codecov
Copy link

codecov bot commented Jun 8, 2020

Codecov Report

Merging #3244 into master will decrease coverage by 27.85816%.
The diff coverage is 95.52239%.

@@                 Coverage Diff                  @@
##              master       #3244          +/-   ##
====================================================
- Coverage   62.14766%   34.28950%   -27.85817%     
====================================================
  Files           1257         891         -366     
  Lines         449428      253827      -195601     
  Branches       39227       36791        -2436     
====================================================
- Hits          279309       87036      -192273     
+ Misses        164638      162003        -2635     
+ Partials        5481        4788         -693     
Flag Coverage Δ
#Debug 34.28950% <95.52239%> (-27.85817%) ⬇️
#production 34.28950% <95.52239%> (+0.94756%) ⬆️
#test ?

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.

Looks good 👍, minor tweaks to the tests and it's ready to go

@codecov
Copy link

codecov bot commented Jun 18, 2020

Codecov Report

Merging #3244 into master will increase coverage by 31.91594%.
The diff coverage is 100.00000%.

@@                 Coverage Diff                  @@
##              master       #3244          +/-   ##
====================================================
+ Coverage   66.58991%   98.50585%   +31.91593%     
====================================================
  Files           1338         444         -894     
  Lines         501564      248101      -253463     
  Branches       40847        4091       -36756     
====================================================
- Hits          333991      244394       -89597     
+ Misses        162033        2999      -159034     
+ Partials        5540         708        -4832     
Flag Coverage Δ
#Debug 98.50585% <100.00000%> (+31.91593%) ⬆️
#production ?
#test 98.50585% <100.00000%> (+0.00032%) ⬆️

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

@codecov
Copy link

codecov bot commented Jun 25, 2020

Codecov Report

Merging #3244 into master will decrease coverage by 31.03273%.
The diff coverage is 95.16129%.

@@                 Coverage Diff                  @@
##              master       #3244          +/-   ##
====================================================
- Coverage   66.58991%   35.55718%   -31.03273%     
====================================================
  Files           1338         893         -445     
  Lines         501564      253150      -248414     
  Branches       40847       36718        -4129     
====================================================
- Hits          333991       90013      -243978     
+ Misses        162033      158288        -3745     
+ Partials        5540        4849         -691     
Flag Coverage Δ
#Debug 35.55718% <95.16129%> (-31.03274%) ⬇️
#production 35.55718% <95.16129%> (+0.19401%) ⬆️
#test ?

@SergeySmirnov-Akvelon SergeySmirnov-Akvelon force-pushed the Issue_3243_RadioButton_accessibility_UIA branch 2 times, most recently from 1ba06f0 to 94fcc34 Compare June 26, 2020 12:43
@SergeySmirnov-Akvelon SergeySmirnov-Akvelon removed the waiting-author-feedback The team requires more information from the author label Jun 26, 2020
@SergeySmirnov-Akvelon SergeySmirnov-Akvelon force-pushed the Issue_3243_RadioButton_accessibility_UIA branch 2 times, most recently from ae587d2 to 601416c Compare June 26, 2020 14:24
@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 previously approved these changes Jun 29, 2020
@vladimir-krestov vladimir-krestov added the waiting-for-testing The PR is awaiting manual testing by the primary team; no action is yet required from the author(s) label Jun 29, 2020
@RussKie RussKie removed the waiting-review This item is waiting on review by one or more members of team label Jun 29, 2020
@SergeySmirnov-Akvelon SergeySmirnov-Akvelon removed the waiting-for-testing The PR is awaiting manual testing by the primary team; no action is yet required from the author(s) label Jun 30, 2020
@SergeySmirnov-Akvelon
Copy link
Contributor

CTI approved

@SergeySmirnov-Akvelon SergeySmirnov-Akvelon force-pushed the Issue_3243_RadioButton_accessibility_UIA branch from 601416c to 1473fd7 Compare June 30, 2020 09:23
@RussKie RussKie merged commit eff8a5d into dotnet:master Jun 30, 2020
@RussKie RussKie deleted the Issue_3243_RadioButton_accessibility_UIA branch June 30, 2020 11:39
@ghost ghost added this to the 5.0 Preview8 milestone Jun 30, 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

Development

Successfully merging this pull request may close these issues.

RadioButton control accessibility does not support UIA providers

7 participants