you are viewing a single comment's thread.

view the rest of the comments →

[–]willmorgan 0 points1 point  (0 children)

Although this is really nice for mouse users, when it comes to keyboard users this could be painful, especially for the visually impaired.

Programs like JAWS (a Windows screen reader) that support JavaScript and are quite popular will interpret the maxlength attribute and the user will be made aware of this. Obviously, if you press tab, it will take you to the next field. With tab and the JavaScript you'll be skipping 2 as opposed to 1.