Check Boxes and Radio Buttons Conquered by DHTML 522
Philip Howard writes "Pretty much every form element has been conquered by CSS so far, letting us create stylish, integrated forms to tie in closely with our site designs for that UI polish graphics artists love to have.
Radio Buttons and Check Boxes, however, have resisted most attempts to style them consistently, accessibly and elegantly- perhaps because nobody cares enough to come up with the solution.
However, these elusive form elements have finally been conquered with a simple combination of CSS and Javascript and a little HTML wrapper.
The solution is easy and quick to implement, is accessible (working with tab and space) and elegantly degrades where CSS and/or XHTML is not available."
Not really new, but interesting (Score:5, Informative)
His solution is very similar to what mine would be. I'd just walk the DOM looking for checkboxes, then replace them with some inline element creation code. His solution is to get a list of all links, then find any with a special class. He then goes on to replace the contents of the links via the innerHTML property. Clunky, but it does work.
To the author: You can achieve your goal much more easily by attaching the className to the checkbox directly. Use getElementsByTagName to get a list of INPUT tags, then loop through those. When you find one you want to replace, use the function to build the replacement tag on the fly. You can then use to swap out the tags in a hurry.
Oh, and using an anchor tag for event handling is very 1990's. Try doing something like this instead: Note that you don't actually need the "StyledCheckbox" name, because you would be passing the actual element through to the event handler.
Good luck on your work.
Re:Not really new, but interesting (Score:5, Informative)
Yes, you most certainly do.
If CSS delivers the style, and the HTML still delivers the content, then those will continue to work.
Once you start using Javascript or CSS to deliver the CONTENT, then you're doing something wrong, and breaking lots of your visitors.
Many Flash developers don't seem to understand this either (modulo the huge list of problems with using Flash). HTML should deliver the Flash, not the reverse.
Re:Not really new, but interesting (Score:5, Insightful)
Why is it that amongst web developers there is only considered to be 'one way to do things'.
Standards compliance is a good guideline, but it is not law.
Web developers only need to cater to those devices in which they expect their content to be viewed. I do not expect, nor do I desire for someone to use my company's web apps from a cellphone or PDA.
Yet, people wear their xhtml compliant gif's like medals of honor.
Write your pages with compliance in mind, but never lose site of refining your apps and pages for your target audience, regardless of it if bends the standards.
Re:Not really new, but interesting (Score:2)
And most, if not all of those XHTML compliant buttons on websites are incorrect, since they are sending the content as text/html, which is not an XML application, as XHTML was designed for.
If your XHTML isn't being sent as application/xhtml+xml, then it isn't XHTML, period. Yes, I'm a purist like that.
See Sending XHTML as text/html Considered Harmful [hixie.ch] for more detail on this.
Re:Not really new, but interesting (Score:5, Informative)
Anyone else find it amusing that these "purist" people haven't even read the official specification? It's clearly stated at http://www.w3.org/TR/xhtml1/ [w3.org] that you are allowed to send XHTML 1.0 (which is what most sites are using) as text/html and they even give you an appendix full of compatibility tips when doing so.
Re:Not really new, but interesting (Score:4, Insightful)
XHTML 1.0 is bogus. If you're going to serve text/html tag soup, you might as well serve plain HTML.
Re:Not really new, but interesting (Score:3, Informative)
Those "purists" actually have read the specification, and then they've gone on to read the Note on Media Types [w3.org] which upgrades the lower-case "may" in the XHTML 1.0 spec to an upper-case RFC2119 "MAY" in the case of "compatible" XHTML 1.0 and adds a "SHOULD NOT" for any other XHTML. Of course, that "compatibility" is imposed by fiat, not by any actual compatibility of the XHTML and SGML-based HTML synt
Re:Not really new, but interesting (Score:5, Informative)
My theory is that it's a combination of:
1. More complex up-front design considerations than many other development tasks - your code is written once, but should run perfectly (or degrade gracefully) on every browser for every operating system for every architecture it ever runs on. In the website design community we deal every day with headaches caused by bugged or incompatible-by-design APIs, sketchy standards support and incredibly customisable interfaces (what's the C/C++/Java equivalent of "disable stylesheets", eh?). When you find a technique that works perfectly/degrades well on all known implementations, you stick to it like glue, and disseminate the word so others don't have to rip their own hair out. CSS tricks are even more slavishly followed, because so many rely on precise, back-engineered quirks of different browsers' rendering algorithms.
2. A large segment of much less-educated community participants. A lot of web designers (even now) have come at it from a graphic design background, and fail to appreciate the complex requirements and difficulties inherent in javascript, XHTML, CSS and how they all interact. Solving a lot of common problems with one approach which can be copied by the less-knowledgeable is a big win when it stops people re-inventing the wheel (and making it square - Flash developers, I'm looking at you).
3. Look where pandering to IE/Netscape and coding to browser quirks got us in the 90s - sometimes it took longer to make a site work acceptably in all browsers than it did to design and implement the first complete version! Quite often these days you'll find the "one way to do it" is basically conforming to the standards, avoiding proprietary extensions and writing pages which validate. There's nothing wrong with it, it encourages browser-manufacturers to conform to the standards, it simplifies the job of the web designer/developer and it doesn't restrict creativity one jot.
"Standards compliance is a good guideline, but it is not law."
No, but it is the only thing that stops you unnecessarily spending twice as long on a job coding to browser quirks. And it does ensure that everyone will be able to at least see the information, even if it's not necessarily pretty (pretty is easy too, for a further small investment of time). And it does mean you can tell the difference between a skilled, professional webmaster and someone's kid nephew with a copy of Frontpage.
"Web developers only need to cater to those devices in which they expect their content to be viewed. I do not expect, nor do I desire for someone to use my company's web apps from a cellphone or PDA."
Then, with apologies, you fail to understand the fundamental nature of the web. The whole point of the web is that anyone should be able to access information (and web apps count as information), however they like.
"Not expecting" customers to use different browsers only shows that you're closed-minded or not very imaginative (especially for someone posting on Slashdot!). "I didn't expect it" is a pathetic justification when something doesn't work unnecessarily, and indicates a lack of professionalism in your execution.
"Not desiring" it (eg, coding to a specific browser as my company does - I don't) means you're effectively locking yourself and your customers into one company, and everyone knows vendor lockin is a pointless risk - even Microsoft's now paying lip-service to interoperability.
"Yet, people wear their xhtml compliant gif's like medals of honor."
Yes. They're proudly saying "Look - I'm a professional". Or "I care about doing things The Right Way". Or even "Fuck off browser-makers, unless you can make it work according to the standards". How are these a bad thing?
"Write your pages with compliance in mind, but never lose site of refining your apps and pages for your tar
Re:Not really new, but interesting (Score:4, Insightful)
>> the guy who wrote it is either lazy, unprofessional, working to an unrealistic schedule or shit at his job.
Thankfully you put that middle one in there. I was about to cloud up and rain all over your ass.
Many of us want to do, and vocalize the importance of doing the right thing, but our hands are tied. Don't forget that.
Re:Not really new, but interesting (Score:3, Interesting)
Seriously - what is it with managers who hire you to be "the expert" in something, then refuse to listen to your advice on scheduling?
Re:Not really new, but interesting (Score:5, Informative)
I, as a user, expect the web apps I use to be usable from any web browser available to me, including cellphones and PDAs.
If your company will not provide this ability to me, I will visit your competitors and see if they will.
Re:Not really new, but interesting (Score:4, Insightful)
But it flat out doesn't work at all in IE. Doesn't even come close. Does this matter? No, not at all. Because the people I'm developing this for don't care what browser they're using. As far as they're concerned, they double-click on the Firefox icon to run this application, and that's all that matters.
It's kind of weird when you start thinking of webapp development in these terms, but you quickly get used to it. Intranet webapps are different (often very different) to internet websites.
Re:Not really new, but interesting (Score:3, Insightful)
Stick to the standards, and all will be well. Even proprietary extensions from open-source apps aren't always perfectly safe - how would you feel if you'd invested in loads of Mozilla Suite-specific code, when Firefox came out? Or how about if (god forbid) Firefox dies on its arse, and the only options are Opera or (hackcoughspit) IE?
Re:Not really new, but interesting (Score:3, Insightful)
Where, exactly, did he say anything about violating any standards? He said it didn't work on IE, which probably means it is using standards correctly, specifically CSS2.
Re:Not really new, but interesting (Score:5, Interesting)
This is not your usual web application. It's all a single page, and almost every user action is handled with asynchronous XMLHttpRequests. It's pushing the envelope a fair bit, yes - but my boss is happy and so I'm happy too :). It is pretty amazing what you can do with Ajax when you don't have to be held back by IE limitations.
Well, it's pretty damn simple. If they want to use the app, they use a supported environment *shrug*. Just like any other software vendor. Except it's about a billion times easier to install and run an alternative browser than it is to install and use an alternative operating system on your computer (when my boss was demonstrating to a potential client, it took him all of two minutes to (a) download, install and run Firefox and (b) get our app running on the newly-installed Firefox).
In some ways it's easier if you think of it like the web application is a "real" application. It's just that you install Firefox (or Mozilla, or K-Meleon) on your desktop to "run" the application (instead of, eg. a Java or .NET runtime environment). And of course in the near future our app will work with every major browser except IE.
Re:Not really new, but interesting (Score:3, Insightful)
Asynchronous XMLHttpRequest has really opened a lot of doors for this sort of stuff, and there's still a great deal of scope for new and interesting web applications.
Re:Not really new, but interesting (Score:3, Insightful)
Hmmm. Is Google going to be put out of business if their maps application doesn't work on every (any?) cell phone or PDA? I think not. If your content is the app itself, and that app only works with JavaScript and CSS, then so be it. You're not doing anything wrong by requiring that of your users.
Re:Not really new, but interesting (Score:3, Insightful)
Some of the most talented developers I know work heavily with web applications. Are they any less programmers because you're suffering from reverse domain envy?
Would it shock you to know that, on the spectrum of languages, Javascript is actually much close
Re:Not really new, but interesting (Score:5, Insightful)
This is my biggest problem with flash.
There is nothing more annoying than browsing to a site from a machine which doesn't have flash installed (don't want it) and realizing the site was written in such a way as to not be able to get past the into animation without flash.
People who make web-sites which can't be operated without flash need beatings.
Re:Not really new, but interesting (Score:5, Insightful)
I'll give you some more fuel to pour on that fire:
It irritates me too, so I just don't use it, or recommend sites that do. Let's just make our entire site in PostScript, or better yet an OpenOffice.org .sxw or an OpenDocument .odp file format.
People just need beatings anyway, just to let them know they can be beaten by anyone for any reason. This whole "Gimme" generation and the new business model of "Don't have a viable business plan? Sue someone! Profit!" needs to stop.
I'm going to have to start a new campaign called "Slap the Stupid out of Everyone" that does just that. Can't count change in the drive-thru? Find a new job, you're fired. Can't figure out how to answer questions about your product in the store? You're fired. Parking like an idiot [iparklikeanidiot.com]? Towed.
I'm tired of just ignoring and tolerating stupidity and ineptitude and excuses. It has to stop.
Re:Not really new, but interesting (Score:5, Interesting)
The same goes for screenreaders. I have to make my applications Section 508 compliant everyday because we're a gov't contractor. It sucks. If Mozilla and IE know what elem.innerHTML is and can render it, why can a screenreader not work like a real goddamned web browser? Then it too would know what my elem.innerHTML is and can read it accordingly aloud to the non-sighted user.
There are real 508 problems for blind folks. Implementing a "skip nav" hidden link to bypass the multitude of primary navigation links is standard. If we can pass the user around the page like that, why not include more dynamic pieces in the page and present a non-visible menu for blind people? "Press 1 for My Profile, Press 1 for ... blah blah blah". As they press a button, *javascript and dhtml* take them around the page, reading more parts of the menu.
In my mind, a very accessible app would be more like a phone VRU to a blind person. But what's the problem? JAWS doesn't know shit about a page beyond html markup. It was only in the past few years that they managed to handle nested tables well. So blind people are lost when it comes to even Section 508 compliant websites, because screenreaders as they exist today suck.
Rich web applications (a la GMail, Google Maps, Flikr, Backpack, and other AJAX style applications) are a rennaissance of web programming. They are increasing usability at the expense of accessibility. The vast majority of users are sighted and on a PC. I don't think the solution is to code down to the lowest common denominator, but to build up the other dumber clients of web apps.
Re:Not really new, but interesting (Score:4, Insightful)
Unfortunately, accessiblility is going to win this one out, thanks to web services and RSS and many other things. Eye-candy is great, but without a viable fallback, it will die off. That is the nature of evolution, and this will go the same route.
How do you know the vast majority of users are sighted on a PC? There are literally thousands upon thousands of users who are using a PC, who are legally blind or entirely blind. One of my colleagues uses 25+ point fonts because he can't see anything smaller than that, and he reads 8" from the screen.
The advent of the Internet is enabling people with disabilities to meet and join other communities of disabled people (visually, aurally and otherwise), and those communities are strong and growing. Elderly people are getting on the Internet, and many of them can't legally drive because of their sight.
While your own personal userbase might be fully-sighted, don't assume that your demographic expands to the rest of the world... it doesn't.
If the most-important part of your website is the presentation and not the content, you're doing something wrong. Yes, presentation makes the content look better (in some cases), but the users who are there won't be buying your product because you have pretty fonts or a spiffy intro in Flash. They'll be buying it because of what it DOES for them.
Re:Not really new, but interesting (Score:3, Insightful)
Yes, there are many thousands, tens of thousands even, of blind, partially blind, and color blind web surfers. There are hundreds of millions of sigted users. Blind people are a minority group.
Section
Re:Not really new, but interesting (Score:2)
I know that I and several other developers I know have made "standard" Javascript libraries to do just this. - It's not rocket science, and this solution even lacks the "SELECT" element, which can't be styled very much, and is a "heavyweight component"[1], which makes it a prime candidate for swapping with a DHTML component.
[1] Meaning that it's "on top" of everything else
Re:Not really new, but interesting (Score:4, Insightful)
Re:Not really new, but interesting (Score:4, Insightful)
On what browser/platform?
I highly doubt this is the case because, as the author explains, all 'magic' extras are written AFTER the normal elements have loaded. So without javascript, nothing changes.
What I suspect you have done is disabled Javascript in your browser and then tried to use it - without refreshing the page. I've just tried in this in Firefox and it seems to be the case. I don't think the chances of someone disabling Javascript mid-way through using the page are worth worrying about
Please correct me if I'm wrong though.
Re:Not really new, but interesting (Score:2)
(I have no idea whether or not it actually _is_ new.)
Re:Not really new, but interesting (Score:2)
I've done similar things several times before, where you wrap the leg
Re:Not really new, but interesting (Score:2)
No, you don't want to support those guys; people using cellphones, some public terminals, Lynx or have turned off javascript are to be avoided... letting them use your site is bad, esp. if they actually could end up giving you money by clicking ads or buying services/products.
Remembe
Re:Not really new, but interesting (Score:2, Insightful)
Not only is it clunky, but it's incorrect. Classes are for CSS behavior, not JavaScript behavior. See: http://www.alistapart.com/articles/scripttriggers/ [alistapart.com]
And, innerHTML is evil.
And of course you're right, this isn't new.
Re:Not really new, but interesting (Score:4, Insightful)
I don't know where you picked up that little nuggest of "wisdom", but it's completely wrong.
The class attribute is for grouping disparate elements. This is very useful in both CSS and Javascript, but it is not "for" either. It's a general mechanism - you can use it in custom written shell scripts that work with wget if you like, no Javascript, no CSS, still perfectly fine.
If you are confused about what an element type or attribute is for, consult the specification [w3.org]. It is quite clear in stating that it's for "general purpose processing by user-agents".
Re:Not really new, but interesting (Score:2)
As far as I know, this IS new. I've certainly never seen checkboxes and radio buttons (non-Flash) styled like this before, and I try to keep up with that kind of thing.
I'm not that well versed in ECMAScript or the DOM but are your suggestions accessible like
Re:Not really new, but interesting (Score:2)
I was actually referring to the CSS in specific, but even a lack of JavaScript is a big issue. There have been several times that I've written a DHTML application to improve the user interface. The non-Javascript alternatives are simply too clunky and hard to use. So yes, when they're in my site I expect them to have JavaScript turned on.
That being said, I would o
Re:Not really new, but interesting (Score:3, Insightful)
Elements are nodes in the document tree.
Exactly what I said. Thank you for agreeing with me, Mr. Troll.
And the HTML specification actually says "elements are not tags"
Precisely. Tags are represented by a sub-set of elements. Thus in certain cases, the two words can be used interchangably. Cases like, I don't know, the one I was using originally?
But wait! We have to ke
Not the first time, but nice idea (Score:2, Informative)
boo.com had quite groovy code if I remember rightly.
Suggestion to improve your version: onFocus="blur(this)"
Re:Not the first time, but nice idea (Score:2)
The real question is (Score:5, Funny)
Re:The real question is (Score:5, Insightful)
Yes, actually. While I'm none to keen on the idea of supporting old browsers in DHTML/AJAX/Whatever-you-want-to-call-it-this-week applications, his solution is designed to allow for normal checkboxes to show in browsers that lack JavaScript. As a result, the normal "text" checkboxes would show in Lynx. At least until Lynx gets full JavaScript and DOM support. Then you have problems.
Re:The real question is (Score:2)
Check Boxes and Radio Buttons Respond: (Score:5, Funny)
Click here (Score:3, Funny)
[ ] This is a kludge
[ ] I didn't read TFA, but I like clicking boxes anyway
Re:Click here (Score:3, Funny)
[ ] This is a good idea
[ ] This is a kludge
[x] I didn't read TFA, but I like clicking boxes anyway
Re:Click here (Score:3, Funny)
[ ] This is a good idea
[ ] This is a kludge
[ ] I didn't read TFA, but I like clicking boxes anyway
[X] CowboyNeal
Is this a good thing? (Score:5, Interesting)
On bells and whistles (Score:5, Insightful)
After writing web applications for ten years, though, I find that more and more people simply want to get the job done. Perhaps it's that I work in Healthcare and my customers are busy people caring for patients.
The other thing that makes me nervous about bells and whistles is that they add complexity to things. Complicated things break. Browser makers have changed how they implement CSS and DHTML before and there's a good chance they'll change it in the future. Basic support for checkboxes will last another fifty years.
Re:Is this a good thing? (Score:2, Insightful)
Re:Is this a good thing? (Score:2)
Do you have an example of a page where the "Style" is such that usual controls would not be a good idea? Is there a possibility that the fancy page is really overdone if standard controls will be "out of place" in it, even if the colors are changed?
Re:Is this a good thing? (Score:2)
While it does pay to give consideration to useability, I don't think you can automatically point to a
Re:Is this a good thing? (Score:2)
Thanks. It looks like they have a bad thing going on Chud, if they think "dark green on black" text is fun to read. They even have dark grey on black. IMHO, if you need to highlight the text and/or past it into a text editor to read the web content, they've already failed it. However, I don't think that having checkboxes and option buttons on the page (rendered in the typical colors) would spoil whatever effect they are aiming for. I did not see what you meant with the
Re:Is this a good thing? (Score:2)
Re:Is this a good thing? (Score:2)
Re:Is this a good thing? (Score:2)
The sample page actually does include round checkboxes which look more like option buttons than checkboxes. Yes, thanks to this breakthrough, we can make checkboxes that look like option buttons, and vice-versa!
Re:Is this a good thing? (Score:2)
Re:Is this a good thing? (Score:3, Interesting)
Re:Is this a good thing? (Score:3, Insightful)
In some cases, yes. For example if you're running a review system you could use stars (as in one of the examples on that site) and users would reasonably understand
Damn you, Slashdot. (Score:5, Funny)
Otherwise, I'll be making fancy checkboxes for the next 2 months.
Damn you, Slashdot.
Re:Damn you, Slashdot. (Score:2)
amen, brother. (Score:2)
If you think that's bad, let me tell you about the months I spent trying to explain to a m
Are you joking? (Score:2, Funny)
Do editors not read articles any more? shit.
Re:Are you joking? (Score:2, Funny)
Spiffy (Score:5, Interesting)
This is the sort of thinking that leads to such UI atrocities as Winamp, iTunes for Windows, and Firefox for Mac OS X: all three of these ignore most of the native widget drawing capability in the name of creating a pointlessly slick, cross-OS-consistent experience.
I for one welcome the arrival of XAML and XUL: ways to describe forms that every OS will render using its own navigation and widget capabilities. It'll be as awesome as the time Java solved that problem for everyone everywhere.
Re:Spiffy (Score:2)
are they really blinky for anyone else? (Score:5, Informative)
in any case, i'm all for flashy design, but this seems to be more trouble and more cumbersome than it's worth, unless that javascript can be optimized to not be so slow.
Accessible? (Score:3, Interesting)
I would prefer to have normally and familiar elements that i can tab through than fancy graphics that don't work as expected.
Re:Accessible? (Score:2, Informative)
Re:Accessible? (Score:2)
I'd ask you what browser you're using, but you're a useless AC so you'll prolly never read this.
J.
Patent It! (Score:3, Funny)
Horrible and confusing (Score:3, Interesting)
I think there is a good reason why radio buttons and check boxes haven't been styled too much - it's because they are perfect the way they are.
If you want to style a checkbox or radio button atleast make it look like one, get some inspiration from the likes of Opera skins.
Re:Horrible and confusing (Score:3, Insightful)
Javascript != Solution (Score:2, Interesting)
I am very glad it degrades well, but javascript is never a solution. The goal of any web developer worth his salt is to make something universally compatible, intuitive, functional, AND good looking regardless of extensions or security settings.
It's a nice hack admittedly. Heck I may even use it on personal sites.
Re:Javascript != Solution (Score:3, Insightful)
Funny, I always thought the goal of a (web) developer is to develop a project based on the requirements at hand. As a rule of thumb, the goals you state are good ideas. But saying the JS is never a solution is .. well .. stupid.
Would you also say that the goal of any Windows developer is to have their applications run on Windows
Missing the point (Score:5, Insightful)
I think that's the point, anyway.
note to author (Score:2)
Accessible?? (Score:4, Insightful)
Accessibility my arse.
Re:Accessible?? (Score:3, Informative)
IE6: space and enter can't push the button
Opera8 (my primary browser): tab can't select the button.
Sheesh...
Re:Accessible?? (Score:2, Informative)
Re:Accessible?? (Score:3, Informative)
Ten points for style, but minus several million for accessibility.
Works with space and tab? (Score:3, Informative)
doesn't work for me (Score:3, Insightful)
Keyboard functionality is missing (Score:3, Insightful)
SVG based widgets? (Score:2)
After a couple of decades experience with developing windowing widget toolkits on multiple platforms, would it be possible for the W3C to come out with specifications for widgets, themes, etc. using SVG?
Slow News Day (Score:2, Funny)
It's about time 1 (Score:2)
It's about time! Once my son wrote "Insert Brain Here" on the back of my bald head. I was laying on the floor, spinning around for hours trying to read it before someone finally told me what it said.
AWESOME!!!!! (Score:2)
Konquerer... (Score:2)
That said... I'm sure it's a browser problem. This is some interesting work... and I just might put it to use.
Friedmud
Not a solution (Score:3, Insightful)
Though my real beef: every mouse over causes a *flicker* of the image.
End users don't like "wierd" behavior in user interfaces. There is no reason that the image should disappear and re-appear when the mouse goes over the image. This behavior gets worse as the connection speed of the user decreases.
This sort of behavior makes people who are not fully comfortable with the computer uncomfortable reducing their desire to interact with an application that behaves in this manner.
The flicker bahavior has also become rampant in drop down menu and site navigation everywhere. Back in the day we used to cache images but now we just accept sub-standard UI behavior because caching images "is a pain".
My 2 cents
Netflix ripoff (Score:2)
Javascript Image-Swaps are news? (Score:2)
Well, not quite perfect. (Score:2)
gmail... (Score:3, Informative)
Fucking graphic design majors (Score:4, Insightful)
Everytime you introduce something new the user has to learn how to use it or what the fuck it is. This is bad. Really bad. You just won't believe how vastly, staggeringly, jaw-droppingly bad it is.
It may seem incredibly anal, stale and anti-progressive but that's the whole point. There's no such thing as an innovative interface because innovation has connotations of something both new and better. In the realm of Human Computer Interaction (HCI) new and better are mutually exclusive. Good UIs are simple, intuitive and introduce absolutely nothing new. Ever.
There are only two truly intuitive interfaces in existance. The nipple and the vagina. The rest you have to learn how to use.
Save the styled checkboxes and radio buttons for other people in your yuppie coffee house. Your average user doesn't want them, won't understand them, won't appreciate them and doesn't care what they look like.
Re:Fucking graphic design majors (Score:5, Insightful)
#1 "new and better are mutually exclusive"
You are saying there is no way to improve UI. If new (change) is mutually exclusive with better than then only thing left is old (unchanged). Without change, there's no way to get better leaving a permanent status quo. By adhering to these arguments we'd still have rotary phones, analog clocks, and the command line.
#2 They didn't introduce a new UI element, they just learned how to make existing ones match the page.
Usuability standards (Score:2, Informative)
Not just that; there are usability standards. Checkboxes and radio/option buttons are supposed to look and act a certain way. It makes using them that much easier. Disguising them as something that looks like Lucky Charms marshmallows really fudges matters. The sample even had checkboxes made to look like option buttons (round).
Re:Usuability standards (Score:2)
The sample even had checkboxes made to look like option buttons (round).
Aye, I spent a few seconds clicking various "radio buttons" and wondering why they weren't working properly before I realised they were 'sposed to be checkboxes. I don't know if it's because I'm used to the standard (I'm a web developer) or because I'm stupid... or both. Somehow I feel that making users feel stupid is the worst sin of all...
Re:And, of course (Score:4, Insightful)
Not to mention - but it seems nobody really cares about this, and apparently bringing the subject up always generates a deluge of "we won't hold browser technologies back because of *this*" answers - web developers are so busy beautifying web pages and turning everything graphical and snazzy that you can always count on one category of people getting screwed with this trend: blind people.
They are the truly forgotten of this embelishment, and java[script]tization of the net. I wish web developers cared more about (1) complying strictly with W3C recommendations for accessibility and (2) not forgoing accessibility just for beauty...
Re:And, of course (Score:3, Insightful)
It makes it easier for the people writing the forum software to be able to parse out HTML tags and force the use of tags in a different format in order to control what posters can do in their posts; they can strip out all HTML tags, rather than making the parser smart enough to be able to identify malicious or subcompetent HTML coding. Of course, you then wind up with making people switch between thinking in HTML tags and thinking
Re:Why JavaScript? (Score:3, Insightful)
Javascript isn't necessarily crap if used correctly. However, the only times I get to "experience" it are when websites want to do something stupidly useless, like resizing windows or goofing with the mouse pointer, or bury me in multiple cascading popups.
So, I don't know if it's really dangerous or not standardized, but it's definitely annoying and therefore I turned it off, and I don't go to sites that insist on using it.
Find another alternative ple
Re:Why JavaScript? (Score:5, Insightful)
Re:Finally... (Score:2)
Just keep repeating that over and over in the face of the warbling graphic designers, marketing droids, and/or management-types who come to you with the battle cry "We don't care if it works, just make it look pretty!"
Sadly, that quote comes very nearly verbatim from a couple of "important" meetings I've attended where the main event involved kicking the functionality of one of my systems directly in the nads until the whole thing fell down on t
Re:What about keyboard input (Score:2)