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:
@@ -77,7 +77,7 @@
|
||||
</ul>
|
||||
</nav>
|
||||
{% endhighlight %}
|
||||
<p>You can optionally swap out active or disabled anchors for <code><span></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><span></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">
|
||||
|
||||
Reference in New Issue
Block a user