{"id":1222,"date":"2022-09-05T12:14:54","date_gmt":"2022-09-05T10:14:54","guid":{"rendered":"https:\/\/accesibilidadweb.umh.es\/2022\/09\/05\/como-elegir-un-buen-texto-alternativo-2\/"},"modified":"2022-09-05T12:14:54","modified_gmt":"2022-09-05T10:14:54","slug":"como-elegir-un-buen-texto-alternativo","status":"publish","type":"post","link":"https:\/\/accesibilidadweb.umh.es\/en\/2022\/09\/05\/como-elegir-un-buen-texto-alternativo\/","title":{"rendered":"How to Choose Good Alternative Text"},"content":{"rendered":"<p>The ALT attribute is the alternative text that we can associate with an image so that a person with visual impairment can, through assistive products such as a screen reader or braille line, know what it is about.<\/p>\n<p>The alternative text, when it is necessary to use it, should be descriptive, brief and useful. It is not necessary to use &#8220;image of&#8230;&#8221;, &#8220;logo&#8221; or &#8220;icon&#8221;, since the screen reader always begins by announcing that it is an image, but we can use expressions such as &#8220;drawing&#8221;, &#8220;graphic&#8221;, &#8220;map&#8221;&#8230; to specify the type of image.<\/p>\n<h3>How do I choose a good ALT?<\/h3>\n<p><span style=\"font-weight: 400\">The choice of alternative text depends on the type of image and the information it contains. To do this, we can follow these general recommendations:<\/span><\/p>\n<ul>\n<li><strong>With text<\/strong>: normally the alternative text should reproduce the complete text contained in the image, unless that text also appears on the page.<\/li>\n<li><strong>Decorative<\/strong>: if the image is not necessary to understand the content, does not provide information or is merely decorative, an empty ALT attribute should be used (alt=&#8221;&#8221;).<\/li>\n<li><strong>Informative<\/strong>: if the image provides meaning or content to the page, we should use alternative text with a brief description of that content or meaning.<\/li>\n<li><strong>Functional<\/strong>: Images that are used to initiate actions, such as a printer icon, should have alternative text describing the action of printing and not the device.<\/li>\n<li><strong>Complex<\/strong>: when it comes to a complex graphic or the image conveys extensive information, alternative text should be specified in two parts: the short description of the image in its ALT attribute and the extensive one can be in the page&#8217;s own text.<\/li>\n<\/ul>\n<h3>How do I edit the alternative text on my WordPress website?<\/h3>\n<p>When inserting an image on our website with the &#8220;Add Media&#8221; button and selecting or uploading a photo, we will see the option to add alternative text:<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-874 size-full\" src=\"https:\/\/accesibilidadweb.umh.es\/files\/2022\/09\/texto-alternativo.png\" alt=\"Screenshot showing the option to add alternative text\" width=\"260\" height=\"155\" \/><br \/>\n<strong>IMPORTANT: images on our websites will always have the ALT attribute<\/strong>, empty if it is decorative, because otherwise it is considered an accessibility error and the screen reader will announce &#8220;graphic without description&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The ALT attribute is the alternative text that we can associate with an image so that a person with visual impairment can, through assistive products such as a screen reader or braille line, know what it is about.<br \/>\nThe alternative text, when it is necessary to use it, should be descriptive, brief and useful. It is [&#8230;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_links_to":"","_links_to_target":""},"categories":[343876],"tags":[],"_links":{"self":[{"href":"https:\/\/accesibilidadweb.umh.es\/en\/wp-json\/wp\/v2\/posts\/1222"}],"collection":[{"href":"https:\/\/accesibilidadweb.umh.es\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accesibilidadweb.umh.es\/en\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/accesibilidadweb.umh.es\/en\/wp-json\/wp\/v2\/comments?post=1222"}],"version-history":[{"count":0,"href":"https:\/\/accesibilidadweb.umh.es\/en\/wp-json\/wp\/v2\/posts\/1222\/revisions"}],"wp:attachment":[{"href":"https:\/\/accesibilidadweb.umh.es\/en\/wp-json\/wp\/v2\/media?parent=1222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accesibilidadweb.umh.es\/en\/wp-json\/wp\/v2\/categories?post=1222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accesibilidadweb.umh.es\/en\/wp-json\/wp\/v2\/tags?post=1222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}