{"id":17791,"date":"2022-06-02T09:52:47","date_gmt":"2022-06-02T13:52:47","guid":{"rendered":"https:\/\/carleton.ca\/webworkshops\/?page_id=17791"},"modified":"2022-08-11T14:43:39","modified_gmt":"2022-08-11T18:43:39","slug":"hyperlinks","status":"publish","type":"page","link":"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/","title":{"rendered":"Hyperlinks"},"content":{"rendered":"<p>Estimated time to complete: 10 minutes<\/p>\n<h2>Module<\/h2>\n<p>In this module, we will discuss three aspects of hyperlinks: empty links, URLs, and anchor text. We will also discuss the importance behind using these aspects of hyperlinks.<\/p>\n<h3>Empty links<\/h3>\n<p>An empty hyperlink is a link with no text. It is invisible to people viewing the page, which causes navigation on a page to be difficult for screen readers.<\/p>\n<p>You should not have empty links on your web page. To resolve this issue, remove the empty link or provide anchor text.<\/p>\n<p>As empty links are invisible on the front end, you can <a href=\"https:\/\/itsjira.carleton.ca\/servicedesk\/customer\/portal\/5\">request a scan<\/a> for empty links from Web Services, and we can help you pinpoint their exact location.<\/p>\n<h3>URLs<\/h3>\n<p>The URL is the full link address, which can be seen in the search bar. For example, this page&#8217;s URL is https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/. While, visually, it&#8217;s pretty easy to skip over the text of a URL, screen readers may read the URL out, which is unnecessary and inconvenient for users. As well, the URL is often not very descriptive of the link destination, introducing unnecessary ambiguity over where the link leads.<\/p>\n<p>Therefore, instead of copying in the full URL, we recommend inserting hyperlinks with anchor text.<\/p>\n<h3>Anchor text<\/h3>\n<p>Anchor text is text that appears instead of the full URL. It is often blue and underlined, or, on Carleton-themed websites, red and bolded.<\/p>\n<div class=\"vmod\" data-mh=\"9999px\">\n<div class=\"thODed\">\n<div class=\"LTKOO sY7ric\" data-topic=\"\">\n<div class=\"LTKOO sY7ric\">\n<p data-dobid=\"dfn\">Though you may not be familiar with the term &#8220;anchor text&#8221;, it&#8217;s very likely that you&#8217;ve come across it before. In fact, the &#8220;request a scan&#8221; link under the Empty links header is an example of anchor text. The anchor text reads &#8220;request a scan&#8221; while clicking on the text redirects you to the URL https:\/\/itsjira.carleton.ca\/servicedesk\/customer\/portal\/5.<\/p>\n<p class=\"p1\">Anchor text helps people who use screen readers know where they are going and what they are clicking when they click the anchor text.<\/p>\n<p data-dobid=\"dfn\"><a href=\"https:\/\/carleton.ca\/webservices\/cms-help\/introduction-to-cms-training\/\">This is another example of anchor text leading to the homepage of the introduction to CMS training.<\/a><\/p>\n<h3 data-dobid=\"dfn\">Writing good anchor text<\/h3>\n<p data-dobid=\"dfn\">While anchor text is generally an improvement over just a plain URL, there are ways to improve your anchor text as well.<\/p>\n<p data-dobid=\"dfn\">The best rule of thumb with writing anchor text is to use descriptive keywords in your anchor text to indicate where clicking the link leads.<\/p>\n<h4 data-dobid=\"dfn\">Bad anchor text:<\/h4>\n<p>You may often see links with text that just read <strong>Click here<\/strong>. Without the surrounding context, the anchor text is essentially meaningless. Users would need to either click the link and find out where it leads, or search the surrounding text for clues.<\/p>\n<p>Besides being inconvenient to all users, anchor text like this can also raise significant accessibility issues. While it might be easy for one user to open the link and quickly check where it leads, another might lose track of where they were on the previous page, be unable to quickly scan the linked page, or else have difficulty navigating back to the previous page.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h4>Good anchor text:<\/h4>\n<p>A better version of the\u00a0<strong>click here<\/strong> anchor text is to expand on what this action will result in. For example,\u00a0<strong>Click here to view our tutorial on using hyperlinks properly<\/strong>.<\/p>\n<p>Some other examples of good anchor text:<\/p>\n<ul>\n<li><strong>Register for our event<\/strong>: linking to a registration page\/form<\/li>\n<li><strong>Visit this page to apply<\/strong>: linking to a page\/form to apply<\/li>\n<li><strong>Learn more about (topic)<\/strong>: linking to a page, post, etc. with more information<\/li>\n<li><strong>Buy a copy of this book<\/strong>: linking to a page to buy a copy of the book<\/li>\n<\/ul>\n<h2>Video<\/h2>\n<div class=\"content__video\"><iframe loading=\"lazy\" title=\"Module 2: Text - Hyperlinks\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/7KlEDBGZCSY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div>\n<h3>Video Transcript<\/h3>\n<div class=\"slideme\"><dl class=\"slideme__list\"><dt class=\"slideme__term\"><a href=\"#slideme-module-2-text-hyperlinks\" aria-expanded=\"false\" aria-controls=\"slideme-module-2-text-hyperlinks\" class=\"slideme__heading slideme__trigger\">Module 2: Text- Hyperlinks<\/a><\/dt><dd class=\"slideme__description\" id=\"slideme-module-2-text-hyperlinks\" aria-hidden=\"true\"><p><\/p>\n<p>Hello and welcome to module 2 of our accessibility training. This video focuses on understanding how to properly use hyperlinks, learning how to write accessible paragraphs and good headings, and how to write proper page headings.<\/p>\n<p>To start, we will discuss three aspects of hyperlinks: empty links, URLs, and anchor text. We will also discuss the importance of properly using these three hyperlink aspects.<\/p>\n<p>An empty hyperlink is a link with no text. It is invisible to people viewing the page, so you should not have empty links on your web page. Since empty links are invisible on the front end, you can request a scan for empty links from Web Services, and we can help you pinpoint their exact location.<\/p>\n<p>A URL, also known as a hyperlink, is a full link address, which can be viewed in the search bar.<\/p>\n<p>Often, it can be easy to skip over the text of a URL. Screen readers may read the entire URL out letter by letter, which is unnecessary and extremely inconvenient for users. The URL usually does not describe the link destination, so, as a result, it can introduce unnecessary ambiguity over where the link leads.<\/p>\n<p>Therefore, we recommend inserting hyperlinks with anchor text, instead of copying the full URL.<\/p>\n<p>Although you may not be familiar with the term \u201canchor text\u201d, you have probably encountered anchor text before.<\/p>\n<p>Anchor text is the text that appears instead of the full URL. The text is often blue and underlined, or, on our Carleton-themed websites, it is red and bolded.<\/p>\n<p>Anchor text helps people who use screen readers navigate where they are going and what they are clicking when they click the anchor text.<\/p>\n<p>While anchor text is an improvement over a plain URL, there are ways to improve your anchor text as well.<\/p>\n<p>The general rule of thumb is to use descriptive keywords in your anchor text to indicate where clicking the link will lead.<\/p>\n<p>Occasionally, you might see links with text that read <strong>Click here<\/strong>. This is an example of bad anchor text. Without the surrounding context, the anchor text is essentially meaningless. Users would need to either click the link and find out where it leads or search the surrounding text for clues to know what they are clicking on. Overall, this anchor text provides no context for the user reading it.<\/p>\n<p>Besides being inconvenient to all users, anchor text like this can also raise significant accessibility issues. While it might be easy for one user to open the link and quickly check where it leads, another might lose track of where they were on the previous page, be unable to quickly scan the linked page, or else have difficulty navigating back to the previous page.<\/p>\n<p>A better version of the click here anchor text is to expand on what this action will result in. For example, \u201cClick here to view our tutorial on using hyperlinks properly.\u201d This anchor text provides context as to where the link will lead users when they click on it.<\/p>\n<p>Here are some additional examples of good anchor text:<\/p>\n<ul>\n<li>\u201cRegister for our event\u201d: linking to a registration page\/form<\/li>\n<li>\u201cVisit this page to apply\u201d: linking to a page\/form to apply<\/li>\n<li>\u201cLearn more about ____blank topic\u201d: linking to a page, post, etc. with more information<\/li>\n<li>\u201cBuy a copy of this book\u201d: linking to a page to buy a copy of the book<\/li>\n<\/ul>\n<p>In this module, you learned the difference and the importance of three aspects of a hyperlink: empty links, URLs, and anchor text. You also learned the difference between good and bad anchor text and how to properly include hyperlinks in your content.<\/p>\n<p><\/p><\/dd><dl><\/div>\n\n<div class=\"u-center-text\">\n\t<p>\n\t\t<a class=\"button__red button__red--solid\" href=\"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/paragraphs-and-headings\/\"  rel=\"noopener noreferrer\">Next: Paragraphs and Headings<\/a>\n\t<\/p>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Estimated time to complete: 10 minutes Module In this module, we will discuss three aspects of hyperlinks: empty links, URLs, and anchor text. We will also discuss the importance behind using these aspects of hyperlinks. Empty links An empty hyperlink is a link with no text. It is invisible to people viewing the page, which [&hellip;]<\/p>\n","protected":false},"author":52,"featured_media":0,"parent":17648,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Hyperlinks - Web Workshops<\/title>\n<meta name=\"description\" content=\"Estimated time to complete: 10 minutes Module In this module, we will discuss three aspects of hyperlinks: empty links, URLs, and anchor text. We will\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/\",\"url\":\"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/\",\"name\":\"Hyperlinks - Web Workshops\",\"isPartOf\":{\"@id\":\"https:\/\/carleton.ca\/webworkshops\/#website\"},\"datePublished\":\"2022-06-02T13:52:47+00:00\",\"dateModified\":\"2022-08-11T18:43:39+00:00\",\"description\":\"Estimated time to complete: 10 minutes Module In this module, we will discuss three aspects of hyperlinks: empty links, URLs, and anchor text. We will\",\"breadcrumb\":{\"@id\":\"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/carleton.ca\/webworkshops\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Accessibility Training\",\"item\":\"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Module 2: Text\",\"item\":\"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Hyperlinks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/carleton.ca\/webworkshops\/#website\",\"url\":\"https:\/\/carleton.ca\/webworkshops\/\",\"name\":\"Web Workshops\",\"description\":\"Carleton University\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/carleton.ca\/webworkshops\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hyperlinks - Web Workshops","description":"Estimated time to complete: 10 minutes Module In this module, we will discuss three aspects of hyperlinks: empty links, URLs, and anchor text. We will","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/","url":"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/","name":"Hyperlinks - Web Workshops","isPartOf":{"@id":"https:\/\/carleton.ca\/webworkshops\/#website"},"datePublished":"2022-06-02T13:52:47+00:00","dateModified":"2022-08-11T18:43:39+00:00","description":"Estimated time to complete: 10 minutes Module In this module, we will discuss three aspects of hyperlinks: empty links, URLs, and anchor text. We will","breadcrumb":{"@id":"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/hyperlinks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/carleton.ca\/webworkshops\/"},{"@type":"ListItem","position":2,"name":"Accessibility Training","item":"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/"},{"@type":"ListItem","position":3,"name":"Module 2: Text","item":"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-2-text\/"},{"@type":"ListItem","position":4,"name":"Hyperlinks"}]},{"@type":"WebSite","@id":"https:\/\/carleton.ca\/webworkshops\/#website","url":"https:\/\/carleton.ca\/webworkshops\/","name":"Web Workshops","description":"Carleton University","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/carleton.ca\/webworkshops\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"acf":{"banner_image_type":"none","banner_button":"no"},"_links":{"self":[{"href":"https:\/\/carleton.ca\/webworkshops\/wp-json\/wp\/v2\/pages\/17791"}],"collection":[{"href":"https:\/\/carleton.ca\/webworkshops\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/carleton.ca\/webworkshops\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/webworkshops\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/webworkshops\/wp-json\/wp\/v2\/comments?post=17791"}],"version-history":[{"count":4,"href":"https:\/\/carleton.ca\/webworkshops\/wp-json\/wp\/v2\/pages\/17791\/revisions"}],"predecessor-version":[{"id":18331,"href":"https:\/\/carleton.ca\/webworkshops\/wp-json\/wp\/v2\/pages\/17791\/revisions\/18331"}],"up":[{"embeddable":true,"href":"https:\/\/carleton.ca\/webworkshops\/wp-json\/wp\/v2\/pages\/17648"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/webworkshops\/wp-json\/wp\/v2\/media?parent=17791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}