Commit c9b194ae authored by Peter Blazejewicz's avatar Peter Blazejewicz Committed by Patrick H. Lauke
Browse files

Add tabindex attribute to disabled buttons sample. Closes #23361 (#25680)

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

Thanks!
parent 9cf3ebbf
3 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!17021v4
Showing with 2 additions and 2 deletions
+2 -2
......@@ -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 %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment