Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Commit 98616a9

Browse files
Merge pull request #197 from pranciskus/patch-1
aria-labels for next & prev buttons slots
2 parents 14bdfda + 838ff4a commit 98616a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Agile.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
class="agile__nav-button agile__nav-button--prev"
5959
:disabled="!canGoToPrev"
6060
type="button"
61+
aria-label="Previous"
6162
@click="goToPrev(), restartAutoPlay()"
6263
>
6364
<slot name="prevButton">
@@ -93,6 +94,7 @@
9394
class="agile__nav-button agile__nav-button--next"
9495
:disabled="!canGoToNext"
9596
type="button"
97+
aria-label="Next"
9698
@click="goToNext(), restartAutoPlay()"
9799
>
98100
<slot name="nextButton">

0 commit comments

Comments
 (0)