{"id":204,"date":"2023-10-24T12:33:28","date_gmt":"2023-10-24T12:33:28","guid":{"rendered":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/?post_type=chapter&#038;p=204"},"modified":"2024-01-19T04:23:37","modified_gmt":"2024-01-19T04:23:37","slug":"decorative-images","status":"publish","type":"chapter","link":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/chapter\/decorative-images\/","title":{"rendered":"Decorative Images and Use of Color"},"content":{"raw":"<h1 id=\"Decorative\"><a id=\"decorative\"><\/a>Decorative images<\/h1>\r\nIf an image does not add meaning, i.e., if it's included for decorative or design purposes only, or if the image is adequately described in the caption and\/or surrounding text, it doesn't need an alt tag. Including alternative text descriptions for decorative images \"simply slows the process down with no benefit because the screen-reading software vocalizes the content of the [alternative text description], whether that alternative text adds value or not.\"[footnote]\"Top 10 Tips for Making Your Website Accessible,\" <em>UC Berkeley: Web Access<\/em>, accessed March 27, 2018, https:\/\/webaccess.berkeley.edu\/resources\/tips\/web-accessibility#accessible-alt.[\/footnote] However, this doesn't mean that you should leave an alt tag blank.\r\n\r\nWhen a screen reader detects an image with a blank alt tag, it will read out the image file location. If The Wong-Baker Faces pain scale didn't have an alt tag, a screen reader would say, \"Graphic: https:\/\/opentextbc.ca\/accessibilitytoolkit\/wp-content\/uploads\/sites\/184\/2017\/06\/2049201506_0f9b17182a_o.jpg.\"\r\n\r\nYou can add the null alt attribute to an image tag within Pressbook's Text view.\r\n<ol>\r\n \t<li>Click the Text tab.<\/li>\r\n \t<li>Locate the &lt;img&gt; tag for a decorative image you have just placed.<\/li>\r\n \t<li>Add a space after the 'src' attribute and write alt=''' with no space between the quotation marks. This should cause the screen reader to not announce that there is a graphic present and skip over it.<\/li>\r\n \t<li>An example of what this could look like is: &lt;img src=\"images\/flourish.gif\" alt=\"\"&gt;<\/li>\r\n<\/ol>\r\n&nbsp;\r\n<h1><a id=\"colour\"><\/a>Using color<\/h1>\r\n<p class=\"page-break-after\">Consider what your images would look like if they only displayed in black and white. Would any necessary context or content be lost if the color was \"turned off?\" Images should not rely on color alone to convey information; if your point requires color, you may need to edit or format the image so the concepts presented are not lost to those who are color blind or require high contrast between colors. Use of blue and red color palettes, as opposed to shades of green, are usually better for people who are color blind to tell the difference between the two colors in a data visualization.<\/p>\r\n<p class=\"page-break-after\">Other techniques you can use to enhance the contrast and separation between images is to use variations on dashed or dotted lines on a line graph, black or white outlines around bars on bar charts. Please also download and use the free tool <a href=\"https:\/\/www.tpgi.com\/color-contrast-checker\/\" target=\"_blank\" rel=\"noopener\">Color Contrast Analyser<\/a> to check to see if you have enough contrast between colors. Color Contrast Analyser will also show you what colors look like to people with various color blindness, or deficiencies in detecting red, green, or blue light.<\/p>\r\n\r\n<div class=\"textbox textbox--key-takeaways\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 1: Inaccessible Bar Chart<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nIn Chart 1, colour is the only means by which information is conveyed. For students who are colour blind, have poor contrast vision, or are using a black-and-white print copy (see Chart 2), relevant information is lost.\r\n<table border=\"1\">\r\n<tbody>\r\n<tr>\r\n<td>\r\n\r\n[caption id=\"attachment_701\" align=\"aligncenter\" width=\"300\"]<img class=\"wp-image-701 size-medium\" src=\"https:\/\/pressbooks.ulib.csuohio.edu\/moby-dick\/wp-content\/uploads\/sites\/154\/2023\/06\/colour-depend-1-300x249-1.jpg\" alt=\"\" width=\"300\" height=\"249\" \/> Chart 1: In this bar chart, color is the sole means of communicating the data.[\/caption]<\/td>\r\n<td>\r\n\r\n[caption id=\"attachment_702\" align=\"aligncenter\" width=\"300\"]<img class=\"wp-image-702 size-medium\" src=\"https:\/\/pressbooks.ulib.csuohio.edu\/moby-dick\/wp-content\/uploads\/sites\/154\/2023\/06\/colour-depend-2-300x249-1.jpg\" alt=\"Bar chart viewed in greyscale\" width=\"300\" height=\"249\" \/> Chart 2: This view of the same bar chart displays how the chart might appear to a student who is color blind, or whose device does not display color. All of the meaningful data is lost.[\/caption]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<\/div>\r\n<p class=\"page-break-after\"><span>.<\/span><\/p>\r\n\r\n<div class=\"textbox textbox--key-takeaways\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 2: Accessible Bar Chart<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nStudents who are color blind can distinguish between high-contrast shades. In Chart 3, contextual labels have been added to each bar at the bottom of the chart. Note that the chart will still require an <a href=\"#alt\">alt tag<\/a>.\r\n\r\n[caption id=\"attachment_703\" align=\"aligncenter\" width=\"300\"]<img class=\"wp-image-703 size-medium\" src=\"https:\/\/pressbooks.ulib.csuohio.edu\/moby-dick\/wp-content\/uploads\/sites\/154\/2023\/06\/colour-depend-3-300x268-1.jpg\" alt=\"Modified bar chart with high-contrast colours and labels\" width=\"300\" height=\"268\" \/> Chart 3: In this view of the bar chart, high-contrast colos have been used so that shading differences will still display in grey scale. Text labels have also been added.[\/caption]\r\n\r\n<\/div>\r\n<\/div>","rendered":"<h1 id=\"Decorative\"><a id=\"decorative\"><\/a>Decorative images<\/h1>\n<p>If an image does not add meaning, i.e., if it&#8217;s included for decorative or design purposes only, or if the image is adequately described in the caption and\/or surrounding text, it doesn&#8217;t need an alt tag. Including alternative text descriptions for decorative images &#8220;simply slows the process down with no benefit because the screen-reading software vocalizes the content of the [alternative text description], whether that alternative text adds value or not.&#8221;<a class=\"footnote\" title=\"&quot;Top 10 Tips for Making Your Website Accessible,&quot; UC Berkeley: Web Access, accessed March 27, 2018, https:\/\/webaccess.berkeley.edu\/resources\/tips\/web-accessibility#accessible-alt.\" id=\"return-footnote-204-1\" href=\"#footnote-204-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a> However, this doesn&#8217;t mean that you should leave an alt tag blank.<\/p>\n<p>When a screen reader detects an image with a blank alt tag, it will read out the image file location. If The Wong-Baker Faces pain scale didn&#8217;t have an alt tag, a screen reader would say, &#8220;Graphic: https:\/\/opentextbc.ca\/accessibilitytoolkit\/wp-content\/uploads\/sites\/184\/2017\/06\/2049201506_0f9b17182a_o.jpg.&#8221;<\/p>\n<p>You can add the null alt attribute to an image tag within Pressbook&#8217;s Text view.<\/p>\n<ol>\n<li>Click the Text tab.<\/li>\n<li>Locate the &lt;img&gt; tag for a decorative image you have just placed.<\/li>\n<li>Add a space after the &#8216;src&#8217; attribute and write alt=&#8221;&#8217; with no space between the quotation marks. This should cause the screen reader to not announce that there is a graphic present and skip over it.<\/li>\n<li>An example of what this could look like is: &lt;img src=&#8221;images\/flourish.gif&#8221; alt=&#8221;&#8221;&gt;<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h1><a id=\"colour\"><\/a>Using color<\/h1>\n<p class=\"page-break-after\">Consider what your images would look like if they only displayed in black and white. Would any necessary context or content be lost if the color was &#8220;turned off?&#8221; Images should not rely on color alone to convey information; if your point requires color, you may need to edit or format the image so the concepts presented are not lost to those who are color blind or require high contrast between colors. Use of blue and red color palettes, as opposed to shades of green, are usually better for people who are color blind to tell the difference between the two colors in a data visualization.<\/p>\n<p class=\"page-break-after\">Other techniques you can use to enhance the contrast and separation between images is to use variations on dashed or dotted lines on a line graph, black or white outlines around bars on bar charts. Please also download and use the free tool <a href=\"https:\/\/www.tpgi.com\/color-contrast-checker\/\" target=\"_blank\" rel=\"noopener\">Color Contrast Analyser<\/a> to check to see if you have enough contrast between colors. Color Contrast Analyser will also show you what colors look like to people with various color blindness, or deficiencies in detecting red, green, or blue light.<\/p>\n<div class=\"textbox textbox--key-takeaways\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 1: Inaccessible Bar Chart<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>In Chart 1, colour is the only means by which information is conveyed. For students who are colour blind, have poor contrast vision, or are using a black-and-white print copy (see Chart 2), relevant information is lost.<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<figure id=\"attachment_701\" aria-describedby=\"caption-attachment-701\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-701 size-medium\" src=\"https:\/\/pressbooks.ulib.csuohio.edu\/moby-dick\/wp-content\/uploads\/sites\/154\/2023\/06\/colour-depend-1-300x249-1.jpg\" alt=\"\" width=\"300\" height=\"249\" \/><figcaption id=\"caption-attachment-701\" class=\"wp-caption-text\">Chart 1: In this bar chart, color is the sole means of communicating the data.<\/figcaption><\/figure>\n<\/td>\n<td>\n<figure id=\"attachment_702\" aria-describedby=\"caption-attachment-702\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-702 size-medium\" src=\"https:\/\/pressbooks.ulib.csuohio.edu\/moby-dick\/wp-content\/uploads\/sites\/154\/2023\/06\/colour-depend-2-300x249-1.jpg\" alt=\"Bar chart viewed in greyscale\" width=\"300\" height=\"249\" \/><figcaption id=\"caption-attachment-702\" class=\"wp-caption-text\">Chart 2: This view of the same bar chart displays how the chart might appear to a student who is color blind, or whose device does not display color. All of the meaningful data is lost.<\/figcaption><\/figure>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"page-break-after\">.<\/p>\n<div class=\"textbox textbox--key-takeaways\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 2: Accessible Bar Chart<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Students who are color blind can distinguish between high-contrast shades. In Chart 3, contextual labels have been added to each bar at the bottom of the chart. Note that the chart will still require an <a href=\"#alt\">alt tag<\/a>.<\/p>\n<figure id=\"attachment_703\" aria-describedby=\"caption-attachment-703\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-703 size-medium\" src=\"https:\/\/pressbooks.ulib.csuohio.edu\/moby-dick\/wp-content\/uploads\/sites\/154\/2023\/06\/colour-depend-3-300x268-1.jpg\" alt=\"Modified bar chart with high-contrast colours and labels\" width=\"300\" height=\"268\" \/><figcaption id=\"caption-attachment-703\" class=\"wp-caption-text\">Chart 3: In this view of the bar chart, high-contrast colos have been used so that shading differences will still display in grey scale. Text labels have also been added.<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-204-1\">\"Top 10 Tips for Making Your Website Accessible,\" <em>UC Berkeley: Web Access<\/em>, accessed March 27, 2018, https:\/\/webaccess.berkeley.edu\/resources\/tips\/web-accessibility#accessible-alt. <a href=\"#return-footnote-204-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":7,"menu_order":4,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-204","chapter","type-chapter","status-publish","hentry"],"part":33,"_links":{"self":[{"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/pressbooks\/v2\/chapters\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/wp\/v2\/users\/7"}],"version-history":[{"count":11,"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/pressbooks\/v2\/chapters\/204\/revisions"}],"predecessor-version":[{"id":337,"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/pressbooks\/v2\/chapters\/204\/revisions\/337"}],"part":[{"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/pressbooks\/v2\/parts\/33"}],"metadata":[{"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/pressbooks\/v2\/chapters\/204\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/pressbooks\/v2\/chapter-type?post=204"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/wp\/v2\/contributor?post=204"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.ulib.csuohio.edu\/accessibilitytoolkit\/wp-json\/wp\/v2\/license?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}