From 6b1c42ffcb2ab4180262e33ce1bea92025f35b35 Mon Sep 17 00:00:00 2001 From: Churikova Tetiana Date: Tue, 21 May 2019 17:01:17 +0200 Subject: [PATCH] added accessibility-labels Signed-off-by: Churikova Tetiana --- src/status_im/ui/screens/pairing/views.cljs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/status_im/ui/screens/pairing/views.cljs b/src/status_im/ui/screens/pairing/views.cljs index 5d559a0f0f..270afb8226 100644 --- a/src/status_im/ui/screens/pairing/views.cljs +++ b/src/status_im/ui/screens/pairing/views.cljs @@ -77,7 +77,8 @@ [icons/icon :main-icons/add (icon-style (styles/pairing-button-icon true))]]] [react/view {:style styles/pairing-actions-text} [react/view - [react/text {:style styles/pair-this-device-title} (i18n/label :t/pair-this-device)]] + [react/text {:style styles/pair-this-device-title + :accessibility-label :advertise-device} (i18n/label :t/pair-this-device)]] [react/view [react/text (i18n/label :t/pair-this-device-description)]]]]]) @@ -160,11 +161,12 @@ [react/text (i18n/label :t/pairing-please-set-a-name)]] [text-input/text-input-with-label {:placeholder (i18n/label :t/specify-name) - :style styles/input - :container styles/input-container - :default-value @installation-name - :on-change-text #(reset! installation-name %) - :auto-focus true}]] + :style styles/input + :accessibility-label :device-name + :container styles/input-container + :default-value @installation-name + :on-change-text #(reset! installation-name %) + :auto-focus true}]] [react/view styles/bottom-container [react/view components.styles/flex] [components.common/bottom-button