WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: A question about credit card numbers

for

From: Austin, Darrel
Date: Sep 23, 2004 8:57AM


> I prefer the four box option with the auto-tabbing, but it may be
> that users with a disability or with older browsers or browsers with
> no javascript enabled, may be disadvantaged.

I'm 'fully abled' and despise the auto-tab in form fields.

I need to enter my CC number, so I tab to the start, enter 1234, and, while
still looking at my card, hit tab, 5678, tab...glance at the
screen...oh...wait, crap, now I tabbed out of the CC fields. Ugh. Go back.
Do it again.

Anything that most folks can enter fairly fast (phone numbers, CC#s, Social
Security, etc.) assume that they're going to use the tab key just like they
would doing any data entry in excel, or a DB, etc. if it's split into
multiple fields.

Just MHO, of course.

Otherwise, I agree with kjorpela...leave it as one field...and
validate/reformat it as necessary on the server end.

-Darrel