You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/paste-website/src/pages/patterns/form/index.mdx
+6-4
Original file line number
Diff line number
Diff line change
@@ -172,7 +172,7 @@ Before designing a form you should:
172
172
173
173
<Calloutvariant="neutral"marginY="space70">
174
174
<CalloutText>
175
-
Check accessibility for each form element component—for example, follow Time Picker accessibility guidelines. You can also refer to the WCAG Forms Tutorial for more details.
175
+
Check accessibility for each form element component—for example, follow <Anchorhref="/components/time-picker#accessibility">Time Picker accessibility guidelines</Anchor>. You can also refer to the <Anchorhref="https://www.w3.org/WAI/tutorials/forms/">WCAG Forms Tutorial</Anchor> for more details.
176
176
</CalloutText>
177
177
</Callout>
178
178
@@ -187,13 +187,14 @@ The different parts of a form are:
187
187
<strong><Anchorhref="/components/form">Form layout component</Anchor></strong>: A wrapper layout component that sets layout and spacing between form elements.
188
188
</ListItem>
189
189
<ListItem>
190
-
<strong>Form element</strong>: Any UI component in a form. Examples: Input, Button, Callout.
190
+
<strong>Form element</strong>: Any UI component in a form. Examples: <Anchorhref="/components/input">Input</Anchor>, <Anchorhref="/components/button">Button</Anchor>, <Anchorhref="/components/callout">Callout</Anchor>.
191
191
</ListItem>
192
192
<ListItem>
193
193
<strong>Form header</strong>: Includes form elements like <Anchorhref="/components/heading">Heading</Anchor> and <Anchorhref="/components/paragraph">Paragraph</Anchor> that describe the purpose of the form.
194
194
</ListItem>
195
195
<ListItem>
196
-
<strong>Form field</strong>: A UI component in a form where users enter information, including their associated Label and Help Text. Examples: Checkbox, Input, Time Picker—with their Label and Help Text.
196
+
<strong>Form field</strong>: A UI component in a form where users enter information, including their associated Label and Help Text.
197
+
Examples: <Anchorhref="/components/checkbox">Checkbox</Anchor>, <Anchorhref="/components/input">Input</Anchor>, <Anchorhref="/components/time-picker">Time Picker</Anchor>—with their <Anchorhref="/components/label">Label</Anchor> and <Anchorhref="/components/help-text">Help Text</Anchor>.
197
198
</ListItem>
198
199
<ListItem>
199
200
<strong>Form actions</strong>: Includes form elements like <Anchorhref="/components/button">Button</Anchor> or <Anchorhref="/components/button-group">Button Group</Anchor> for submitting or navigating a form.
@@ -260,7 +261,7 @@ The different parts of a form are:
260
261
<Td>Use a Checkbox to enable binary choices that require a submit action. <br/ ><br/ > Use a Switch for immediate binary on/off choices that don’t require a submit action and applies the user's choice instantly.</Td>
0 commit comments