Skip to content

Commit

Permalink
Update "checkboxes" page (#1888)
Browse files Browse the repository at this point in the history
Automatically generated. Merged on Netlify CMS.
  • Loading branch information
natalia-fitzgerald authored Jan 22, 2024
1 parent 8f426f5 commit ad7d0c9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/pages/checkboxes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ layout: variation
section: components
variation_groups:
- variations:
- variation_code_snippet: >-
<div class="m-form-field m-form-field__checkbox">
- variation_code_snippet: >+
<h4> States</h4><div class="m-form-field m-form-field__checkbox">
<input class="a-checkbox" type="checkbox" id="test_checkbox">
<label class="a-label" for="test_checkbox">Default</label>
</div>
Expand Down Expand Up @@ -54,11 +54,12 @@ variation_groups:
<input class="a-checkbox" type="checkbox" id="test_checkbox_basic_disabled_selected" disabled checked>
<label class="a-label" for="test_checkbox_basic_disabled_selected">Disabled/selected</label>
</div>
variation_description: ''
variation_name: Standard checkbox
variation_specs: ''
variation_description: ""
variation_name: Checkbox
variation_specs: ""
- variation_is_deprecated: false
variation_name: Standard checkbox with helper text
variation_name: Checkbox (with helper text)
variation_code_snippet: >-
<div class="m-form-field m-form-field__checkbox">
<input class="a-radio" type="checkbox" id="test_checkbox_basic_helper">
Expand All @@ -71,8 +72,7 @@ variation_groups:
</div>
- variation_is_deprecated: false
variation_name: Large target area checkbox
variation_description:
For better usability, consider using the checkboxes with
variation_description: For better usability, consider using the checkboxes with
large target areas. These are easier to interact with (especially on
smaller screens) and harder to miss. They are especially desirable
when the form will have heavy mobile usage. Given the amount of real
Expand Down Expand Up @@ -144,9 +144,9 @@ variation_groups:
</div>
-->
variation_specs: ''
variation_specs: ""
- variation_is_deprecated: false
variation_name: Large target area checkbox with helper text
variation_name: Large target area checkbox (with helper text)
variation_code_snippet: >-
<div class="m-form-field m-form-field__checkbox
m-form-field__lg-target">
Expand Down Expand Up @@ -176,7 +176,7 @@ description: Use checkboxes when the user can select more than one option from a
group. Make clear with helper text that this is the case. Use [radio
buttons](/design-system/components/radio-buttons) when the user can select
only one choice from a group.
use_cases: ''
use_cases: ""
behavior: >-
Selecting the checkbox or touching the label text next to it should toggle the
state of the checkbox on and off.
Expand All @@ -186,5 +186,5 @@ behavior: >-
accessibility: To optimize screen reader accessibility, lay out checkboxes
vertically rather than horizontally.
last_updated: 2019-09-17T14:30:15.293Z
research: ''
research: ""
---

0 comments on commit ad7d0c9

Please sign in to comment.