Carousel: Don't use aria-hidden="false"
This commit is contained in:
@@ -174,7 +174,7 @@
|
|||||||
on:click={openFullscreen}
|
on:click={openFullscreen}
|
||||||
role="tabpanel"
|
role="tabpanel"
|
||||||
aria-label="Photo {index + 1} of {photos.length}"
|
aria-label="Photo {index + 1} of {photos.length}"
|
||||||
aria-hidden={index !== currentIndex}
|
aria-hidden={index === currentIndex ? undefined : true}
|
||||||
>
|
>
|
||||||
<picture class="gallery__picture">
|
<picture class="gallery__picture">
|
||||||
<source media="(min-width: 968px)" data-srcset={getThumbnail(image.private_hash, 1200)}>
|
<source media="(min-width: 968px)" data-srcset={getThumbnail(image.private_hash, 1200)}>
|
||||||
|
|||||||
Reference in New Issue
Block a user