Re:HTML attributes to improve your users' two factor authent...
by Zardoz84 on Sunday January 12, 2020 @04:24AM
(#22025331)
why recommend inputmode if isn't well supported by other browsers that aren't Chrome ?
[ Parent
| on HN ]
Re:HTML attributes to improve your users' two factor authent...
by johneth on Sunday January 12, 2020 @04:45AM
(#22025412)
It's supported in iOS Safari and Chrome / Chrome for Android[1].
I'd say that's well supported, especially for the problem it's trying to solve (displaying the best keyboard for the input on mobile devices).
Re:HTML attributes to improve your users' two factor authent...
by philnash on Sunday January 12, 2020 @05:38AM
(#22025597)
Further to this, it is also why I suggested the pattern workaround for older browsers.
You shouldn't find yourself in too much trouble in a browser if you add an attribute to an element that it doesn't understand though, it will just ignore it.