I have bilingual HTML 5 form, and I am using the type attribute to help change the keyboard layout for mobile devices.
<input type="tel" />
<input type="email" />
<input type="?" />
This is working fine, as the tel value is showing a numbers keypad, and the email is showing a custom keyboard for email typing.
But I'm wondering if there is a way to specify the language of the input, so the device switches to the appropriate keyboard ?
I've randomly tried this :
<input type="text" lang="ar" />
But nothing happened, is this even possible in HTML5 or Javascript ?