Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would it make sense for each item to be an li inside a ul container for better accessibility ? #56

Open
gaurav5430 opened this issue Feb 2, 2022 · 1 comment

Comments

@gaurav5430
Copy link

In general, the carousel / slider shows a homogeneous list of items, would it not make sense to mark them as such in the HTML markup?

This would help screenreader users with things like skipping to the last list item or the first list item

@ArnaudDelafosse
Copy link

Hi, when you only have 1 visible item at a time, SR/braille users will hear/read "List of 1 item" which is not of great value. So using a liste for carousel items is only useful when several items are visible at a time.

I don't think that "skipping to the last list item or the first list item" would be possible by default anyway as the navigation within the items is only possible via the (JS operated) carousel's own navigation system and visually hidden items are not exposed to ATs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants