On Mon, 2009-09-21 at 22:52 -0400, Craig Andrews wrote:
> Right now, links in notices are very opaque - users really have no idea
> where they go when they click on them. For example, in this notice:
> 
> <p class="entry-content">Testing! <a href="http://ur1.ca/106o";
> rel="external">http://ur1.ca/106o</a></p>

I must have overlooked this change because I remember we had <a
href="shortURL" title="longURL">shortURL</a> implemented.

> The user has no clue where http://ur1.ca/106o goes. I think that's less
> than ideal.

I agree that shortURLs are less than ideal since they are generic and
all, but users do know where they go (ur1.ca/106o), a Web URL. And, the
anchor potentially has contextual text around it.

> I think the notice should have this markup instead:
> 
> <p class="entry-content">Testing! <a
> href="http://candrews.integralblue.com";
> rel="external">http://ur1.ca/106o</a></p>
> 
> The notice is displayed the same, but now users can hover over links and
> their browser will tell them where they'll end up.

This is misleading because it is telling the user that the represented
text is http://ur1.ca/106o but it is really pointing to
http://candrews.integralblue.com . Most often than not - we don't always
look at UA's status bar - it is assumed that the link is heading there
as well. And, status bar is not always present or available to all UAs.

> I committed this change to 0.9.x:
> http://gitorious.org/statusnet/mainline/commit/ebb52efeb48212626d41a79b9d7e4f505323d074

I'd strongly prefer that we don't go ahead with this.

> Another option I debated was to keep the href as the short url, but add an
> alt attribute to the <a> tag with the long url.

alt is not a valid attribute of element a in (X)HTML.


Going back to <a href="shortURL" title="longURL">shortURL</a> would be
ideal in my opinion. It also allows the user to copy the shortURL into
their clipboard.

-Sarven

_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to