5 ms·
It's a shame the UI elements built into HTML are so lacking, which I think is what ultimately drives people do things like this. Look at <select multiple> for
by deergomoo 5y ago
It's a shame the UI elements built into HTML are so lacking, which I think is what ultimately drives people do things like this.
Look at <select multiple> for example—the browser built-in is borderline unusable. Anything that requires combining a click with the shift and ctrl/cmd keys is not going to go down well with the average user. Same goes for <select>s that need more advanced behaviour like filtering. There's <datalist>, but it's incredibly basic and pretty useless for most cases you'd want that sort of input.
The web is an app platform whether we like it or not, and I'd like to see a robust set of browser-native controls with mechanisms to customise styling and behaviour. It would improve accessibility, improve performance, reduce page sizes (because we wouldn't be re-implementing the whole world in JS), and it would at least go a little way to offsetting the slow erosion of quality desktop software that web technologies are bringing.
- int_19h 5y agoI suspect that one of the big reasons why native HTML widgets are not improved, is because everybody who needs something "fancy" (by web standards), just rolls their own.
- thristian 5y agoThe browser select-multiple widget works like that because that's how it's worked in most desktop OSs since Macintosh System 1.0 in 1984 (at least). It's been simple and predictable and easily learned for decades, calling it "borderline unusable" is just hyperbole. Now, if you wanted to say that HTML's standard widgets should be allowed to reflect the platform-native look-and-feel (for example, adding a "selected" checkbox on touch-screens, or supporting long-press to select items, or whatever) instead of being tied to Windows 95 appearance and behaviour by backwards-compatibility concerns, then yeah, I'd agree with that.
- cameronh90 5y agoIt's "borderline unusable" because the vast majority of people who use computers probably wouldn't know how to select more than one item. There are no affordances and virtually nothing uses it any more. Even in the early desktop era when it was popular, many non-enthusiasts probably just didn't know how to use a UI control like that. It just didn't cause a problem because most people didn't use computers much. I would bet that most internet users today have never even used a UI where that control is popular.
- swiley 5y agoIf you're that worried "<p> hold shift to select more than one item.</p>" isn't a whole lot extra to add and is something most people can handle.
- mikepurvis 5y agoProbably wouldn’t be a great fit for touch or screen reader interfaces, though.
- swiley 5y agoTouch screen OSes usually have their own implementations.
- blacktriangle 5y agoWhich frankly is the best argument FOR using the built-in multiple select, since the custom widgets often fail on touch.
- fermuch 5y agoSome users don't know what key "shift" refers to.
- deleted 5y ago[deleted]
- cameronh90 5y agoYou think people actually read what's on the screen...? Never done tech support I take it!
- AnIdiotOnTheNet 5y agoSo how do you expect them to use your product if you strawmen them as people incapable of reading?
- innocenat 5y ago> It's been simple and predictable and easily learned for decades, calling it "borderline unusable" is just hyperbole. And it's also completely not discoverable. I only know how it works when I read from HTML book back in the day. Just because it was the standard doesn't mean it's easily learned.
- LeifCarrotson 5y agoI agree that calling it borderline unusable, when it works great for power users on the desktop, is hyperbolic. Unfortunately for those power users, Digikey, one of the best electronics distributors and also one of the best examples on the web of parametric catalog search, recently disagreed, changing from the classic and highly functional control/shift + click to select multiple to a weird click and drag/click and repeat paradigm.
- miohtama 5y agoAn order of magnitude more users are more familiar with iOS and Android than Mac System paradigms from 80s.
- CRConrad 5y agoThose "Mac System paradigms from [the] 80s" are also the Windows paradigms from the 1980s to the 2020s. Still "an order of magnitude" more users more familiar with iOS and Android than that? I doubt it.
- miohtama 5y agoAndroid alone had 2.8 billion users in 2020, so I do not understand what kind of rationale can possible lead to think this is less than PC and Mac users.
- CRConrad 5y agoAh. So when I thought I was saying 2.8 billion isn't "an order of magnitude MORE" than the surely at least a billion people who've used Windows at some point in the last three and a half decades, I was actually saying "2.8 billion is less than at-least-a-billion"? Funny, that's not what I thought I was saying. If you absolutely have to put words in my mouth, please make them at least a little less stupid ones. Maistuivat vähän paskalta.
- friendzis 5y ago> Anything that requires combining a click with the shift and ctrl/cmd keys is not going to go down well with the average user. This is part of the problem. Your average user at temporal point X has difficulty combining mouse clicks with keyboard modifiers. You build interface around that notion and in a later temporal point Y your average user cannot combine those at all and you have lost input mode. Your average user has problem distinguishing single click from double click. You install debounce logic, train them there is no difference between the two and lose input mode. The web is a shitty platform for apps, because currently it is supposed to be used from at least proper PC, touchable handheld device, embedded in controlling container and in relatively near future virtual environments. Game developers have tried for literally decades to bridge the gap between PCs and consoles and mostly failed at that with both platforms being relatively static. The web being a moving target is much more difficult to fit on different device classes. Yet we try to do that and as a result are moving to the lowest common denominator.
- tehbeard 5y ago> Game developers have tried for literally decades to bridge the gap between PCs and consoles and mostly failed at that with both platforms being relatively static. For grand strategy / RTS, yeah, that's kind of a function of the complexity. Most other game genres are fairly well defined in the expected control schemes on both platforms now though.
- oauea 5y ago> Anything that requires combining a click with the shift and ctrl/cmd keys is not going to go down well with the average user This is how computers have worked since pretty much day 1, not just the web. I remember getting computing classes in school, but it seems the current generation is completely ignoring all of that and instead just plays on their phone. More built-in widgets would be great though.
- cout 5y agoAnd it's not just keyboard modifiers -- in middle school I remember having to explain double clicking. People eventually got used to it, then the web got popular, and I had to explain to users not to double click on web links but do click on desktop links. Even in this century I still occasionally see people using double click to navigate the web.
- CRConrad 5y agoCould be argued that that was a mistake in the original specs for the Web. At the time, as I recall it, "double-click for action" was already a pretty well-entrenched standard on multiple platforms.
- the_other 5y ago> It's a shame the UI elements built into HTML are so lacking, which I think is what ultimately drives people do things like this. I like to imagine that if browser makers had collaborated better on standardising CSS hooks into the default widgets, we would not have seen such strong adoption of tools like bootstrap. We possibly would have had a different pathway through template+controller libraries too. As a FED, I didn’t help. I rode the gravy train along with Backbone, Angular and React. I wish I had fought harder and spoken more eloquently on the practicality of a11y-first semantic mark-up and progressive enhancement. I caved in to the demands of the agencies who took me on to get stuff done in the trendy stacks.
- AnIdiotOnTheNet 5y ago> Anything that requires combining a click with the shift and ctrl/cmd keys is not going to go down well with the average user. Is there a reason the element has to be implemented that way? Correct me if I'm wrong, but aren't the details of how it works up to the browser? It only works that way because every OSs native select widget worked that way and once upon a time browsers actually tried to integrate well with the OS and used native widgets.
- yoursunny 5y ago> Anything that requires combining a click with the shift and ctrl/cmd keys is not going to go down well with the average user. These users need to retake the computer literate 101 class. When I'm in elementary school, we learned how to multi-select in the tutorial system that comes with Windows 3.1. I don't know why Windows XP deleted these very important tutorials and replaced them with a webpage.
- jwarren 5y agoThere are lots of people without your educational background. It's a few years old now, but I remember finding Alice Bartlett's talk on <select> box inaccessability [1] quite instructive. 1: https://www.youtube.com/watch?v=CUkMCQR4TpY https://www.youtube.com/watch?v=CUkMCQR4TpY
- jacquesm 5y agoThis, rather than JavaScript would have been the way to extend the web into a more cross platform application domain. Now we have essentially a bitmapped graphics terminal where each and every entity re-invents the user interface in new, incompatible and broken ways.