You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -258,33 +244,6 @@ Add the `disabled` attribute and the associated `<label>` are automatically styl
258
244
</div>
259
245
{{< /example >}}
260
246
261
-
## Standalone
262
-
263
-
{{< callout warning >}}
264
-
They are commonly used to build custom component, and shouldn't be used alone. Remember to still provide some form of accessible name for assistive technologies (for instance, using `aria-labelledby`, a `.visually-hidden`, `aria-label` or a second label). See the [forms overview accessibility]({{< docsref "/forms/overview#accessibility" >}}) section for details.
265
-
{{< /callout >}}
266
-
267
-
For the standalone Checkbox, we provide a completely different architecture to ease the integration inside your projects.
When radio buttons belong to a group (e.g., in a form), you must provide clear context by using a `<legend>` element inside a `<fieldset>` for the group title, this way screen readers will read the legend before navigating through the checkboxes.
@@ -295,7 +254,7 @@ When radio buttons belong to a group (e.g., in a form), you must provide clear c
<label class="control-item-label" for="checkboxGroup2">A longer label for showing behaviour in this case, checkbox indicator and icon will stick to the top area of the component instead of being centered like in a smaller label</label>
@@ -324,3 +283,30 @@ When radio buttons belong to a group (e.g., in a form), you must provide clear c
324
283
</fieldset>
325
284
</div>
326
285
{{< /example >}}
286
+
287
+
## Standalone
288
+
289
+
{{< callout warning >}}
290
+
They are commonly used to build custom component, and shouldn't be used alone. Remember to still provide some form of accessible name for assistive technologies (for instance, using `aria-labelledby`, a `.visually-hidden`, `aria-label` or a second label). See the [forms overview accessibility]({{< docsref "/forms/overview#accessibility" >}}) section for details.
291
+
{{< /callout >}}
292
+
293
+
For the standalone Checkbox, we provide a completely different architecture to ease the integration inside your projects.
0 commit comments