2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

Discourage usage of <a>s for disabled pagination items

Refs https://github.com/twbs/bootstrap/commit/a217db1923a552b53c7a0c005e69c598fbd1a98a#commitcomment-18275320
/fyi @patrickhlauke

[skip sauce]
This commit is contained in:
Chris Rebert
2016-07-25 07:51:14 -07:00
parent 4b0c3f2b8b
commit 6dc3bba1cb
+1 -1
View File
@@ -77,7 +77,7 @@
</ul>
</nav>
{% endhighlight %}
<p>You can optionally swap out active or disabled anchors for <code>&lt;span&gt;</code>, or omit the anchor in the case of the previous/next arrows, to remove click functionality while retaining intended styles.</p>
<p>We recommend that you swap out active or disabled anchors for <code>&lt;span&gt;</code>, or omit the anchor in the case of the previous/next arrows, to remove click functionality while retaining intended styles.</p>
{% highlight html %}
<nav aria-label="...">
<ul class="pagination">