splide
splide copied to clipboard
Incorrect aria-orientation="vertical" attribute - Findings from a professional audit
Checks
- [x] Not a duplicate.
- [x] Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
Version
v4.1.4
Description
Our project that utilizes Splide underwent a thorough web accessibility audit conducted by specialists from Accens, aiming to meet accessibility standards such as the European Accessibility Act (EAA) guidelines.
During this audit, the auditors highlighted that the aria-orientation="vertical" attribute on the splide__list element is incompatible when used with role="presentation".
Reproduction Link
No response
Steps to Reproduce
- Create a carousel with
direction: 'ttb'option in the configuration. - The
splide__listelement will have thearia-orientation="vertical"attribute on it.
Expected Behaviour
The accessibility professionals at Accens recommend removing the aria-orientation="vertical" attribute in this specific context. They noted that this attribute is reportedly unsupported when paired with role="presentation" on the same element, and its removal in such cases does not appear to introduce further accessibility issues.