diff options
author | A Web Artisan <laraloop.com@gmail.com> | 2022-01-29 14:20:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 14:20:01 +0300 |
commit | 2964c12bb91b3a252aecbe1bc4041020e4efd622 (patch) | |
tree | 595bc1bc504bf032fc0bd14519a15ab338d7844f /site | |
parent | d122f4052699891d952561684665798a5d5b27f2 (diff) |
docs: remove moot autocomplete attributes (#35741)
Diffstat (limited to 'site')
-rw-r--r-- | site/content/docs/5.1/components/buttons.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/site/content/docs/5.1/components/buttons.md b/site/content/docs/5.1/components/buttons.md index 1f279ffd71..4e90c398ee 100644 --- a/site/content/docs/5.1/components/buttons.md +++ b/site/content/docs/5.1/components/buttons.md @@ -153,9 +153,9 @@ Visually, these toggle buttons are identical to the [checkbox toggle buttons]({{ Add `data-bs-toggle="button"` to toggle a button's `active` state. If you're pre-toggling a button, you must manually add the `.active` class **and** `aria-pressed="true"` to ensure that it is conveyed appropriately to assistive technologies. {{< example >}} -<button type="button" class="btn btn-primary" data-bs-toggle="button" autocomplete="off">Toggle button</button> -<button type="button" class="btn btn-primary active" data-bs-toggle="button" autocomplete="off" aria-pressed="true">Active toggle button</button> -<button type="button" class="btn btn-primary" disabled data-bs-toggle="button" autocomplete="off">Disabled toggle button</button> +<button type="button" class="btn btn-primary" data-bs-toggle="button">Toggle button</button> +<button type="button" class="btn btn-primary active" data-bs-toggle="button" aria-pressed="true">Active toggle button</button> +<button type="button" class="btn btn-primary" disabled data-bs-toggle="button">Disabled toggle button</button> {{< /example >}} {{< example >}} |