mirror of
https://gitee.com/shuto-github/phonegap-mobile-accessibility.git
synced 2026-04-19 00:01:32 +08:00
Post notification with Unicode Character 'ZERO WIDTH SPACE' (U+200B) to stop VoiceOver speech
This commit is contained in:
@@ -288,7 +288,7 @@ MobileAccessibility.prototype.stop = function() {
|
||||
if (this.isChromeVoxActive()) {
|
||||
cvox.ChromeVox.tts.stop();
|
||||
} else {
|
||||
exec(null, null, "MobileAccessibility", "postNotification", [MobileAccessibilityNotifications.ANNOUNCEMENT]);
|
||||
exec(null, null, "MobileAccessibility", "postNotification", [MobileAccessibilityNotifications.ANNOUNCEMENT, "\u200b"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user