mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
add alt text to carousel <img>s
This commit is contained in:
parent
4876a3a716
commit
df59ecc9c4
@ -1613,13 +1613,13 @@ $('#myCollapsible').on('hidden.bs.collapse', function () {
|
|||||||
</ol>
|
</ol>
|
||||||
<div class="carousel-inner">
|
<div class="carousel-inner">
|
||||||
<div class="item active">
|
<div class="item active">
|
||||||
<img data-src="holder.js/900x500/auto/#777:#555/text:First slide" alt="">
|
<img data-src="holder.js/900x500/auto/#777:#555/text:First slide" alt="First slide">
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<img data-src="holder.js/900x500/auto/#666:#444/text:Second slide" alt="">
|
<img data-src="holder.js/900x500/auto/#666:#444/text:Second slide" alt="Second slide">
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<img data-src="holder.js/900x500/auto/#555:#333/text:Third slide" alt="">
|
<img data-src="holder.js/900x500/auto/#555:#333/text:Third slide" alt="Third slide">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
|
<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
|
||||||
@ -1642,7 +1642,7 @@ $('#myCollapsible').on('hidden.bs.collapse', function () {
|
|||||||
<!-- Wrapper for slides -->
|
<!-- Wrapper for slides -->
|
||||||
<div class="carousel-inner">
|
<div class="carousel-inner">
|
||||||
<div class="item active">
|
<div class="item active">
|
||||||
<img src="..." alt="">
|
<img src="..." alt="...">
|
||||||
<div class="carousel-caption">
|
<div class="carousel-caption">
|
||||||
...
|
...
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user