Skip to content
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

RadialGauge UIA improvements #3544

Merged
11 commits merged into from
Oct 29, 2020
Merged

Conversation

marcelwgn
Copy link
Contributor

Fixes

Fixes #3537 , Fixes #3539 , Fixes #3542 (this PR is all we can do, see microsoft/microsoft-ui-xaml#3469)

The issues with the sample were caused by microsoft/microsoft-ui-xaml#3467 , switching to RangeBaseAutomationPeer as base class for the RadialGauge peer fixes that.

Afaik, the only thing we can (and should do) for #3542 is raise the appropriate event on the AutomationPeer.

PR Type

What kind of change does this PR introduce?

Bugfix

What is the current behavior?

RadialGauge is not accessible

What is the new behavior?

RadialGauge is accessible

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Pull Request has been submitted to the documentation repository instructions. Link:
  • Sample in sample app has been added / updated (for bug fixes / features)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Header has been added to all new source files (run build/UpdateHeaders.bat)
  • [Maybe?] Contains NO breaking changes

Other information

I left out the RangeSelector from this PR as fixing that controls behavior needs more discussion on how to approach that.

@ghost
Copy link

ghost commented Oct 23, 2020

Thanks chingucoding for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌

@ghost ghost requested review from michael-hawker, azchohfi and Kyaa-dost October 23, 2020 11:40
@ghost ghost added accessibility ♿ bug 🐛 An unexpected issue that highlights incorrect behavior sample app 🖼 labels Oct 23, 2020
@Kyaa-dost
Copy link
Contributor

@chingucoding Seems like The Toolkit-CI keeps failing. Everything looks good on your end?

@marcelwgn
Copy link
Contributor Author

Seems like there was an issue with the header of the new test file, thanks for the reminder @Kyaa-dost !

@Kyaa-dost
Copy link
Contributor

@chingucoding still failing... Wondering if there is a conflict between the base class and variable. Not sure 🤔

image

@marcelwgn
Copy link
Contributor Author

Yes, that build failure was because of the RadialGaugeAutomationPeer inheriting from RangeBase peer now which also implements the IRangeValueProvider interface. Added new keyword to hide inherited members.

Copy link
Contributor

@Kyaa-dost Kyaa-dost left a comment

Choose a reason for hiding this comment

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

@chingucoding Thanks for the PR. Looks great and ready to 🚀 🚀

@ghost
Copy link

ghost commented Oct 27, 2020

Hello @Kyaa-dost!

Because this pull request has the auto merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost removed the auto merge ⚡ label Oct 28, 2020
@CommunityToolkit CommunityToolkit deleted a comment Oct 28, 2020
@Kyaa-dost
Copy link
Contributor

@msftbot merge this pull request once it is approved by @vgromfeld

@ghost
Copy link

ghost commented Oct 28, 2020

Hello @Kyaa-dost!

Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:

  • I'll only merge this pull request if it's approved by @vgromfeld

If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you".

@ghost ghost merged commit e3171b2 into CommunityToolkit:master Oct 29, 2020
@marcelwgn marcelwgn deleted the dev/uia-improvements branch October 29, 2020 18:50
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility ♿ auto merge ⚡ bug 🐛 An unexpected issue that highlights incorrect behavior sample app 🖼
Projects
None yet
3 participants