[#14381] Wrap texts with view to ensure separate accessibility labels
This commit is contained in:
parent
e53f58d8c0
commit
d18c3ad102
|
@ -122,7 +122,8 @@
|
||||||
first-initial-letter
|
first-initial-letter
|
||||||
initials)
|
initials)
|
||||||
"")]
|
"")]
|
||||||
[rn/view {:style {:width outer-dimensions
|
[rn/view {:accessibility-label :user-avatar
|
||||||
|
:style {:width outer-dimensions
|
||||||
:height outer-dimensions
|
:height outer-dimensions
|
||||||
:border-radius outer-dimensions}}
|
:border-radius outer-dimensions}}
|
||||||
(when (and ring? identicon?)
|
(when (and ring? identicon?)
|
||||||
|
|
|
@ -73,6 +73,7 @@
|
||||||
:center
|
:center
|
||||||
[quo/button {:disabled (and (str/blank? @user-pk)
|
[quo/button {:disabled (and (str/blank? @user-pk)
|
||||||
(zero? (count selected)))
|
(zero? (count selected)))
|
||||||
|
:accessibility-label :share-community-link
|
||||||
:type :secondary
|
:type :secondary
|
||||||
:on-press #(>evt-once
|
:on-press #(>evt-once
|
||||||
[(if can-invite?
|
[(if can-invite?
|
||||||
|
|
|
@ -290,8 +290,9 @@
|
||||||
(when show-key?
|
(when show-key?
|
||||||
(let [props {:size :label
|
(let [props {:size :label
|
||||||
:style {:color (colors/theme-colors colors/neutral-50 colors/neutral-40)}}]
|
:style {:color (colors/theme-colors colors/neutral-50 colors/neutral-40)}}]
|
||||||
[text/text {:style {:margin-left 8
|
[rn/view {:style {:margin-left 8
|
||||||
:margin-top 2}}
|
:margin-top 2
|
||||||
|
:flex-direction :row}}
|
||||||
[text/text
|
[text/text
|
||||||
(assoc props :accessibility-label :message-chat-key)
|
(assoc props :accessibility-label :message-chat-key)
|
||||||
(utils/get-shortened-address (:public-key contact))]
|
(utils/get-shortened-address (:public-key contact))]
|
||||||
|
|
Loading…
Reference in New Issue