We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a74a24 commit 493e830Copy full SHA for 493e830
1 file changed
src/react-slidy-slider.js
@@ -139,13 +139,17 @@ export default function ReactSlidySlider({
139
{showArrows && (
140
<>
141
<span
142
+ arial-label="Previous"
143
className={`${classNameBase}-prev`}
144
+ role="button"
145
disabled={index === 0}
146
onClick={handlePrev}
147
/>
148
149
+ arial-label="Next"
150
className={`${classNameBase}-next`}
151
disabled={items.length <= numOfSlides || index === items.length - 1}
152
153
onClick={handleNext}
154
155
</>
0 commit comments