Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add guidelines for inputs requiring numbers 馃敘 #288

Open
maximedegreve opened this issue Sep 5, 2022 · 0 comments
Open

Add guidelines for inputs requiring numbers 馃敘 #288

maximedegreve opened this issue Sep 5, 2022 · 0 comments

Comments

@maximedegreve
Copy link
Contributor

Our form guidelines already provides a lot of good information on how to provide validation in multiple scenarios however it's missing cases where the input it limited to just numbers.

Currently there are no examples of disabled states as well as no pattern for letting the user know why an item is disabled.

Considerations

  • Similar to password validation a error message should appear upon submission if it fails validations
  • Similar to password validation a hint message should appear below the field explaining what's expected. In this case only numbers.
  • From an accessibility point of view is it acceptable to only allow entering numbers and is there other things we should consider to ensure it is perceived correctly by screen readers.
  • Do we need additional styling for the up and down arrows in number inputs
  • Are there other types of inputs that might need additional documentation

Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant