Anchor links direct users to content on the same page rather than another page. They are sometimes called in-page links or jump links.
Anchor links can be useful, but only in certain contexts. Incorrectly used, they can be disorienting for users. However, as screens have become smaller, anchor links can be beneficial if you have a lot of page content and want to direct users to a specific section.
Two common anchor links are a table-of-contents-type link and a back-to-the-top link, which are often used together.
If you would like an anchor link on your web page, please contact
webhelp@phsa.ca. We will help you determine if an anchor link is appropriate or if we should explore alternatives such as making your content shorter and skimmable.
We will also ensure that your anchor link is correctly implemented and follows best practices, including:
- appropriate placement of the anchor link
- correct labelling so that users know that the in-page link is different than normal links
- contextual information that confirms to users that they’ve navigated to the correct section once they’ve clicked the link