[Fix] Accessibility for single image in chat (#15964)

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
Mohamed Javid 2023-05-19 20:56:45 +08:00 committed by GitHub
parent 7e8f1fac8a
commit 3973e886f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -31,6 +31,7 @@
:index 0 :index 0
:insets insets}])} :insets insets}])}
[fast-image/fast-image [fast-image/fast-image
{:source {:uri (:image content)} {:source {:uri (:image content)}
:style (merge dimensions {:border-radius 12}) :style (merge dimensions {:border-radius 12})
:native-ID (when (= shared-element-id message-id) :shared-element)}]]])) :native-ID (when (= shared-element-id message-id) :shared-element)
:accessibility-label :image-message}]]]))