sanniassin / react-input-mask

Input masking component for React. Made with attention to UX.
MIT License
2.22k stars 258 forks source link

Accessibility / title support #181

Open benmccann opened 5 years ago

benmccann commented 5 years ago

Is it possible to add the title attribute to inputs?

Currently the examples fail accessibility standards with placeholder alone, but adding a title would help substantially. Go to http://sanniassin.github.io/react-input-mask/demo.html in Chrome, open Dev tools by hitting F12, click Audits tab, run audits and see accessibility failures.

benmccann commented 5 years ago

Actually, I see that title does work and get passed through. That would be nice to add to the documentation as it wasn't initially clear to me.