Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Personally, I prefer the second example that they advise against. ("To download Amaya, go to the _Amaya_Website_ and get the necessary software.")

A link that just says "Amaya" could be an internal or external link, and even if it's clear from context that the purpose of following the link is to download Amaya (rather than, for example, read more about it), it's not clear whether it's a direct link to the file or a link to the download page.



I like to include icons to indicate whether the destination is external or a file (file extension could work for files too)


Icons do nothing for screen readers, though. Use aria-describedby or aria-labelledby to add an ”external link” text suffix to the link text.

Note that aria-label does not work properly in all cases, e.g. when the browser chrome uses a different language than the site itself.


The internal vs external link has already been solved by the little icon that Wikipedia et al use




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: