Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(carousel): Better a11y with sr-only text and markup structure #4479

Closed
wants to merge 1 commit into from

Conversation

evan-duncan
Copy link

fixes #4478

<a class="right carousel-control" ng-click="next()" ng-show="slides.length > 1"><span class="glyphicon glyphicon-chevron-right"></span></a>
</div>
<div class="carousel-inner" ng-transclude></div>
<a role="button" href="#" class="left carousel-control" ng-click="prev()" ng-show="slides.length > 1">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be an empty href due to some edge cases

@wesleycho
Copy link
Contributor

Other than those two small issues that we can fix on merge, I'm fine with this.

@evan-duncan
Copy link
Author

Sweet!

@wesleycho wesleycho closed this in da71159 Sep 25, 2015
jasonaden pushed a commit to deskfed/bootstrap that referenced this pull request Jan 8, 2016
- Improves accessibility of carousel

Closes angular-ui#4478
Closes angular-ui#4479
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default carousel template is not accessible
2 participants