The right choice is `inputmode`, which says how to input the value without specifying semantics.
https://html.spec.whatwg.org/multipage/interaction.html#inpu...
It'll work in Chrome (and other Blink-based browsers), but nothing else.
https://html.spec.whatwg.org/multipage/interaction.html#inpu...
It'll work in Chrome (and other Blink-based browsers), but nothing else.
Then it isn't the right choice.
1: https://caniuse.com/#search=inputmode
2: https://en.wikipedia.org/wiki/IOS (Latest preview in the infobox)
What's interesting is it used to be partially supported in Firefox, and has now been put behind about:config [0]. I'm curious as to why, since the MDN docs seems to endorse its use. [1]
[0] https://caniuse.com/#search=inputmode
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...