Skip to content

Commit

Permalink
Add tabindex attribute to disabled buttons sample. Closes #23361 (#25680
Browse files Browse the repository at this point in the history
)

As discussed in issue's comment:
https://git.io/vAuPW

Thanks!
  • Loading branch information
peterblazejewicz authored and patrickhlauke committed Feb 24, 2018
1 parent 9cf3ebb commit c9b194a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/4.0/components/buttons.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ Disabled buttons using the `<a>` element behave a bit different:
- Disabled buttons should include the `aria-disabled="true"` attribute to indicate the state of the element to assistive technologies.

{% example html %}
<a href="#" class="btn btn-primary btn-lg disabled" role="button" aria-disabled="true">Primary link</a>
<a href="#" class="btn btn-secondary btn-lg disabled" role="button" aria-disabled="true">Link</a>
<a href="#" class="btn btn-primary btn-lg disabled" tabindex="-1" role="button" aria-disabled="true">Primary link</a>
<a href="#" class="btn btn-secondary btn-lg disabled" tabindex="-1" role="button" aria-disabled="true">Link</a>
{% endexample %}

{% callout warning %}
Expand Down

0 comments on commit c9b194a

Please sign in to comment.