1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-10-04 17:21:38 +02:00

Merge pull request #14072 from twbs/carousel-gloss-buttons

Add screenreader text to prev/next carousel buttons in examples to improve accessibility
This commit is contained in:
Chris Rebert
2014-07-07 20:16:52 -07:00
3 changed files with 16 additions and 2 deletions

View File

@@ -633,9 +633,11 @@
</div>
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
<span class="sr-only">Next</span>
</a>
</div>