{"id":510,"date":"2018-03-14T15:08:18","date_gmt":"2018-03-14T19:08:18","guid":{"rendered":"https:\/\/wordpress.ocps.net\/presenceblog\/?p=510"},"modified":"2018-05-11T15:09:14","modified_gmt":"2018-05-11T19:09:14","slug":"annotating-images","status":"publish","type":"post","link":"https:\/\/wordpress.ocps.net\/presenceblog\/annotating-images\/","title":{"rendered":"Annotating Images"},"content":{"rendered":"<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">At a recent Open Lab, the question came up as to why we cannot add captions at the bottoms of all images. Perhaps they are thinking about captions that appear beneath images in many books and magazines. Or perhaps they noticed that captions are available at the bottom of the rotating banner images for both the main OCPS district site as well as the home pages of our schools. They may also have noticed that there are no options to add captions for images placed in other locations within the web such as images insert into content web parts.<br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">Currently, when you add an image to the image library directly, the File Manager dialog that opens when you select File Administration from the black menu bar does not prompt for any additional properties much less Alt Text or ToolTip text. One reason is because the basic file\/folder structure does not support those meta data features. Fortunately, most web admins and authors do not have the ability to upload images or documents through File Administration. Another excellent reason is that an image or document could be referenced from multiple pages and you may want a different line of text associated with each instance where that image is used.<br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">However, when an author\/admin is working from within a web page and wants to add an image, SchoolMessenger uses a slightly different dialog to both select existing images already stored in the system and to upload new ones. In the process of selecting an image to be used in the web part (even if you just uploaded a new image) the dialog prompts for additional information such as size, alt text, etc. The key point to understand here is that this information is not stored with the image. Even if you specify different dimensions for the image, that information does not physically change the size of the image as stored. It merely resizes the image when placed on the page. Similarly, text added as alt text is merely added to the HTML &#8216;alt&#8217; attribute that is built by the dialog to display the image.<br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">For example, suppose you were editing the content on your web page and selected the Image Manager as shown here:<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI1.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">The Image Manager opens the Image Manager as shown below. You start by navigating to the folder where the image was stored or where you want to upload the image. Note that the Image Manager does not know what page of the portal you are in and will not automatically take you to the appropriate folder. You must navigate to the correct folder (or create a new folder) first. When you click on the image name in the second column (for previously uploaded images), a preview of the image appears in the right column. Well actually, the preview only works for .jpg and .gif images files, not for .png files.<br \/>\n<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI2.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">In any case, you should see two tabs at the bottom of the right column, Preview and Properties. If you click on Properties, you will see the other properties that can be set for this instance of the image to be used on the current page you are editing. Remember that these properties are only used for the current instance of the image and are not saved with the image file itself.<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI3.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">The properties that I&#8217;m going to focus on are the Alt Text and Long Description properties. If you enter text into either or both of these properties, the text is added to the HTML that displays the image. The important property for ADA compliance is the Alt Text property. In fact, you cannot click the Insert button to insert the image into the page without filling in some text in the Alt Text field. This text should be meaningful because it is used by screen readers for the visually impaired users of the web. The text must describe the important aspects of the image to those users, not just say, &#8216;Image&#8217;. In fact, one way to determine if your text is meaningful is to close your eyes and say the alt text words to yourself. If the words do not form a mental image in your head, then the text needs to be revised. The Long Description is optional and may or may not be read by all screen readers. Suppose we had the following entries:<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI4.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">When we insert this image into the page, and the user hovers over the image they will see the Alt Text in a rectangle which many people refer to as ToolTip text (because that was the origin of this feature).<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI5.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">However, the Long Description text does not appear to the user. It is part of the HTML as shown by the following segment of code from this page as part of the &#8216;longdesc&#8217; attribute of the &lt;img&gt; tag. Note also that the Alt Text defines both the &#8216;title&#8217; and the &#8216;alt&#8217; attributes. All three of these attributes are part of the &lt;img&gt; tag and therefore are clearly associated with the image.<br \/>\n<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI6.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">This is how screen readers associate the alt text with an image to describe it the visually impaired.<br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">So how is this different from images in rotating banners? Let&#8217;s look first at the school rotating banner web part. If you have rights to edit your school web site and you enter <strong>Design Mode<\/strong> you will be able to select images to be part of the rotation by using the first dialog when editing the banner web part and clicking the <strong>Add Image<\/strong> button.<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI7.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">This display the <strong>Image Details<\/strong> dialog for specific image. Each image added to the banner has its own set of image details.<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI8.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">To select an image, click the <strong>Browse<\/strong> option. This opens the same <strong>Image Manager<\/strong> dialog that we saw above allowing you to select from a previously uploaded image or to upload a new image. Also as before, to leave that dialog you must supply an Alt Text string. Suppose we selected an image and provided an Alt Text string and clicked Insert to add the image to the current page. The Image Details dialog as shown below updates with the information from the Image Manager. If we leave the Summary field blank, the image appears as follows:<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI9.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">However, if we add Summary text in the dialog as shown here:<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI10.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">The Alt Text appears when the user hovers their mouse over the image while the Summary text appears as a caption at the bottom of the image as shown here:<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI11.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">Notice that the image is not resized when Summary text is used. Therefore, the lower portion of the image will be covered. We have also determined from our contacts with SchoolMessenger that screen readers do not associate the Summary Text with the image even though it appears to be selectable with your mouse. Therefore, this is not a valid alternative to using Alt Text with your images.<br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">For those interested, Summary Text appears as a separate HTML element because there is no corresponding attribute in the &lt;img&gt; element for this information.<br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444;\"><span style=\"font-family: Times New Roman; font-size: 8pt;\">&lt;a onclick=&#8221;GoNextSlide(&amp;#39;ctl00_ContentPlaceHolder1_ctl09_divView&amp;#39;,6)&#8221; title=&#8221;Industry Inspire Night&#8221; style=&#8221;display:block;&#8221;&gt;<br \/>\n&lt;img title=&#8221;#f863a7ea90264e1eaad7224d2549b979&#8243; src=&#8221;https:\/\/p15cdn4static.sharpschool.com\/userfiles\/servers\/server_70176\/image\/industry%20inspired%202017%20015%20-%20alecia%20sharpe.jpg&#8221; alt=&#8221;Industry Inspire Night&#8221; \/&gt;<br \/>\n&lt;\/a&gt;<br \/>\n&lt;div&gt; id=&#8221;f863a7ea90264e1eaad7224d2549b979&#8243; class=&#8221;nivo-html-caption&#8221;&gt;<br \/>\n&lt;p&gt;Industry Inspire Night&lt;\/p&gt;<br \/>\n&lt;\/div&gt; <\/span><span style=\"font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">For the district home page, the rotating banner web part has a slightly different dialog (shown below) which includes the image URL, the on-click URL, Title, Text and Alt. The difference between this dialog and the one used by the rotating banner at the schools is that instead of calling the caption field Summary Text, it is just called Text here. This text also covers the bottom of the image as did the Summary Text in the School rotating banner, but the background is a solid grey rather than a semi-transparent black. In either case, information at the bottom of the image will be covered.<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI12.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">Another word of warning. Some browsers will take the text from the Title field if there is nothing in Alt (remember the Image Manager put the tooltip text in both the &#8216;alt&#8217; and &#8216;title&#8217; HTML attributes for images on a content page). However, because not all browsers (or versions of browsers) do this, you should still always use the Alt field even if it is just a copy of the Title field.<br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">Finally let&#8217;s look at a bad example. Suppose you decide rather than use ToolTip Text or Summary Text with your banner image that you simply included the text in the image itself such as the example below:<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI13.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">For most people with &#8216;good&#8217; vision, this may appear to be fine. However, screen readers will not read the text at the bottom of the image. In fact, they don&#8217;t read any text within the image. If we look at the image properties, we can see that the text, &#8216;Click here for more information&#8217; was not created by Summary Text, and is different from the Alt Text.<br \/>\n<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/wordpress.ocps.net\/wp-content\/uploads\/2018\/05\/051118_1858_AnnotatingI14.png\" alt=\"\" \/><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">Therefore, for the visually impaired viewer, they may not know that they can click on the image to get more information about the clubs at this school. Perhaps a better Alt Text value would be: &#8220;Click here for more information about joining a club&#8221;. Remember that just adding Summary Text to a banner image is not adequate either because summary text is not read by screen readers.<br \/>\n<\/span><\/p>\n<p><span style=\"color: #444444; font-family: Segoe UI; font-size: 10pt;\">Does all of this mean that you cannot add a caption to images that are not in a rotating banner? Of course not, but that text would be just normal text above or below the image in the content web part. It would not replace the requirement of including alt text as part of the image definition.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>At a recent Open Lab, the question came up as to why we cannot add captions at the bottoms of all images. Perhaps they are thinking about captions that appear beneath images in many books and magazines. Or perhaps they noticed that captions are available at the bottom of the rotating banner images for both &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/wordpress.ocps.net\/presenceblog\/annotating-images\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Annotating Images&#8221;<\/span><\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[28,30,33,34],"tags":[48,47,50,40],"class_list":["post-510","post","type-post","status-publish","format-standard","hentry","category-news-related-to-ada-and-accessibility","category-news-related-to-site-governance-at-ocps","category-post-that-explains-how-to-perform-a-specific-activity","category-something-to-think-about-related-to-web-sites","tag-accessibility","tag-ada","tag-links","tag-school-sites"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":1316,"url":"https:\/\/wordpress.ocps.net\/presenceblog\/a-couple-of-table-issues\/","url_meta":{"origin":510,"position":0},"title":"A Couple of Table Issues","author":"Carlos Hernandez","date":"October 1, 2019","format":false,"excerpt":"In this post, we will look at a couple of table issues and the corresponding Monsido Issues that they may raise. First, you need to understand that there are essentially two types of tables possible, layout tables and data tables. Layout Tables Web designers used layout tables from the early\u2026","rel":"","context":"In &quot;ADA News&quot;","block_context":{"text":"ADA News","link":"https:\/\/wordpress.ocps.net\/presenceblog\/category\/portal-related-news\/news-related-to-ada-and-accessibility\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":767,"url":"https:\/\/wordpress.ocps.net\/presenceblog\/accessibility-of-images-in-pdfs\/","url_meta":{"origin":510,"position":1},"title":"Accessibility of Images in PDFs","author":"Carlos Hernandez","date":"August 29, 2018","format":false,"excerpt":"Accessibility of Images in PDFs follows essentially the same rules as images on web pages. There are three basic types of images: Decoration Example of something Actual content All three types of images must have alt-text associated with them. However, the contents of that text varies based on the image\u2026","rel":"","context":"In &quot;ADA News&quot;","block_context":{"text":"ADA News","link":"https:\/\/wordpress.ocps.net\/presenceblog\/category\/portal-related-news\/news-related-to-ada-and-accessibility\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1307,"url":"https:\/\/wordpress.ocps.net\/presenceblog\/all-img-elements-must-have-an-alt-attribute\/","url_meta":{"origin":510,"position":2},"title":"All IMG elements must have an ALT attribute","author":"Carlos Hernandez","date":"September 23, 2019","format":false,"excerpt":"While it is true that images added to a web page using the Image Manager button in the content editor menu will not currently allow you to add an image to a content area without entering text into the Alt-Text field, there are still many images throughout the portal where\u2026","rel":"","context":"In &quot;ADA News&quot;","block_context":{"text":"ADA News","link":"https:\/\/wordpress.ocps.net\/presenceblog\/category\/portal-related-news\/news-related-to-ada-and-accessibility\/"},"img":{"alt_text":"Image Manager Button in Edit Menu","src":"https:\/\/i0.wp.com\/wordpress.ocps.net\/wp-content\/uploads\/2019\/09\/092019_1721_AllIMGeleme1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1415,"url":"https:\/\/wordpress.ocps.net\/presenceblog\/alt-text-for-images-with-text\/","url_meta":{"origin":510,"position":3},"title":"Alt Text for Images with Text","author":"Carlos Hernandez","date":"January 27, 2020","format":false,"excerpt":"Background If you use an image that contains text that you want site visitors to read, that text must be included elsewhere on the page so that screen readers can read the text for the visually impaired and blind. In most cases, the image can be used as long as\u2026","rel":"","context":"In &quot;ADA News&quot;","block_context":{"text":"ADA News","link":"https:\/\/wordpress.ocps.net\/presenceblog\/category\/portal-related-news\/news-related-to-ada-and-accessibility\/"},"img":{"alt_text":"Backstage Menu within Micrsoft Word","src":"https:\/\/i0.wp.com\/wordpress.ocps.net\/wp-content\/uploads\/2020\/01\/012720_1804_AltTextforI1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1399,"url":"https:\/\/wordpress.ocps.net\/presenceblog\/alt-text-for-functional-images\/","url_meta":{"origin":510,"position":4},"title":"Alt Text for Functional Images","author":"Carlos Hernandez","date":"January 17, 2020","format":false,"excerpt":"AIn this post, I'll take a look at how to use alt text for functional images. But first, what is a functional image and how does it differ from an informative image previously discussed. Essentially the difference is that a functional image initiates an action rather than just conveying information.\u2026","rel":"","context":"In &quot;ADA News&quot;","block_context":{"text":"ADA News","link":"https:\/\/wordpress.ocps.net\/presenceblog\/category\/portal-related-news\/news-related-to-ada-and-accessibility\/"},"img":{"alt_text":"A logo that is just an image","src":"https:\/\/i0.wp.com\/wordpress.ocps.net\/wp-content\/uploads\/2020\/01\/011720_1923_AltTextforF1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1467,"url":"https:\/\/wordpress.ocps.net\/presenceblog\/style-and-image-sizing\/","url_meta":{"origin":510,"position":5},"title":"Style and Image Sizing","author":"Carlos Hernandez","date":"March 13, 2020","format":false,"excerpt":"If image sizing for web pages seems to be an area that confuses you, this blog post is for you. Automatically Optimize\u00a0Image\u00a0Sizes (Excerpted from the SchoolMessenger built-in help about image resizing.) Many\u00a0images\u00a0that you wish to use on your site are much larger than is necessary. For example, depending on the\u2026","rel":"","context":"In &quot;ADA News&quot;","block_context":{"text":"ADA News","link":"https:\/\/wordpress.ocps.net\/presenceblog\/category\/portal-related-news\/news-related-to-ada-and-accessibility\/"},"img":{"alt_text":"Formula to calculate desired Image Height","src":"https:\/\/i0.wp.com\/wordpress.ocps.net\/wp-content\/uploads\/2020\/03\/031020_1739_StyleandIma1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.ocps.net\/presenceblog\/wp-json\/wp\/v2\/posts\/510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.ocps.net\/presenceblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.ocps.net\/presenceblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.ocps.net\/presenceblog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.ocps.net\/presenceblog\/wp-json\/wp\/v2\/comments?post=510"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.ocps.net\/presenceblog\/wp-json\/wp\/v2\/posts\/510\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.ocps.net\/presenceblog\/wp-json\/wp\/v2\/media?parent=510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.ocps.net\/presenceblog\/wp-json\/wp\/v2\/categories?post=510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.ocps.net\/presenceblog\/wp-json\/wp\/v2\/tags?post=510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}