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
@@ -42,7 +101,7 @@ When rendering an input other than a form component from Primer, you must manual
42
101
-`FormControl.Label` should be associated with the text input by using `htmlFor`
43
102
- If there is a caption, the input should be associated with the caption by passing the message's ID to `aria-describedby`
44
103
- If there is a validation message, the input should be associated with the message by passing the message's ID to `aria-describedby`
45
-
- If there is both a caption and a validation message, the input should be associated with the message by passing the both the validation message's ID and the caption's ID to `aria-describedby`
104
+
- If there is both a caption and a validation message, the input should be associated with the message by passing the both the validation message's ID and the caption's ID to `aria-describedby`. Example: `aria-describedby="caption-id validation-id"`
46
105
- If the input's value is invalid, `aria-invalid={true}` should be passed to the input.
47
106
- If the input is disabled, `disabled` should be passed.
48
107
- If the input is required, `required` should be passed.
0 commit comments