{"id":2014,"date":"2024-05-01T08:36:50","date_gmt":"2024-05-01T14:36:50","guid":{"rendered":"https:\/\/frontendmasters.com\/blog\/?p=2014"},"modified":"2024-05-06T10:41:01","modified_gmt":"2024-05-06T16:41:01","slug":"on-alt","status":"publish","type":"post","link":"https:\/\/frontendmasters.com\/blog\/on-alt\/","title":{"rendered":"On Alt"},"content":{"rendered":"\n<p>Jake Archibald, by way of being convinced by\u00a0L\u00e9onie Watson, says that the <code>alt<\/code> text of an of <code>&lt;img src=\"...\" alt=\"...\" width=\"...\" height=\"...\"><\/code> <a href=\"https:\/\/jakearchibald.com\/2021\/great-alt-text\/\">should evoke emotion<\/a>:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>The relevant parts of an image aren&#8217;t limited to the cold hard facts. Images can make you feel a particular way, and that&#8217;s something that should be made available to a screen reader user.<\/p>\n<\/blockquote>\n\n\n\n<p>If necessary, that is. Some images just aren&#8217;t particularly emotional, like a screenshot of a banking dashboard. I think <a href=\"https:\/\/cloudfour.com\/thinks\/write-alt-text-like-youre-talking-to-a-friend\/\">what Scott Vandehey says<\/a> is a more broadly useful way to think about it:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Write alternative text as if you\u2019re describing the image to a friend.<\/p>\n<\/blockquote>\n\n\n\n<p>That&#8217;s helpful to me. Scott&#8217;s article has a bunch more practical advice and links about this topic from the community. Also good to remember: <code>alt<\/code> text shows when images are broken and <a href=\"https:\/\/adrianroselli.com\/2024\/04\/long-alt.html\">different browsers handle that differently<\/a> depending on how much of it there is.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good advice: &#8220;Write alternative text as if you\u2019re describing the image to a friend.&#8221; Or, if it&#8217;s helpful, don&#8217;t forget to include the emotion in an image.<\/p>\n","protected":false},"author":1,"featured_media":2016,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[49,133],"class_list":["post-2014","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-beat","tag-accessibility","tag-images"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/frontendmasters.com\/blog\/wp-content\/uploads\/2024\/05\/describe-image-thumb.jpg?fit=1000%2C500&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/2014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/comments?post=2014"}],"version-history":[{"count":2,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/2014\/revisions"}],"predecessor-version":[{"id":2068,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/2014\/revisions\/2068"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media\/2016"}],"wp:attachment":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media?parent=2014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/categories?post=2014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/tags?post=2014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}