Skip to content

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

@jmakuchshoper

Description

@jmakuchshoper

Checks

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions