added accessibility-labels
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
df2a9a0297
commit
6b1c42ffcb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue