added accessibility-labels

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2019-05-21 17:01:17 +02:00
parent df2a9a0297
commit 6b1c42ffcb
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
1 changed files with 8 additions and 6 deletions

View File

@ -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)]]]]])
@ -161,6 +162,7 @@
[text-input/text-input-with-label
{:placeholder (i18n/label :t/specify-name)
:style styles/input
:accessibility-label :device-name
:container styles/input-container
:default-value @installation-name
:on-change-text #(reset! installation-name %)