Skip to content

Commit

Permalink
chore: Fix incorrect example in Field Set docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpens committed Nov 5, 2024
1 parent d2d5fae commit 540c1bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storybook/src/components/FieldSet/FieldSet.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ Add an `id` to the Field Set and the Error Message, and add both to the `aria-la

```jsx
<Fieldset
aria-labelledby="fieldset description"
aria-labelledby="fieldset error"
id="fieldset"
legend="Label"
>
<Paragraph id="description">Description</Paragraph>
<ErrorMessage id="error">Error message</ErrorMessage>
...
</FieldSet>
```
Expand Down

0 comments on commit 540c1bb

Please sign in to comment.