We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f31d69 commit 0f3d998Copy full SHA for 0f3d998
src/components/ui/carousel.tsx
@@ -193,11 +193,12 @@ function CarouselPrevious({
193
className
194
)}
195
disabled={!canScrollPrev}
196
+ aria-disabled={!canScrollPrev}
197
onClick={scrollPrev}
198
{...props}
199
>
200
<ArrowLeft />
- <span className="sr-only">Previous slide</span>
201
+ <span className="sr-only">Previous Post</span>
202
</Button>
203
)
204
}
@@ -223,11 +224,12 @@ function CarouselNext({
223
224
225
226
disabled={!canScrollNext}
227
+ aria-disabled={!canScrollNext}
228
onClick={scrollNext}
229
230
231
<ArrowRight />
- <span className="sr-only">Next slide</span>
232
+ <span className="sr-only">Next Post</span>
233
234
235
0 commit comments