splide icon indicating copy to clipboard operation
splide copied to clipboard

Combination of 'direction: 'ttb' and being navigation for another slide shows aria warnings.

Open wplit opened this issue 1 year ago • 1 comments

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

Description

See the example code setup here..

https://codepen.io/wplit/pen/VwBmpOG

The second slider has both 'direction: 'ttb' and is also being synced, so it controls the first slider. The result is that the aria labels given do not match their roles.

Live site with the same code as above, so it's easy to test in Lighthouse / Google Page Speed

https://wordpress-356482-3367986.cloudwaysapps.com/

Reproduction Link

https://wordpress-356482-3367986.cloudwaysapps.com/

Steps to Reproduce

Copy the code as seen in the codepen I shared. it's taken straight from the docs, and only the vertical layout has been added.

Expected Behaviour

Aria labels need to change for this specific setup.

wplit avatar Mar 23 '23 00:03 wplit

Hi,

same issue here. This function was very usefull for online-shops with more images on detail site.

Markus

rehm1967 avatar Jun 24 '23 10:06 rehm1967