Skip to content

Commit 6c56fb4

Browse files
committed
feat: add appropriate labels to icon buttons
1 parent ee598cd commit 6c56fb4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Review.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,11 @@ const reviews = [
7171
</div>
7272
<div class="hidden md:flex gap-4 items-center">
7373
<Button class="embla__prev" icon size="lg" variant="outline-plain">
74+
<span class="sr-only">Go to previous review</span>
7475
<Icon name="back" />
7576
</Button>
7677
<Button class="embla__next" icon variant="outline-plain" size="lg">
78+
<span class="sr-only">Go to next review</span>
7779
<Icon name="forward" />
7880
</Button>
7981
</div>

0 commit comments

Comments
 (0)