fix(a11y): use Image as alt when there isn't a description
This commit is contained in:
parent
4da2fd05bb
commit
943a0b66fe
@ -139,7 +139,7 @@ useIntersectionObserver(video, (entries) => {
|
|||||||
:srcset="srcset"
|
:srcset="srcset"
|
||||||
:width="attachment.meta?.original?.width"
|
:width="attachment.meta?.original?.width"
|
||||||
:height="attachment.meta?.original?.height"
|
:height="attachment.meta?.original?.height"
|
||||||
:alt="attachment.description!"
|
:alt="attachment.description ?? 'Image'"
|
||||||
:style="{
|
:style="{
|
||||||
aspectRatio,
|
aspectRatio,
|
||||||
objectPosition,
|
objectPosition,
|
||||||
|
Loading…
Reference in New Issue
Block a user