Came across this a few days ago:

[The description is in the paragraph below the video]

This is a website’s credit card and CVV code fields. They are coded as number fields, which, ok, I mean credit card numbers are numbers…. but because they’re coded as number fields with no kinds of constraints on them, you can use your mouse / touchpad / finger to scroll up or down including negative numbers.

And while it may be conceivable to scroll up to a 3 digit CVV number if you have 5 minutes to kill, even people with the most severe physical disabilities will find it faster to enter a credit card number using their keyboard analogue than it will be to scroll up to the sixteen digit number that is their credit card number.

It’s not necessarily a big deal if you’re using a standard mouse  because it takes an extra motion to use the scroll wheel. On the other hand, if you’re using a touchpad and your palm accidentally brushes against it, you could end up ticking the number up or down without realizing it. And don’t get me started on Apple’s Magic Mouse.

Here’s another example:

A dialog that indicates a security code has been sent, which provides the user the ability to dial up to the security code number using the up and down arrows. Like someone wants to do that with an eight digit number.
Lest one think this is an isolated event

Number fields are for numbers, but in a very real sense, credit card numbers, CVV codes, and security codes aren’t numbers, they’re a meaningful string of digits similar to a password. It’s a subtle difference, but one that’s really recognizable as soon as the interface allows you to scroll down to -146 as your credit card number.

So when you’re coding a number field, please, ask yourself: is this really a number? Or is it a thing that just happens to use numerical digits to identify itself? If it’s the latter, strongly consider not using the number field.

Also published on Medium.

Author: Anne Gibson

Anne Gibson is a UX Designer and general troublemaker for an indirect tax company outside of Philadelphia, Pennsylvania. She's an editor and writer at The Interconnected. She is also published at A List Apart and The Pastry Box, and publishes short fiction when she's not persuading the terriers to stop wrecking things.