79 points · by lauriswtf · 13y ago · 68 comments
<a href="navigateToFoo()">
when it should be <a href="foo.htm">
so I can't middle click it or Ctrl-click it to open in a new tab. Even worse if there's (2) href="#"
added, which upon middle click will happily load the page I'm currently on inside the new tab.I have an extension in Firefox which changes the mouse cursor for (1) from pointer (hand), so I can easily distinguish that case, I hope this became a W3C standard somehow (though the standard way for executing JS are buttons, not anchors, so probably it won't ever become standardized).
<a onclick="navigateToFoo()">Yet it takes only jumping a plane for a few hours to get Google to think I can and want to read Georgian. Google's i18n for anonymous users (I'm not logged in on my phone's browser) is the most ridiculous I've experienced, every border I cross I get a different language.
I don't know whether this is generally true, but it sounds like it would probably help your situation.
That was my point :) If I set up us-en everywhere, don't try to be smarter and just show me everything in English.
Not an excuse, but it sounds like they don't trust accept-language to be correct.
"Oh, so you did a local search for hardware stores in insert-country-here? Well, than let's change your default settings to insert-language-here, regardless of what you told us you wanted."
This nightmare grows exponentially if you're in a multilingual country.
It's the funny thing about floating navigation; usability testing and A/B testing show that it's good for conversion/engagement/whatnot, but until Firefox fixed it I absolutely hated the pattern for this very reason.
Instead, put your audience up top (Canada, US, GB maybe) and then alphabetically list the rest.
Populate it with the data on names and alternates and priority, and it knows gets you to a short list with "un" (with "United States" first), while also offering Germany for "deu" or the United Kingdom for "bri".
It solved so many hassles for a client's internal online ordering system. Beautiful work, really.
If your audience is mainly US, then by all means pre-select the US, but keep the list alphabetical. If your audience isn't mainly in one country, either don't select anything, or for extra bonus points, do a Geo IP lookup and pre-select the country they're in.
There was a link on HN sometime ago that showed that people trusted the form/page more when complete address information was requested (I believe the conclusion was that people were used to doing it that way) so maybe there is a downside to the shorter version.
For a particular case study of sorts, see: http://sunlightfoundation.com/blog/2012/01/19/dont-use-zipco...
The form would look it up in a background ajax call. It wouldn't tell you this or block your actions. If it found a match in our DB, it would populate the city, country fields, not make a mess, and leave you free to edit the form if it was wrong. Your flow would be the same either way.
I think not interrupting the users flow was a big part of it.. it didn't make people go "What? How do I change that? What happened? That's not right".. you just kept filling it out like normal... with some fields pre-filled if you were lucky.
Some people are also mistrusting of tech magic as well. I say this because one of our site deals with eBay sellers and I remember this duffer person complain that we were somehow hacking his ebay account getting information he never gave us (the title, description of his auctions when all we knew was his id)
i can almost type in my whole card number, but then i can go no further and i have to manually go back and remove all the spaces and then go to the end of the number and enter the last digit. class act.
Or worse: requiring the spaces. Or maybe they want dashes.
Slightly pedantic, but it's even easier than that if you don't have any elements separating them - you don't even need the id:
> <label><input type="radio" name="fruit" /> Banana</label>
This adds convenience on desktop, but it's really annoying not to have it on smaller mobile screens.
(based on discussion 6 months ago: https://news.ycombinator.com/item?id=4890631)
For example, Indonesians speak and read Bahasa all the time, but most browsers there report EN.
https://github.com/gioele/rack-i18n_best_langs
It picks up clues from various HTTP pieces (headers, URI) and generates a list of locales in order of possible user preference. It is then up to the web application to make good use of this list of preferences.
It is alpha quality but I would love some criticism about it from HN readers.
The reason I say this is for smaller operators who may not be running multicast'ed servers in 3+ geographical areas, then you'll probably want most of your traffic pointing to a CNAME of a CDN or at least a cloud-hosted load balancer.
Not entirely pointless.
Whether it was an A record or a CNAME record was generally at the adminstrators preference. CNAMEs had their own hiccups and weirdness to deal with, and still do to a lesser degree.
I've saved in bookmarks one page that made my eyes bleed due to it, but I don't have access to it right now. Stay tuned, I'll post it on Monday :)
You also have the case of foreign users on public computers who may be unable to fiddle with the language settings.
You should also consider user may not be able to switch the language of a public computer. The setting may be locked, or the operating system is in another language, e.g. Chinese, user doesn't even know where the "setting" button is.
I don't see too many sites that require something like this anymore, but every now and then one pops up.
Can we please suppress the burning need to find something "wrong" to nitpick in every headline? I know it's really satisfying to be the HN Superstar that points out a blatant error, but sometimes it just makes you look desperate.