My web app has a username field that is case sensitive. Everything works smoothly in most cases, but there seems to be an issue with Safari on iOS and occasionally Chrome on Android. These browsers automatically capitalize the first letter of any text entered into the input field, causing frustration for users.
Because the input type is
<input type="text">
, the first letter inputted on those devices is always in uppercase. Users find this annoying because it requires extra effort to override the auto-capitalization, and some may not even notice the change, resulting in login failures.
Using string.toLowercase()
in my javascript is not a viable solution since users are allowed to use mixed case logins. All I want is for the browsers to stop automatically deciding which letters should be in uppercase...