diff --git a/src/components/fieldset/_macro-options.md b/src/components/fieldset/_macro-options.md index 479facd02f..a4fc473d6c 100644 --- a/src/components/fieldset/_macro-options.md +++ b/src/components/fieldset/_macro-options.md @@ -1,12 +1,12 @@ -| Name | Type | Required | Description | -| --------------------- | ------- | -------- | ------------------------------------------------------------------------------------------ | -| id | string | false | The HTML `id` of the fieldset | -| classes | string | false | Classes to apply to the fieldset | -| legend | string | true | Text for the fieldset’s legend | -| legendClasses | string | false | Classes to apply to the legend element | -| legendIsQuestionTitle | boolean | false | Creates an `h1` inside the `legend`. Use when there is only a single fieldset on the page. | -| legendTitleClasses | string | false | Classes to apply to the `h1` created using `legendIsQuestionTitle` | -| description | string | false | Description for the fieldset | -| attributes | object | false | HTML attributes (for example, data attributes) to add to the fieldset | -| error | Error | false | Configuration for validation errors | -| dontWrap | boolean | false | Prevents the fields from being wrapped in a fieldset | +| Name | Type | Required | Description | +| --------------------- | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------ | +| id | string | false | The HTML `id` of the fieldset | +| classes | string | false | Classes to apply to the fieldset | +| legend | string | true | Legend will render text within a `` tag | +| legendClasses | string | false | Classes to apply to the legend element | +| legendIsQuestionTitle | boolean | false | When set to true, the text provided within the `legend` is rendered as an `

` tag. Use when there is only a single fieldset on the page | +| legendTitleClasses | string | false | Classes to apply to the `h1` created using `legendIsQuestionTitle` | +| description | string | false | Description for the fieldset | +| attributes | object | false | HTML attributes (for example, data attributes) to add to the fieldset | +| error | Error | false | Configuration for validation errors | +| dontWrap | boolean | false | Prevents the fields from being wrapped in a fieldset | diff --git a/src/components/mutually-exclusive/_macro-options.md b/src/components/mutually-exclusive/_macro-options.md index 6ed300d121..760216889d 100644 --- a/src/components/mutually-exclusive/_macro-options.md +++ b/src/components/mutually-exclusive/_macro-options.md @@ -2,9 +2,9 @@ | -------------------------------- | ------------------------------------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | id | string | false | The HTML `id` of the fieldset | | classes | string | false | Classes to apply to the fieldset | -| legend | string | true | Text for the fieldset’s legend | +| legend | string | true | Fieldset’s legend will render text within a `` tag | | legendClasses | string | false | Classes to apply to the legend element | -| legendIsQuestionTitle | boolean | false | Creates an `h1` inside the `legend`. Use when there is only a single fieldset on the page | +| legendIsQuestionTitle | boolean | false | When set to true, the text provided within the `legend` is rendered as an `

` tag. Use when there is only a single fieldset on the page | | description | string | false | Description for the fieldset | | attributes | object | false | HTML attributes (for example, data attributes) to add to the fieldset | | exclusiveOptions | `Array` or `Array` | true | Configuration for the mutually exclusive options |