Consolidate components for input and labels in forms
Opened this issue · 0 comments
ciyer commented
Description
In these following places, there is code that creates form fields with labels, help text, display of errors:
- client/src/features/projectsV2/fields/DescriptionFormField.tsx
- client/src/components/form-field/TextInput.tsx
- (others to come)
We should go over this code and make sure that:
- Accessibility guidelines are being respected https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
- Structure is consistent
- If it makes sense, shared components are extracted and consistently re-used