diff options
| author | A Web Artisan <[email protected]> | 2022-01-29 12:20:01 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-29 13:20:01 +0200 |
| commit | 2964c12bb91b3a252aecbe1bc4041020e4efd622 (patch) | |
| tree | 595bc1bc504bf032fc0bd14519a15ab338d7844f | |
| parent | d122f4052699891d952561684665798a5d5b27f2 (diff) | |
| download | bootstrap-2964c12bb91b3a252aecbe1bc4041020e4efd622.tar.xz bootstrap-2964c12bb91b3a252aecbe1bc4041020e4efd622.zip | |
docs: remove moot autocomplete attributes (#35741)
| -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 1f279ffd7..4e90c398e 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 >}} |
