Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D design
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Primer
  • design
  • Issues
  • #288
Closed
Open
Issue created Sep 05, 2022 by Maxime De Greve@maximedegreveContributor

Add guidelines for inputs requiring numbers 馃敘

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

  • Original Slack thread (internal)
Assignee
Assign to
Time tracking