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))]]]
|
[icons/icon :main-icons/add (icon-style (styles/pairing-button-icon true))]]]
|
||||||
[react/view {:style styles/pairing-actions-text}
|
[react/view {:style styles/pairing-actions-text}
|
||||||
[react/view
|
[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/view
|
||||||
[react/text (i18n/label :t/pair-this-device-description)]]]]])
|
[react/text (i18n/label :t/pair-this-device-description)]]]]])
|
||||||
|
|
||||||
|
@ -160,11 +161,12 @@
|
||||||
[react/text (i18n/label :t/pairing-please-set-a-name)]]
|
[react/text (i18n/label :t/pairing-please-set-a-name)]]
|
||||||
[text-input/text-input-with-label
|
[text-input/text-input-with-label
|
||||||
{:placeholder (i18n/label :t/specify-name)
|
{:placeholder (i18n/label :t/specify-name)
|
||||||
:style styles/input
|
:style styles/input
|
||||||
:container styles/input-container
|
:accessibility-label :device-name
|
||||||
:default-value @installation-name
|
:container styles/input-container
|
||||||
:on-change-text #(reset! installation-name %)
|
:default-value @installation-name
|
||||||
:auto-focus true}]]
|
:on-change-text #(reset! installation-name %)
|
||||||
|
:auto-focus true}]]
|
||||||
[react/view styles/bottom-container
|
[react/view styles/bottom-container
|
||||||
[react/view components.styles/flex]
|
[react/view components.styles/flex]
|
||||||
[components.common/bottom-button
|
[components.common/bottom-button
|
||||||
|
|
Loading…
Reference in New Issue