Correct MobileAccessibility.stop() method on iOS, postNotification
requires a string as the second parameter, but we should allow a
notification without a string.
Simplify naming convention for accessibility status events.
closedcaptioningstatusdidchange -> closedcaptioningstatuschanged
guidedaccessstatusdidchange -> guidedaccessstatuschanged
invertcolorsstatusdidchange -> invertcolorsstatuschanged
monoaudiostatusdidchange -> monoaudiostatuschanged
MobileAccessibility.postNotification now allows you to send
UIAccessibilityScreenChangedNotification,
UIAccessibilityLayoutChangedNotification, and
UIAccessibilityPageScrolledNotification in addition to
UIAccessibilityAnnouncementNotification.
Refactor isVoiceOverRunning and “voiceoverstatuschanged” to the more
platform agnostic isScreenReaderRunning and “screenreaderstatuschanged”
in anticipation of Android support.
Adds following methods for detecting iOS accessibility features:
MobileAccessibility.isGuidedAccessEnabled()
MobileAccessibility.isInvertColorsEnabled()
MobileAccessibility.isGuidedAccessEnabled()
MobileAccessibility.isInvertColorsEnabled()
MobileAccessibility.isMonoAudioEnabled()
Adds corresponding window events to subscribe to notifications of
accessibility feature status updates:
“guidedaccessstatusdidchange”,
"invertcolorsstatusdidchange”,
"monoaudiostatusdidchange"
Adds following method for posting a notification as a string to be
announced by VoiceOver:
MobileAccessibility.postAnnouncementNotification()