roam/20211104164651-input_data_properties.org
2021-11-04 16:52:09 -04:00

863 B

Input data properties

How could we describe data that we wish to validate and possibly sanitize differently, and present different experiences to end users for providing that data?

  • What causes us to want to trim or prevent leading or trailing whitespace from some inputs?
  • What causes us to limit the characters a field accepts?
  • What sort of data would we want to sanitize or otherwise alter as we accept it (e.g. accepting but also sanitizing HTML to be stored as trusted HTML)?

Is there a good language for describing these categories of data, can we better understand what differentiates them, and use that knowledge to build more consistent guidelines for UX and input handling?