From 86055354b8da94140ff64f17e79df21286a4f5df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Anton=20Bach=20Sj=C3=B8gren?= Date: Thu, 1 Sep 2016 16:17:46 +0200 Subject: [PATCH] Feature: automationText wasn't read aloud on iOS. View.automationText on iOS now sets both accessibilityIdentifier and accessibilityLabel --- tns-core-modules/ui/core/view.ios.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tns-core-modules/ui/core/view.ios.ts b/tns-core-modules/ui/core/view.ios.ts index d42239b97..a02d05873 100644 --- a/tns-core-modules/ui/core/view.ios.ts +++ b/tns-core-modules/ui/core/view.ios.ts @@ -21,6 +21,7 @@ global.moduleMerge(viewCommon, exports); function onAutomationTextPropertyChanged(data: dependencyObservable.PropertyChangeData) { var view = data.object; view._nativeView.accessibilityIdentifier = data.newValue; + view._nativeView.accessibilityLabel = data.newValue; } (viewCommon.View.automationTextProperty.metadata).onSetNativeValue = onAutomationTextPropertyChanged;