Or use basically *any* accessibility feature or try to input text in a different language. Please don't reinvent browser features in JS; you're going to miss on a *lot* of engineering work put into making stuff work for everyone.https://twitter.com/anatudor/status/945370849871265793 …
-
-
Replying to @ManishEarth
The thing people miss is that the web has a design principle that things like <input> and <select> delegate to the OS controls. This is a feature not a bug! Flash tried to unify and while the controls were pretty enough and consistent, the experience sucked.
4 replies 2 retweets 16 likes -
Replying to @wycats @ManishEarth
The trouble is these are still very crummy in most OSes and there is no way to fix them
1 reply 0 retweets 0 likes -
Web browsers generally change the appearance and also give you the ability to style things in a limited but powerful fashion.
1 reply 0 retweets 0 likes -
Replying to @ManishEarth @wycats
I meant in terms of functionality. For example, https://harvesthq.github.io/chosen/ is miles ahead of any desktop browser <select> implementation I've ever seen
1 reply 0 retweets 0 likes -
Worth mentioning -- regular <select> also has a type-to-search, it just fills an invisible edit field. In this case this input field is implemented using other input fields, which is kinda ok. Doesn't work on my phone, though (kinda the point?)
1 reply 0 retweets 0 likes -
This particular thing really should be improved by browsers.
1 reply 0 retweets 1 like -
Replying to @ManishEarth @wycats
Some search things that I'd love to see improved: string should not reset based on timeout, adding some visual feedback for the search, option to narrow the list of results, option to plug in custom search matching function
1 reply 0 retweets 0 likes -
And for multi-select, making it more difficult to destroy your entire selection would be a good start.
1 reply 0 retweets 0 likes
And with all of this, replacing <select> destroys the experience on mobile, breaks most autofill, and breaks accessibility.
I'm not opposed to people building from scratch, but form controls are a poor place to do it. As @ManishEarth says, we should fix it if it needs fixing.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
