Closed mykyta-bondarenko closed 4 years ago
This works really nice, not ideal since VO interrupts itself if the status changes quickly, but that's ok, sighted users will also miss the previous status in such a case. First of all this is a huge usability improvement, without this VO users don't get status updates at all right now, so there is no way to know whether an operation has finished.
@netonjm it's done :)
@monojenkins rebase
@mykyta-bondarenko please move AnnounceText method to AtkCocoaHelperMac to a reusable method with something like signature:
public static void MakeAccessibilityAnnouncement (this NSObject o, string message)
and then remove the duplicated code and reuse it in MakeAccessibilityAnnouncement (this Atk.Object o, string message)
We can not do this, AtkCocoaHelperMac is only for AtkCocoa, and we don't have any extensions for native controls, since Xamarin.Mac is not public MonoDevelop.Ide API. I agree that it might be useful to have an extension for this, however that must be done on MonoDevelop.Components.Control
level.
@mykyta-bondarenko as discussed on call, let's revert the last change and leave the code in MacPlatform for now.
@sevoku I've returned the previous version of code back.
@monojenkins backport release-8.4-a11y
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1019006