2.1.8
- added
aria-selected="true"
andaria-disabled="true"
for accessibility
The photo gallery shows scaled-down preview images (thumbnails) together with their names. These preview images are arranged in groups of 12. If the number of preview images exceeds this quantity, the “paging” navigation element is added to the photo gallery.
When the user clicks on an image, a detailed view is opened either in a lightbox or in single view mode for the images.
Title of gallery
<h1>Title of gallery</h1>
<br>
<hr>
<nav class="pagination-container clearfix">
<span class="pull-left">Object - 2 of 3</span>
<ul class="pull-right pagination">
<li class="separator disabled">
<a href="#" title="Step backward" aria-disabled="true">
<span class="icon icon--step-backward"></span>
<span class="sr-only">Step backward</span>
</a>
</li>
<li class="separator disabled"><a aria-disabled="true" href="#">Previous</a></li>
<li class="active"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li>...</li>
<li><a href="#">17</a></li>
<li class="separator-left"><a href="#">Next</a></li>
<li class="separator-left">
<a href="#" title="Step forward">
<span class="icon icon--step-forward"></span>
<span class="sr-only">Step forward</span>
</a>
</li>
</ul>
</nav>
<div class="row">
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/588x367" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/306x306" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/306x306" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/588x367" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/588x367" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/588x367" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/588x367" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/588x367" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/588x367" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/588x367" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/588x367" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail-wrapper">
<a href="#" class="thumbnail">
<figure>
<img src="http://placehold.it/588x367" alt="image description">
<figcaption>Caption content</figcaption>
</figure>
</a>
</div>
</div>
</div>
<hr>
<nav class="pagination-container clearfix">
<span class="pull-left">Object - 2 of 3</span>
<ul class="pull-right pagination">
<li class="separator disabled">
<a href="#" title="Step backward" aria-disabled="true">
<span class="icon icon--step-backward"></span>
<span class="sr-only">Step backward</span>
</a>
</li>
<li class="separator disabled"><a aria-disabled="true" href="#">Previous</a></li>
<li class="active"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li>...</li>
<li><a href="#">17</a></li>
<li class="separator-left"><a href="#">Next</a></li>
<li class="separator-left">
<a href="#" title="Step forward">
<span class="icon icon--step-forward"></span>
<span class="sr-only">Step forward</span>
</a>
</li>
</ul>
</nav>