W014 - alex1221/bootlint-customization GitHub Wiki
W014
Carousel 的 controls 和 indicators 应该使用 href 或 data-target 来引用一个具有 .carousel 类的元素.
为了正确的处理 carousel 的点击事件, 每个锚点的 .carousel-control 内需要包含一个带有 carousel 元素 ID 的 href 或 data-target 属性。
错误的:
<a class="left carousel-control" role="button" data-slide="prev">
正确的:
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
也正确的:
<a class="left carousel-control" data-target="#carousel-example-generic" role="button" data-slide="prev">