W014 - Herst/bootlint-ng GitHub Wiki
Note: Below is the original page from the Bootlint documentation, some of the info here might not apply to Bootlint-NG!
W014
href
or data-target
to reference an element with class .carousel
.
Carousel controls and indicators should use For proper processing of click events within a carousel, each anchor within .carousel-control
should include either a href
or data-target
attribute with the ID of the corresponding element within the carousel.
Wrong:
<a class="left carousel-control" role="button" data-slide="prev">
Right:
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
Also Right:
<a class="left carousel-control" data-target="#carousel-example-generic" role="button" data-slide="prev">