- All inputs should have associated labels
- Placeholder text should be used for examples
- Formatting expectations should be displayed
- Required fields should be identified
- Color should not be the only indicator for feedback
- Error messages should be helpful and close to the input
- Every element should be reachable by the keyboard
- Inputs and buttons should have focus indicators
- Tab order should make sense
- Fieldsets and legends should be used to group inputs
- Run
npm install
to install dependencies - Run
npm run storybook
to start up the Storybook app locally to view the examples