Skip to content

Commit

Permalink
Update storybook/src/components/FieldSet/FieldSet.docs.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Smedinga <[email protected]>
  • Loading branch information
alimpens and VincentSmedinga authored May 24, 2024
1 parent c25da03 commit 71e50d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions storybook/src/components/FieldSet/FieldSet.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import README from "../../../../packages/css/src/components/field-set/README.md?
A Field Set can have a description.
Make sure to connect this description to the Field Set or a specific input,
otherwise this won’t be read by a screen reader.
Add an `aria-describedby` attribute to the Field Set
and provide the `id` of the describing element as its value.

<Canvas of={FieldSetStories.WithDescription} />

Expand Down

0 comments on commit 71e50d9

Please sign in to comment.