Hide alt text note after alt text is added (#10132)
This commit is contained in:
@@ -101,7 +101,7 @@ export function GifAltTextDialogLoaded({
|
|||||||
</Text>
|
</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
|
|
||||||
<Admonition type="tip" style={[a.mt_sm]}>
|
<Admonition type="info" style={[a.mt_sm]}>
|
||||||
<Trans>
|
<Trans>
|
||||||
Alt text describes images for blind and low-vision users, and helps
|
Alt text describes images for blind and low-vision users, and helps
|
||||||
give context to everyone.
|
give context to everyone.
|
||||||
|
|||||||
@@ -120,12 +120,14 @@ const GalleryInner = ({images, containerInfo, dispatch}: GalleryInnerProps) => {
|
|||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
</View>
|
</View>
|
||||||
<Admonition type="tip" style={[a.mt_sm]}>
|
{images.some(image => !image.alt) && (
|
||||||
<Trans>
|
<Admonition type="info" style={[a.mt_sm]}>
|
||||||
Alt text describes images for blind and low-vision users, and helps
|
<Trans>
|
||||||
give context to everyone.
|
Alt text describes images for blind and low-vision users, and helps
|
||||||
</Trans>
|
give context to everyone.
|
||||||
</Admonition>
|
</Trans>
|
||||||
|
</Admonition>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
) : null
|
) : null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user