react-splide
react-splide copied to clipboard
Invalid role attribute on slider list items
Checks
- [X] Not a duplicate.
- [X] Not a question, feature request, or anything other than a bug report directly related to React Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
Version
0.7.12
Description
This is a known issue from the main Splide JS repository: https://github.com/Splidejs/splide/issues/1241
List items do not accept role="group" and thus Lighthouse and other accessibility tools flag that as an accessibility issue.
Reproduction Link
https://pagespeed.web.dev/analysis/https-splidejs-com/3toj2nxl1s?form_factor=mobile
Steps to Reproduce
- Go to https://pagespeed.web.dev/
- Analyze Splide's homepage: https://splidejs.com/
- Check the accessibility results to find the issue listed above (see screenshot)
Expected Behaviour
There should not be any accessibility issues in the report
Has there been any progress on this? We really like your library; however, if it remains out of ADA compliance, we will be forced to find an alternative.