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

accessibilityAutoItemTitles does not display Carousel slide titles #2746

Open
HitmanInWis opened this issue May 6, 2024 · 0 comments
Open

Comments

@HitmanInWis
Copy link

Bug is present as of version: 2.24.7-SNAPSHOT

The following line in carousel.html attempts to set the aria-label for a slide to the panel title.

             aria-label="${(carousel.accessibilityAutoItemTitles && item.title) || 'Slide {0} of {1}' @ format=[itemList.count, carousel.items.size], i18n}"

However, if item.title does not have replacement tokens {0} and {1} the @ format command fails and returns an empty string, resulting in an empty aria-label rather than the actual slide title.

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

1 participant