Prevent repeated description for alt+figcaption
This commit is contained in:
parent
f7ffce1b46
commit
fe80215325
|
@ -328,7 +328,7 @@ function Media({ media, to, showOriginal, autoAnimate, onClick = () => {} }) {
|
|||
<>
|
||||
<img
|
||||
src={previewUrl}
|
||||
alt={description}
|
||||
alt={showInlineDesc ? '' : description}
|
||||
width={width}
|
||||
height={height}
|
||||
data-orientation={orientation}
|
||||
|
|
Loading…
Reference in a new issue