material icon indicating copy to clipboard operation
material copied to clipboard

Feature Request: Input Field Masking & Accessibility

Open duncanleckie opened this issue 11 years ago • 40 comments

It would be great if Material could introduce Masks into input fields with an accessibility focus.

Unless this is a conscious design decision not to ?

We current have hacked jquery input mask however it's not great for accessibility for instance one of the number fields reads out load underline 9 times for one of them ;(

eg Date of birth format or ID numbers with specific formats

masks masks2

duncanleckie avatar May 18 '15 04:05 duncanleckie

@MichhDiego can you share the workaround?

gaboAcosta avatar Sep 11 '15 18:09 gaboAcosta

@gaboAcosta Oh yeah, I used angular-ui-mask and angular-material input together, something like this:

screenshot from 2015-09-11 18 41 19

itsmichaeldiego avatar Sep 11 '15 21:09 itsmichaeldiego

+1

ghost avatar Sep 21 '15 16:09 ghost

+1

hugomelendez avatar Sep 28 '15 21:09 hugomelendez

+1

raprav avatar Oct 14 '15 14:10 raprav

Noticed how Stripe checkout does masking on the expiry date recently. It's very nice. All invalid keys are ignored, including spaces. If you enter eg. 616, it would enter it as 06/16 given that 6 is not a valid value for the first digit.

ghost avatar Oct 14 '15 15:10 ghost

+1

HarryBurns avatar Dec 08 '15 03:12 HarryBurns

+1

KZRepository avatar Dec 09 '15 03:12 KZRepository

+1

skyworx avatar Dec 30 '15 08:12 skyworx

+1

anibalardid avatar Jan 21 '16 20:01 anibalardid

+:100:

mattdanna avatar Mar 06 '16 03:03 mattdanna

perfect for manually enter date, phone or custom format data +1

tucq88 avatar Mar 09 '16 07:03 tucq88

+1

royston-c avatar Mar 10 '16 10:03 royston-c

+1

marcincichocki avatar Mar 19 '16 15:03 marcincichocki

Check this out. Thanks.

4zuko avatar Mar 25 '16 22:03 4zuko

+1

ali4ever4 avatar Mar 31 '16 13:03 ali4ever4

+1

scriptsure avatar Apr 19 '16 16:04 scriptsure

So this means this is implemented or just plain and simple abandoned?

gaboAcosta avatar Apr 28 '16 21:04 gaboAcosta

Agreed with @gaboAcosta, @ThomasBurleson what is going on?

itsmichaeldiego avatar Apr 29 '16 21:04 itsmichaeldiego

This issue is closed as it falls in the 'deprecated' category defined in our Deprecation Policy. For details, see our post Deprecation Policy 2016.

Pull Requests are welcomed to resolve this issue. But note that not all community PRs will be merged into master. Pull Requests with large changes or large scope impacts will probably be rejected [due to stability risks to existing users].

ThomasBurleson avatar Apr 30 '16 12:04 ThomasBurleson