WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Input mask for currency?

for

Number of posts in this thread: 2 (In chronological order)

From: Chris Westbrook
Date: Wed, May 02 2018 11:20AM
Subject: Input mask for currency?
No previous message | Next message →

I'm wondering if people think it is a good idea to try to use a mask for
curr5cy lets say? I am using angular, and I tried to use the ng currency
mask library, but I didn't like it from a user perspective because it
changed the behavior of the input. It need to disable the backspace key and
other undesirable things. Any thoughts?

From: Birkir R. Gunnarsson
Date: Wed, May 02 2018 1:06PM
Subject: Re: Input mask for currency?
← Previous message | No next message

Masking an input field always makes it more difficult to fill it in
and verify that the correct information was provided.
So carefully weight the masking need, from a security perspective,
against the downgraded user experience.

For soecial security or credit card numbers, I think security
outweighs convenience, you could offer a checkbox next to the field to
have user display the information, people even sometimes do that for
passwords.
I don't see how that would be necessary for amounts or currency,
though I do not know your specific context of course.


On 5/2/18, Chris Westbrook < = EMAIL ADDRESS REMOVED = > wrote:
> I'm wondering if people think it is a good idea to try to use a mask for
> curr5cy lets say? I am using angular, and I tried to use the ng currency
> mask library, but I didn't like it from a user perspective because it
> changed the behavior of the input. It need to disable the backspace key and
> other undesirable things. Any thoughts?
> > > > >


--
Work hard. Have fun. Make history.