YIZHUANG / react-multi-carousel

A lightweight production-ready Carousel that rocks supports multiple items and server-side rendering with no dependency. Bundle size 2kb.
MIT License
1.25k stars 286 forks source link

Aria-hidden label causing accessibility issues #340

Open mfergusson opened 2 years ago

mfergusson commented 2 years ago

Prerequisite

Before you submit a feature request or report a bug to be fixed, make sure you have stared this repository. A donation is also welcomed

Describe the bug In a carousel, four list items are shown at the desktop breakpoint, and four are hidden offscreen. Screen readers incorrectly tell their users that this is a list of four items because offscreen items are incorrectly hidden with aria-hidden="true".

I would like to raise a PR to fix this issue and allow us to pass in an optional prop to override the value

oluSammy commented 7 months ago

Did you find a solution to this?