diff --git a/.changeset/big-dodos-switch.md b/.changeset/big-dodos-switch.md new file mode 100644 index 0000000000..38952e1485 --- /dev/null +++ b/.changeset/big-dodos-switch.md @@ -0,0 +1,5 @@ +--- +'@solid-design-system/docs': patch +--- + +Updated wording of primary buttons in form templates. diff --git a/packages/docs/src/stories/templates/forms.a11y.ts b/packages/docs/src/stories/templates/forms.a11y.ts index 7172d185c2..a339984a31 100644 --- a/packages/docs/src/stories/templates/forms.a11y.ts +++ b/packages/docs/src/stories/templates/forms.a11y.ts @@ -48,7 +48,7 @@ test('Contact Form', async ({ page }) => { - checkbox "I would like to receive marketing emails." - text: I would like to receive marketing emails. - text: "* Required fields" - - button "Submit registration" + - button "Send" - button "Cancel" `); }); @@ -74,7 +74,7 @@ test('Form With Visually Disabled Elements', async ({ page }) => { - checkbox "I would like to receive marketing emails." [disabled] - text: I would like to receive marketing emails. - text: "* Required fields" - - button "Submit registration" [disabled] + - button "Send" [disabled] - button "Cancel" `); }); diff --git a/packages/docs/src/stories/templates/forms.stories.ts b/packages/docs/src/stories/templates/forms.stories.ts index e49dd562c7..90301ba219 100644 --- a/packages/docs/src/stories/templates/forms.stories.ts +++ b/packages/docs/src/stories/templates/forms.stories.ts @@ -107,7 +107,7 @@ export const ContactForm = {