{"id":2221,"date":"2021-12-16T03:02:30","date_gmt":"2021-12-16T08:02:30","guid":{"rendered":"http:\/\/digital.hec.ca\/en\/?p=2221"},"modified":"2023-03-28T21:51:50","modified_gmt":"2023-03-29T01:51:50","slug":"why-is-alt-text-important","status":"publish","type":"post","link":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/","title":{"rendered":"Why is Alt text important?"},"content":{"rendered":"<p><span style=\"font-weight: 400\">I assume that you know what is an \u201calt text\u201d, but just in case you don\u2019t know, let us clear this first: alt text is a very short description that programmers type in the HTML that describes the image. The web browser understands that the website wants to place an image because in the HTML code there is an <\/span><i><span style=\"font-weight: 400\">image tag<\/span><\/i><span style=\"font-weight: 400\"> that has mainly two <\/span><i><span style=\"font-weight: 400\">attributes<\/span><\/i><span style=\"font-weight: 400\">: the alt text and where the image is placed on the internet). The alt text is put as an <\/span><i><span style=\"font-weight: 400\">attribute <\/span><\/i><span style=\"font-weight: 400\">in the image tag of a website. Also, it allows search engines to understand what content is in your website so it can show it to people who are looking for specific images.<\/span><\/p>\n<h3><span style=\"font-weight: 400\">But, why is alt text important?<\/span><\/h3>\n<p><span style=\"font-weight: 400\">The alt text (a.k.a. alternate text and alt code) is displayed in the case that the image couldn\u2019t be shown (e.g. the image route was wrong). But, most importantly, it serves as aid to the visually impaired. When the screen reader goes through the website, it can describe the image that appears by reading the alt code. If it weren&#8217;t there, the screen reader can\u2019t know what appears on the image.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Take this, for example:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2222 size-fusion-600\" src=\"https:\/\/digital.hec.ca\/en\/wp-content\/uploads\/sites\/2\/2021\/11\/Captura-de-Pantalla-2021-11-11-a-las-18.30.20-600x341.png\" alt=\"hec website with broken images and no alt text\" width=\"600\" height=\"341\" \/><\/p>\n<p><span style=\"font-weight: 400\">Here, whoever was in charge of the HEC website (<a href=\"https:\/\/www.hec.ca\">https:\/\/www.hec.ca<\/a>), didn\u2019t put an alternative text for the images on the homepage. In this case, the image route was incorrect (I changed it) and it can be seen that the browser shows a tiny light blue box with a question mark. If it were to have an alternative text, it would appear on the side of it.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Some content management systems show you a warning when you upload an image that \u201calternative text is not found\u201d. It\u2019s not mandatory, but it is useful if you want to have better SEO and rank higher on search engines.<\/span><\/p>\n<p><span style=\"font-weight: 400\">In conclusion, having an alternative text is going to:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Have a better ranking on search engines<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Show some text in case the web browser can\u2019t find the media<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Help the visually impaired understand your website<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Just remember to do it!<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I assume that you know what is an \u201calt text\u201d, but just in case you don\u2019t know, let us clear this first: alt text is a very short description that programmers type in the HTML that describes the image. The web browser understands that the website wants to place an image because in the HTML [&hellip;]<\/p>\n","protected":false},"author":806,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[46],"tags":[],"class_list":["post-2221","post","type-post","status-publish","format-standard","hentry","category-search-engine-optimization"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Why is Alt text important?<\/title>\n<meta name=\"description\" content=\"The alt text (also known as alt code, alternate text and alt tag) is a written copy that is used within the website&#039;s HTML to ...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why is Alt text important?\" \/>\n<meta property=\"og:description\" content=\"The alt text (also known as alt code, alternate text and alt tag) is a written copy that is used within the website&#039;s HTML to ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/\" \/>\n<meta property=\"og:site_name\" content=\"Marketing num\u00e9rique | Digital Marketing | HEC Montr\u00e9al\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fr-ca.facebook.com\/HECMontreal\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-16T08:02:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-29T01:51:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/digital.hec.ca\/en\/wp-content\/uploads\/sites\/2\/2021\/11\/Captura-de-Pantalla-2021-11-11-a-las-18.30.20-600x341.png\" \/>\n<meta name=\"author\" content=\"pochatignacioandres\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pochatignacioandres\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/\"},\"author\":{\"name\":\"pochatignacioandres\",\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/#\\\/schema\\\/person\\\/167e9aaca2b8ff82dd7be5156768d7eb\"},\"headline\":\"Why is Alt text important?\",\"datePublished\":\"2021-12-16T08:02:30+00:00\",\"dateModified\":\"2023-03-29T01:51:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/\"},\"wordCount\":364,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2021\\\/11\\\/Captura-de-Pantalla-2021-11-11-a-las-18.30.20-600x341.png\",\"articleSection\":[\"Search Engine Optimization\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/#respond\"]}]},{\"@type\":[\"WebPage\",\"QAPage\"],\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/\",\"url\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/\",\"name\":\"Why is Alt text important?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2021\\\/11\\\/Captura-de-Pantalla-2021-11-11-a-las-18.30.20-600x341.png\",\"datePublished\":\"2021-12-16T08:02:30+00:00\",\"dateModified\":\"2023-03-29T01:51:50+00:00\",\"description\":\"The alt text (also known as alt code, alternate text and alt tag) is a written copy that is used within the website's HTML to ...\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/#primaryimage\",\"url\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2021\\\/11\\\/Captura-de-Pantalla-2021-11-11-a-las-18.30.20-600x341.png\",\"contentUrl\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2021\\\/11\\\/Captura-de-Pantalla-2021-11-11-a-las-18.30.20-600x341.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/why-is-alt-text-important\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why is Alt text important?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/\",\"name\":\"Marketing num\u00e9rique | Digital Marketing | HEC Montr\u00e9al\",\"description\":\"Fait par des \u00e9tudiants pour des \u00e9tudiants\",\"publisher\":{\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/#organization\",\"name\":\"HEC Montr\u00e9al\",\"url\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/digital.hec.ca\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/Favicone.png\",\"contentUrl\":\"https:\\\/\\\/digital.hec.ca\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/Favicone.png\",\"width\":512,\"height\":512,\"caption\":\"HEC Montr\u00e9al\"},\"image\":{\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/fr-ca.facebook.com\\\/HECMontreal\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/HECMontreal\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/#\\\/schema\\\/person\\\/167e9aaca2b8ff82dd7be5156768d7eb\",\"name\":\"pochatignacioandres\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5a23f6b33d4bdd97f377aed872a33b2460a6512e49bfc5189ce31ac1fa9b9ccd?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5a23f6b33d4bdd97f377aed872a33b2460a6512e49bfc5189ce31ac1fa9b9ccd?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5a23f6b33d4bdd97f377aed872a33b2460a6512e49bfc5189ce31ac1fa9b9ccd?s=96&r=g\",\"caption\":\"pochatignacioandres\"},\"url\":\"https:\\\/\\\/digital.hec.ca\\\/en\\\/blog\\\/author\\\/pochatignacioandres\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Why is Alt text important?","description":"The alt text (also known as alt code, alternate text and alt tag) is a written copy that is used within the website's HTML to ...","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:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/","og_locale":"en_US","og_type":"article","og_title":"Why is Alt text important?","og_description":"The alt text (also known as alt code, alternate text and alt tag) is a written copy that is used within the website's HTML to ...","og_url":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/","og_site_name":"Marketing num\u00e9rique | Digital Marketing | HEC Montr\u00e9al","article_publisher":"https:\/\/fr-ca.facebook.com\/HECMontreal\/","article_published_time":"2021-12-16T08:02:30+00:00","article_modified_time":"2023-03-29T01:51:50+00:00","og_image":[{"url":"https:\/\/digital.hec.ca\/en\/wp-content\/uploads\/sites\/2\/2021\/11\/Captura-de-Pantalla-2021-11-11-a-las-18.30.20-600x341.png","type":"","width":"","height":""}],"author":"pochatignacioandres","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pochatignacioandres","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/#article","isPartOf":{"@id":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/"},"author":{"name":"pochatignacioandres","@id":"https:\/\/digital.hec.ca\/en\/#\/schema\/person\/167e9aaca2b8ff82dd7be5156768d7eb"},"headline":"Why is Alt text important?","datePublished":"2021-12-16T08:02:30+00:00","dateModified":"2023-03-29T01:51:50+00:00","mainEntityOfPage":{"@id":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/"},"wordCount":364,"commentCount":0,"publisher":{"@id":"https:\/\/digital.hec.ca\/en\/#organization"},"image":{"@id":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/#primaryimage"},"thumbnailUrl":"https:\/\/digital.hec.ca\/en\/wp-content\/uploads\/sites\/2\/2021\/11\/Captura-de-Pantalla-2021-11-11-a-las-18.30.20-600x341.png","articleSection":["Search Engine Optimization"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/#respond"]}]},{"@type":["WebPage","QAPage"],"@id":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/","url":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/","name":"Why is Alt text important?","isPartOf":{"@id":"https:\/\/digital.hec.ca\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/#primaryimage"},"image":{"@id":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/#primaryimage"},"thumbnailUrl":"https:\/\/digital.hec.ca\/en\/wp-content\/uploads\/sites\/2\/2021\/11\/Captura-de-Pantalla-2021-11-11-a-las-18.30.20-600x341.png","datePublished":"2021-12-16T08:02:30+00:00","dateModified":"2023-03-29T01:51:50+00:00","description":"The alt text (also known as alt code, alternate text and alt tag) is a written copy that is used within the website's HTML to ...","breadcrumb":{"@id":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/#primaryimage","url":"https:\/\/digital.hec.ca\/en\/wp-content\/uploads\/sites\/2\/2021\/11\/Captura-de-Pantalla-2021-11-11-a-las-18.30.20-600x341.png","contentUrl":"https:\/\/digital.hec.ca\/en\/wp-content\/uploads\/sites\/2\/2021\/11\/Captura-de-Pantalla-2021-11-11-a-las-18.30.20-600x341.png"},{"@type":"BreadcrumbList","@id":"https:\/\/digital.hec.ca\/en\/blog\/why-is-alt-text-important\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/digital.hec.ca\/en\/"},{"@type":"ListItem","position":2,"name":"Why is Alt text important?"}]},{"@type":"WebSite","@id":"https:\/\/digital.hec.ca\/en\/#website","url":"https:\/\/digital.hec.ca\/en\/","name":"Marketing num\u00e9rique | Digital Marketing | HEC Montr\u00e9al","description":"Fait par des \u00e9tudiants pour des \u00e9tudiants","publisher":{"@id":"https:\/\/digital.hec.ca\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/digital.hec.ca\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/digital.hec.ca\/en\/#organization","name":"HEC Montr\u00e9al","url":"https:\/\/digital.hec.ca\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/digital.hec.ca\/en\/#\/schema\/logo\/image\/","url":"https:\/\/digital.hec.ca\/wp-content\/uploads\/2025\/09\/Favicone.png","contentUrl":"https:\/\/digital.hec.ca\/wp-content\/uploads\/2025\/09\/Favicone.png","width":512,"height":512,"caption":"HEC Montr\u00e9al"},"image":{"@id":"https:\/\/digital.hec.ca\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/fr-ca.facebook.com\/HECMontreal\/","https:\/\/www.youtube.com\/user\/HECMontreal"]},{"@type":"Person","@id":"https:\/\/digital.hec.ca\/en\/#\/schema\/person\/167e9aaca2b8ff82dd7be5156768d7eb","name":"pochatignacioandres","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5a23f6b33d4bdd97f377aed872a33b2460a6512e49bfc5189ce31ac1fa9b9ccd?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5a23f6b33d4bdd97f377aed872a33b2460a6512e49bfc5189ce31ac1fa9b9ccd?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5a23f6b33d4bdd97f377aed872a33b2460a6512e49bfc5189ce31ac1fa9b9ccd?s=96&r=g","caption":"pochatignacioandres"},"url":"https:\/\/digital.hec.ca\/en\/blog\/author\/pochatignacioandres\/"}]}},"views":35,"_links":{"self":[{"href":"https:\/\/digital.hec.ca\/en\/wp-json\/wp\/v2\/posts\/2221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digital.hec.ca\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digital.hec.ca\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digital.hec.ca\/en\/wp-json\/wp\/v2\/users\/806"}],"replies":[{"embeddable":true,"href":"https:\/\/digital.hec.ca\/en\/wp-json\/wp\/v2\/comments?post=2221"}],"version-history":[{"count":0,"href":"https:\/\/digital.hec.ca\/en\/wp-json\/wp\/v2\/posts\/2221\/revisions"}],"wp:attachment":[{"href":"https:\/\/digital.hec.ca\/en\/wp-json\/wp\/v2\/media?parent=2221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digital.hec.ca\/en\/wp-json\/wp\/v2\/categories?post=2221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digital.hec.ca\/en\/wp-json\/wp\/v2\/tags?post=2221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}