Skip to content

Commit 6dc3bba

Browse files
committed
Discourage usage of <a>s for disabled pagination items
Refs twbs@a217db1#commitcomment-18275320 /fyi @patrickhlauke [skip sauce]
1 parent 4b0c3f2 commit 6dc3bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_includes/components/pagination.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h3>Disabled and active states</h3>
7777
</ul>
7878
</nav>
7979
{% endhighlight %}
80-
<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>
80+
<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>
8181
{% highlight html %}
8282
<nav aria-label="...">
8383
<ul class="pagination">

0 commit comments

Comments
 (0)