From 0dd71fb0875be74fb87cc3a6c70c053d89753c95 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 10 Oct 2025 19:31:12 +0300 Subject: [PATCH] Add accessibilityRole to single images (#9148) --- src/view/com/util/images/AutoSizedImage.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/view/com/util/images/AutoSizedImage.tsx b/src/view/com/util/images/AutoSizedImage.tsx index 0325b782c6..ea3d8e51b9 100644 --- a/src/view/com/util/images/AutoSizedImage.tsx +++ b/src/view/com/util/images/AutoSizedImage.tsx @@ -204,6 +204,7 @@ export function AutoSizedImage({ // alt here is what screen readers actually use accessibilityLabel={image.alt} accessibilityHint={_(msg`Views full image`)} + accessibilityRole="button" style={[ a.w_full, a.rounded_md, @@ -226,6 +227,7 @@ export function AutoSizedImage({ // alt here is what screen readers actually use accessibilityLabel={image.alt} accessibilityHint={_(msg`Views full image`)} + accessibilityRole="button" style={[a.h_full]}> {contents}