Open
Description
Checks
- Not a duplicate.
- Not a question, feature request, or anything other than a bug report directly related to Vue Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
Version
0.6.12
Description
These are the two errors that is being shown when running lighthouse on a page that currently uses vue-splide.
This specific error comes from having the li elements have the role="group" whereas the parent ul element has the role="presentation" which is not compatible as it does not pass the aria-role validation. https://dequeuniversity.com/rules/axe/4.8/aria-roles
This specific error comes from having aria-hidden="true" on slides that are currently not in view.
Reproduction Link
No response
Steps to Reproduce
- Run lighthouse on a page that uses vue-splide.
Expected Behaviour
To not have these two errors in lighthouse.
To remove aria-hidden="true" from slides that are not in view.
To have the correct role for the ul element and not presentation so the correct role in this case would be role="Widget".