From 548342184e2173d6f39aba2462196ff8b397db8f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 6 Aug 2023 09:58:36 +0200 Subject: Adding upstream version 5.3.1+dfsg. Signed-off-by: Daniel Baumann --- site/content/docs/5.3/forms/checks-radios.md | 29 ++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'site/content/docs/5.3/forms/checks-radios.md') diff --git a/site/content/docs/5.3/forms/checks-radios.md b/site/content/docs/5.3/forms/checks-radios.md index 13a5091..a18ab38 100644 --- a/site/content/docs/5.3/forms/checks-radios.md +++ b/site/content/docs/5.3/forms/checks-radios.md @@ -250,18 +250,25 @@ Create button-like checkboxes and radio buttons by using `.btn` styles rather th {{< example >}} -{{< /example >}} -{{< example >}} -{{< /example >}} -{{< example >}} {{< /example >}} +{{< example >}} + + + + + + + + +{{< /example >}} + {{< callout info >}} Visually, these checkbox toggle buttons are identical to the [button plugin toggle buttons]({{< docsref "/components/buttons#button-plugin" >}}). However, they are conveyed differently by assistive technologies: the checkbox toggles will be announced by screen readers as "checked"/"not checked" (since, despite their appearance, they are fundamentally still checkboxes), whereas the button plugin toggle buttons will be announced as "button"/"button pressed". The choice between these two approaches will depend on the type of toggle you are creating, and whether or not the toggle will make sense to users when announced as a checkbox or as an actual button. {{< /callout >}} @@ -282,6 +289,20 @@ Visually, these checkbox toggle buttons are identical to the [button plugin togg {{< /example >}} +{{< example >}} + + + + + + + + + + + +{{< /example >}} + ### Outlined styles Different variants of `.btn`, such at the various outlined styles, are supported. -- cgit v1.2.3