Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • always ensure that the target page exists and is accessible
  • avoid using javascript to generate links or to rewrite URLs
  • always specify the context of the link
    • if it's a textual link, avoid meaningless phrases like "click here" or "learn more". Instead use a short description of the resource to which you are linking. You can always combine the two (e.g. "Learn more about this important European topic")
    • if it's an image link, make sure to fill the alternative text (alt attribute) with meaningful information. This will be used by search engine crawlers and screen readers, helping visually-impaired people to understand your page better. If the language of the alt text is different to the language of the page, this has to be indicated by using the correct language attribute on the image tag itself (e.g. The event will be located in <img src='piazza-roma.jpg' alt='piazza di spagna Roma' lang='it'>). If you are using a CMS, this step is usually taken care of by the system automatically
  • if possible, embed the link within a paragraph. This way search engine crawlers will know more about the context of the link
  • link lists are acceptable as long as their labels are meaningful
  • always specify, with an icon or a label, that the link
    • points to an external site (i.e. a website not under the current europa.eu domain or subdomain). Failure to comply with this point may have legal repercussions
    • points to a resource in a language different to the current one
    • points to a resource other than a web page (e.g. PDF)
  • if you are working with a CMS, please make sure that internal links are created using the CMS's specific feature. This way, every time the URL of the target page is changed, the link will be regenerated automatically
  • avoid inline links, as they represent a security risk (the linking website has no control over the linked resource, which might be changed at any time) or legal issues (e. g. copyright infringement)

...