diff options
Diffstat (limited to 'src/view/com/util/images/Gallery.tsx')
-rw-r--r-- | src/view/com/util/images/Gallery.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/view/com/util/images/Gallery.tsx b/src/view/com/util/images/Gallery.tsx index a7a64b171..01a7d574a 100644 --- a/src/view/com/util/images/Gallery.tsx +++ b/src/view/com/util/images/Gallery.tsx @@ -34,7 +34,7 @@ export const GalleryItem: FC<GalleryItemProps> = ({ onPressIn={onPressIn ? () => onPressIn(index) : undefined} onLongPress={onLongPress ? () => onLongPress(index) : undefined} accessibilityRole="button" - accessibilityLabel="View image" + accessibilityLabel={image.alt || 'Image'} accessibilityHint=""> <Image source={{uri: image.thumb}} @@ -47,7 +47,9 @@ export const GalleryItem: FC<GalleryItemProps> = ({ </TouchableOpacity> {image.alt === '' ? null : ( <View style={styles.altContainer}> - <Text style={styles.alt}>ALT</Text> + <Text style={styles.alt} accessible={false}> + ALT + </Text> </View> )} </View> |