Add Accessiblity for Image Container in Chat (#15913)

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
Mohamed Javid 2023-05-16 19:57:02 +08:00 committed by GitHub
parent 369aed389c
commit 51fa99affa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,9 @@
[:<>
[rn/view {:style {:margin-bottom 10}} [text/text-content first-image context]]
[rn/view
{:style (style/album-container portrait?)}
{:style (style/album-container portrait?)
:accessible true
:accessibility-label :image-container}
(map-indexed
(fn [index item]
(let [images-size-key (if (< images-count constants/max-album-photos)