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