{"id":15849,"date":"2021-03-08T09:07:36","date_gmt":"2021-03-08T14:07:36","guid":{"rendered":"https:\/\/carleton.ca\/webservices\/?p=15849"},"modified":"2026-03-18T05:41:53","modified_gmt":"2026-03-18T09:41:53","slug":"top-five-accessibility-issues-1-linked-image-missing-alternative-text","status":"publish","type":"post","link":"https:\/\/carleton.ca\/webservices\/2021\/top-five-accessibility-issues-1-linked-image-missing-alternative-text\/","title":{"rendered":"Top Five Accessibility Issues: 1. Linked image missing alternative text"},"content":{"rendered":"\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n            <div class=\"cu-textmedia flex flex-col lg:flex-row mx-auto gap-6 md:gap-10 my-6 md:my-12 first:mt-0 max-w-5xl\">\n        <div class=\"justify-start cu-textmedia-content cu-prose-first-last\" style=\"flex: 0 0 100%;\">\n            <header class=\"font-light prose-xl cu-pageheader md:prose-2xl cu-component-updated cu-prose-first-last\">\n                                    <h1 class=\"cu-prose-first-last font-semibold !mt-2 mb-4 md:mb-6 relative after:absolute after:h-px after:bottom-0 after:bg-cu-red after:left-px text-3xl md:text-4xl lg:text-5xl lg:leading-[3.5rem] pb-5 after:w-10 text-cu-black-700 not-prose\">\n                        Top Five Accessibility Issues: 1. Linked image missing alternative text\n                    <\/h1>\n                \n                                \n                            <\/header>\n\n                    <\/div>\n\n            <\/div>\n\n    <\/div>\n<\/section>\n\n\n\n<p>Over the next few weeks, we are going to take a look at the top five accessibility issues discovered on Carleton websites by our scanning tools. We will also look at the top five issues we discovered by doing a visual check on sites. The first item is:<\/p>\n\n\n\n<h2 id=\"linked-image-missing-alternative-text\" class=\"wp-block-heading\">Linked image missing alternative text<\/h2>\n\n\n\n<h3 id=\"what-it-means\" class=\"wp-block-heading\">What it means<\/h3>\n\n\n\n<p>An image without alternative text results in an empty link.<\/p>\n\n\n\n<h3 id=\"why-it-matters\" class=\"wp-block-heading\">Why it matters<\/h3>\n\n\n\n<p>Images that are the only thing within a link must have descriptive alternative text. If an image is within a link that contains no text and that image does not provide alternative text, a screen reader has no content to present to the user regarding the function of the link.<\/p>\n\n\n\n<h3 id=\"how-to-fix\" class=\"wp-block-heading\">How to fix<\/h3>\n\n\n\n<p>Add an alt text attribute to any image that is to be used as a link. The alt text should describe what action will occur, so for example:&nbsp;<i>Visit our testimonials page<\/i><\/p>\n\n\n\n<p>What all this means in essence is that when you present images usually on a website, the image should not have an alt text attribute IF the picture is purely decorative.<\/p>\n\n\n\n<p>For example, in an article about cats, this image should not have any alt text:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"586\" height=\"586\" src=\"https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat1.png\" alt=\"\" class=\"wp-image-15853\" srcset=\"https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat1.png 586w, https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat1-512x512.png 512w, https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat1-320x320.png 320w, https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat1-200x200.png 200w, https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat1-360x360.png 360w\" sizes=\"auto, (max-width: 586px) 100vw, 586px\" \/><\/figure>\n\n\n\n<p>Why not? Because it doesn&#8217;t add anything to the experience for the partially- or unsighted visitor if there is alt text reading &#8220;A sleeping cat&#8221; associated with the picture.<\/p>\n\n\n\n<p>If the article was about the fashion for tabby cats with blue eyes this image could have the tag &#8220;Example of a tabby cat with blue eyes&#8221; but in a general cat article, no alt text required.<\/p>\n\n\n\n<p>BUT<\/p>\n\n\n\n<p>if that image is being used as a link, then the image definitely does need alt text, even if to look at it is purely for decoration on the page. The issue which is reported more than any other on Carleton sites is the lack of alt text on images used as links.<\/p>\n\n\n\n<p>Without alt text being added to the image <a href=\"https:\/\/www.youtube.com\/watch?v=92pM6hJG6Wo\" target=\"_blank\" rel=\"noopener noreferrer\">a screen reader<\/a> has nothing to read to the user. The link is blank and so nothing can be read. Instead, we have to add alt text and that alt text has to be descriptive about the <em>action associated with the image<\/em>. So in this case:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"590\" height=\"590\" src=\"https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat3.png\" alt=\"Find out about the true status of cats in Ancient Egypt\" class=\"wp-image-15851\" srcset=\"https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat3.png 590w, https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat3-512x512.png 512w, https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat3-320x320.png 320w, https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat3-200x200.png 200w, https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/cat3-360x360.png 360w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/figure>\n\n\n\n<p>the image has the alt text of &#8220;Find out about the true status of cats in Ancient Egypt&#8221;. This text can be edited once you make the image into a link, by rolling over the image here and clicking on the little editing pencil.<\/p>\n\n\n\n<p>Look out for the next post about empty headings as an accessibility issue.<\/p>\n\n\n\n<p>For more information about alt text, visit module 3 of our accessibility training:<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carleton.ca\/webworkshops\/accessibility-training\/module-3-images\/what-is-alt-text-and-when-to-use-it\/\">Accessibility Training &#8211; Module 3: Images<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Over the next few weeks, we are going to take a look at the top five accessibility issues discovered on Carleton websites by our scanning tools. We will also look at the top five issues we discovered by doing a visual check on sites. The first item is: Linked image missing alternative text What it [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[197,390,391],"tags":[],"class_list":["post-15849","post","type-post","status-publish","format-standard","hentry","category-accessibility","category-keep","category-rewrite"],"acf":{"cu_post_thumbnail":""},"_links":{"self":[{"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/posts\/15849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/comments?post=15849"}],"version-history":[{"count":1,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/posts\/15849\/revisions"}],"predecessor-version":[{"id":20605,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/posts\/15849\/revisions\/20605"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/media?parent=15849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/categories?post=15849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/tags?post=15849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}