@@ -1433,7 +1433,7 @@ inlineToHtml opts inline = do
14331433 return $ if T.null tit
14341434 then link'
14351435 else link' ! A.title (toValue tit)
1436− (Image attr txt (s,tit)) -> do
1436+ (Image attr@(_, _, attrList) txt (s, tit)) -> do
14371437 let alternate = stringify txt
14381438 slideVariant <- gets stSlideVariant
14391439 let isReveal = slideVariant == RevealJsSlides
@@ -1446,7 +1446,8 @@ inlineToHtml opts inline = do
14461446 [A.title $ toValue tit | not (T.null tit)] ++
14471447 attrs
14481448 imageTag = (if html5 then H5.img else H.img
1449− , [A.alt $ toValue alternate | not (null txt)] )
1449+ , [A.alt $ toValue alternate | not (null txt) &&
1450+ isNothing (lookup "alt" attrList)] )
14501451 mediaTag tg fallbackTxt =
14511452 let linkTxt = if null txt
14521453 then fallbackTxt