Working with Links
Create meaningful links
Most users visually scan links on a page, keyboard users use the tab key to jump from link to link and screen readers can get a list of links on a page.
In each of these cases, it is important that the link’s destination not be mysterious. Clearly and uniquely describe where the link goes
Create links with meaningful text that makes sense out of context and allow users to identify the purpose of each link from the link text alone
Give users an indication when a link is not a website e.g. Link Text [PDF]
Examples of ineffective and effective links:
Ineffective Links | Effective Links |
---|---|
WCAG-compliant links should explain their purpose for the link text alone. Click here to learn more. | WCAG-compliant links should explain their purpose from the link text alone |
Check your contrast levels using https://webaim.org/resources/contrastchecker/ | Check your contrast levels using WebAim’s Contrast Checker |
Swarthmore’s Accessibility website includes five tips for preparing accessible materials | Swarthmore’s Accessibility website includes five tips for preparing accessible materials |
Here is an introduction from WebAIM to links and hypertext | |
Linking to a page on swarthmore.edu
Highlight the text you want as your link text.
From the Editor Toolbar, use the Link icon (looks like a chain) to begin the process.
A pop-up window will appear. Begin typing the title of the swarthmore.edu page that you'd like to link to.
The pop-up will attempt to suggest relevant pages to you. Select the appropriate page.
Click the green OK button.
Linking to external content and documents
Highlight the text you want as your link text.
If linking to a document be sure to include they type of document as part of the link, e.g. 2014-15 Swarthmore Financial Aid Request form [pdf]
From the Editor Toolbar, use the Link icon (looks like a chain) to begin the process.
A pop-up window will appear.
Locate the dropdown menu labeled Link Type. Choose the URL or link to document option.
Link to External Content/URL
Highlight the text you want as your link text.
From the Editor Toolbar, use the Link icon (looks like a chain) to begin the process.
A pop-up window will appear.
Locate the dropdown menu labeled Link Type. Choose the URL or link to document option.
Paste the URL in the field labeled URL.
Click the green OK button.
Link to a document
Highlight the text you want as your link text.
From the Editor Toolbar, use the Link icon (looks like a chain) to begin the process.
A pop-up window will appear. Choose the URL or link to document option.
Click the Browse Documents button.
A new window will appear which allows you to:
upload new documents
view existing documents associated with your site
navigate to another swarthmore.edu site's document directory
Use the Upload button in the upper left corner to upload new documents, or select and existing document in the right menu.
Click the Insert button.
Anchor Links - Linking to content within the current page
From time to time it may be useful to link from one location of your page to another. For example your page may contain multiple section, which refer to one another. an "Anchor" link can be used to "jump to" the referenced section without leaving the page.
Create the Anchor
Place your cursor in the location you'd like the link to "jump to".
From the Editor Toolbar, use the Flag icon to begin the process.
A pop-up will appear prompting you to provide an Anchor Name. Observe the following practices when creating the anchor link:
Make sure there are no spaces
If the anchor name contains multiple words, they should be separated by dashes or underscores (alternately, one could use "camelCase")
Although text can be upper or lower case or a mixture of the two, lower case is optimal
Click the green OK button.
Link to the Anchor
Highlight the text you want as your link text.
From the Editor Toolbar, use the Link icon (looks like a chain) to begin the process.
A pop-up window will appear.
Locate the dropdown menu labeled Link Type. Choose the Link to anchor in the text option.
A new set of options will appear.
Locate the dropdown menu labeled By Anchor Name option. From the dropdown, select the anchor name created in the previous steps.
Click the green OK button.
Removing a link
Highlight the link that should be removed.
From the Editor Toolbar, click the Unlink icon (looks like a broken chain).
Resources to learn more about creating meaningful links
Ways you can contact ITS or find information:
ITS Support Portal: https://support.swarthmore.edu
Email: support@swarthmore.edu
Phone: x4357 (HELP) or 610-328-8513
Check out our remote resources at https://swatkb.atlassian.net/wiki/spaces/remote/overview
Check our homepage at https://swarthmore.edu/its