Skip to content

Commit

Permalink
Add aria-hidden attributes to icons
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-1314 committed Sep 16, 2020
1 parent e7e2d9c commit 493f04a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
</div>
<template v-if="controlBtn">
<button class="slider-btn slider-btn-left" :aria-label="prevBtnLabel" @click.stop="prev">
<i class="slider-icon slider-icon-left" />
<i class="slider-icon slider-icon-left" aria-hidden="true"/>
</button>
<button class="slider-btn slider-btn-right" :aria-label="nextBtnLabel" @click.stop="next">
<i class="slider-icon slider-icon-right" />
<i class="slider-icon slider-icon-right" aria-hidden="true"/>
</button>
</template>
</div>
Expand Down

0 comments on commit 493f04a

Please sign in to comment.