5 ms·
The depths of the input element
- beebeepka 3y agoHa, I actually didn't know some of this stuff. I am guilty of not being very helpful to mobile and disabled users so far, mostly because I almost never work on user facing projects. Which is terrible excuse because why wouldn't a visually impaired or disabled person not be working in a back office or something. We should not be sticking to what works for "most people". I am sorry.
- midasuni 3y agoIf you were sorry you would change your approach.
- midasuni 3y ago> Chrome and Edge have been known to send the contents of <input> elements to a spellchecking service over the network, exposing whatever was in the field One day maybe someone will write a client side spell checker that can work without sending things to a data centre to be rendered.
- jjtheblunt 3y agoHasn't Apple done that with the iOS/WatchOS resident language models, for one example?
- wild_egg 3y agoI read the parent comment here as sarcasm... We've had offline spell checkers for decades. Sending our text to some server for checking is a modern horror
- deleted 3y ago[deleted]
- cloths 3y agoNice write-up! The nuances between browsers can be annoying yes, if I remember correctly the spellcheck behaviour for contenteditable div are also different between FF and Chromium-based.
- couchand 3y agoLove to see recognition of inputmode. Remember, the one true ZIP code field is <input type="text" inputmode="numeric"> Sad to see the invalid markup throughout. The input tag is void, it has no closing tag. Self-closing tags are not HTML!
- Filligree 3y ago> Love to see recognition of inputmode. Remember, the one true ZIP code field is Would that allow me to enter my alphanumeric zip code on a cellphone?
- couchand 3y agoYou may have an alphanumeric postal code but as far as I'm aware there are no alphanumeric ZIP codes.
- NVI 3y agoUnited Kingdom and Canada, for example, have alphanumeric ZIP codes. https://en.wikipedia.org/wiki/Postal_code#Alphanumeric_postal_codes https://en.wikipedia.org/wiki/Postal_code#Alphanumeric_posta...
- scintill76 3y agoI think the point is that those are "postal codes", not "ZIP codes."
- Filligree 3y agoMine's an 'eircode', but there's no eircode field on Amazon deliveries, and we're told to use it as a zip code. Naming aside, companies that don't let me use "D02 R9D3" [sic] as a 'zip code', and mandate zip codes and/or lack a freeform field to put it in, can't deliver to me.
- 3y ago
- ano-ther 3y agoGood article. Please don’t use autocapitalize=words for name input fields. It makes people named de Haan unhappy.