0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00

Discourage usage of <a>s for disabled pagination items

Refs a217db1923 (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

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">