diff options
| author | Peter Blazejewicz <[email protected]> | 2018-02-25 00:15:19 +0100 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2018-02-24 23:15:19 +0000 |
| commit | c9b194ae21bf366a00534f80368d9a1dbbaadb2e (patch) | |
| tree | c5545d4b3ed814a0b06436ec054a2b79db99d61c /docs | |
| parent | 9cf3ebbf2bb9cfdbc2763699a14488f21fb080b4 (diff) | |
| download | bootstrap-c9b194ae21bf366a00534f80368d9a1dbbaadb2e.tar.xz bootstrap-c9b194ae21bf366a00534f80368d9a1dbbaadb2e.zip | |
Add tabindex attribute to disabled buttons sample. Closes #23361 (#25680)
As discussed in issue's comment:
https://git.io/vAuPW
Thanks!
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/4.0/components/buttons.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/4.0/components/buttons.md b/docs/4.0/components/buttons.md index 60373be6c..d37fbfcf8 100644 --- a/docs/4.0/components/buttons.md +++ b/docs/4.0/components/buttons.md @@ -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 %} |
