splide icon indicating copy to clipboard operation
splide copied to clipboard

Incorrect aria-orientation="vertical" attribute - Findings from a professional audit

Open jmakuchshoper opened this issue 5 months ago • 0 comments
trafficstars

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

  1. Create a carousel with direction: 'ttb' option in the configuration.
  2. The splide__list element will have the aria-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.

jmakuchshoper avatar Jun 16 '25 14:06 jmakuchshoper