Bluesky app fork with some witchin' additions 💫

Add accessibilityRole to single images (#9148)

authored by samuel.fm and committed by

GitHub 0dd71fb0 54b8eacb

+2
+2
src/view/com/util/images/AutoSizedImage.tsx
··· 204 // alt here is what screen readers actually use 205 accessibilityLabel={image.alt} 206 accessibilityHint={_(msg`Views full image`)} 207 style={[ 208 a.w_full, 209 a.rounded_md, ··· 226 // alt here is what screen readers actually use 227 accessibilityLabel={image.alt} 228 accessibilityHint={_(msg`Views full image`)} 229 style={[a.h_full]}> 230 {contents} 231 </Pressable>
··· 204 // alt here is what screen readers actually use 205 accessibilityLabel={image.alt} 206 accessibilityHint={_(msg`Views full image`)} 207 + accessibilityRole="button" 208 style={[ 209 a.w_full, 210 a.rounded_md, ··· 227 // alt here is what screen readers actually use 228 accessibilityLabel={image.alt} 229 accessibilityHint={_(msg`Views full image`)} 230 + accessibilityRole="button" 231 style={[a.h_full]}> 232 {contents} 233 </Pressable>