<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<meta http-equiv="Content-Language" content="en" />
<meta name="generator" content="Pressbooks 5.13.0" />
<meta name="pb-authors" content="Digital Education Strategies, The Chang School" />
<meta name="pb-editors" content="" />
<meta name="pb-translators" content="" />
<meta name="pb-reviewers" content="" />
<meta name="pb-illustrators" content="" />
<meta name="pb-contributors" content="Greg Gay" />
<meta name="pb-title" content="What You Can Do to Remove Barriers on the Web" />
<meta name="pb-language" content="en-ca" />
<meta name="pb-cover-image" content="https://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/remove_barriers.png" />
<meta name="pb-subtitle" content="Making Websites Accessible" />
<meta name="pb-primary-subject" content="JNV" />
<meta name="pb-book-license" content="cc-by-sa" />
<meta name="pb-custom-copyright" content="© The G. Raymond Chang School of Continuing Education, Ryerson University" />
<meta name="pb-about-140" content="Making Websites Accessible" />
<meta name="pb-about-50" content="This book accompanies the Web Accessibility Maze, a game developed to teach the basics of web accessibility for those new to the topic. Or, for anyone else who wants to see how fun learning about web accessibility can be. You should try the maze before reading this book, to get the full effect of the game." />
<meta name="pb-copyright-year" content="2020" />
<meta name="pb-keywords-tags" content="web accessibility, accessible HTML, basic accessibility" />
<meta name="pb-hashtag" content="#a11y #accessibility #webaccessibility" />
<title>What You Can Do to Remove Barriers on the Web</title>
</head>
<body lang='en' >
<div id="half-title-page"><h1 class="title">What You Can Do to Remove Barriers on the Web</h1></div>
<div id="title-page"><h1 class="title">What You Can Do to Remove Barriers on the Web</h1><h2 class="subtitle">Making Websites Accessible</h2><h3 class="author">Digital Education Strategies, The Chang School</h3><h3 class="author">Greg Gay</h3><h4 class="publisher"></h4><h5 class="publisher-city"></h5></div>
<div id="copyright-page"><div class="ugc">
<div class="license-attribution"><p><img src="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/themes/pressbooks-book/packages/buckram/assets/images/cc-by-sa.svg" alt="Icon for the Creative Commons Attribution-ShareAlike 4.0 International License" /></p><p>What You Can Do to Remove Barriers on the Web by Digital Education Strategies, The Chang School is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>, except where otherwise noted.</p></div>
<p>&copy; The G. Raymond Chang School of Continuing Education, Ryerson University</p></div></div>
<div id="toc"><h1>Contents</h1><ul><li class="part"><a href="#part-main-body">Introduction</a></li><li class="part"><a href="#part-chapters">Accessibility Guidelines</a></li><li class="chapter numberless"><a href="#chapter-chapter-1"><span class="toc-chapter-title">Forms and buttons are properly labelled</span></a></li><li class="chapter standard"><a href="#chapter-web-content-that-includes-timing-can-be-paused-or-have-its-time-extended"><span class="toc-chapter-title">Web content that includes timing, can be paused or have its time extended</span></a></li><li class="chapter standard"><a href="#chapter-interactive-web-content-functions-with-both-mouse-and-keyboard"><span class="toc-chapter-title">Interactive Web content functions with both mouse and keyboard</span></a></li><li class="chapter standard"><a href="#chapter-meaningful-visual-content-is-described-with-text"><span class="toc-chapter-title">Meaningful visual content is described with text</span></a></li><li class="chapter standard"><a href="#chapter-content-is-structured-with-proper-headings-and-list-elements"><span class="toc-chapter-title">Content is structured with proper headings and list elements.</span></a></li><li class="chapter standard"><a href="#chapter-link-text-describes-the-destination-or-function-of-the-link"><span class="toc-chapter-title">Link text describes the destination or function of the link</span></a></li><li class="chapter standard"><a href="#chapter-content-is-understandable-by-a-grade-9-student-where-possible"><span class="toc-chapter-title">Content is understandable by a grade 9 student, where possible.</span></a></li><li class="chapter standard"><a href="#chapter-text-contrasts-well-over-any-background-colours-or-images"><span class="toc-chapter-title">Text contrasts well over any background colours or images</span></a></li><li class="chapter standard"><a href="#chapter-multimedia-with-spoken-dialogue-has-captions-and-a-transcript"><span class="toc-chapter-title">Multimedia with spoken dialogue has captions (and a transcript)</span></a></li><li class="chapter standard"><a href="#chapter-use-accessibility-checkers"><span class="toc-chapter-title">Use accessibility checkers</span></a></li><li class="back-matter appendix"><a href="#back-matter-appendix"><span class="toc-chapter-title">Want to Learn More?</span></a></li></ul></div>
<div class="part introduction " id="part-main-body"><div class="part-title-wrap"><h3 class="part-number">I</h3><h1 class="part-title">Introduction</h1></div><div style="border-width: 5px 5px 5px 15px;border-color: #a64d79;border-style: solid;padding: 1em;height:700px">This ebook accompanies <a href="https://de.ryerson.ca/games/accessibility">The Accessibility Maze</a>, a game developed by The G. Raymond Chang School of Continuing Education at Ryerson University, to teach the basics of digital accessibility for those new to the topic. If you have not yet played the game, we suggest playing it first, then returning to the book.<a href="https://de.ryerson.ca/games/accessibility"><img src="http://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/01/game_screen.png" alt="Accessibility Maze screenshot" class="alignleft size-full wp-image-121" width="674" height="522" style="clear:both" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/01/game_screen.png 674w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/01/game_screen-300x232.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/01/game_screen-65x50.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/01/game_screen-225x174.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/01/game_screen-350x271.png 350w" /></a></div> <div><h2>Understanding Barriers in Web Content</h2> <p>Barriers are often created in web content when authors and developers are unaware of how people with disabilities access the Web. <img src="http://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/noun_accessibility-optimization_17824031.png" alt="" class="wp-image-73 alignright" width="142" height="142" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_accessibility-optimization_17824031.png 700w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_accessibility-optimization_17824031-300x300.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_accessibility-optimization_17824031-150x150.png 150w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_accessibility-optimization_17824031-65x65.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_accessibility-optimization_17824031-225x225.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_accessibility-optimization_17824031-350x350.png 350w" /></p> <p>Though those with different kinds of disabilities experience different kinds of barriers, the group that experiences the most are people who are blind. Ensuring that content is accessible to these people, will also help make content more accessible, and usable, for others as well. Here the focus will lean more toward making web content accessible to blind readers, but also touch on issues that affect people who are deaf, or have cognitive disabilities.</p> <p>People who are blind will typically use a screen reader to access the Web. A screen reader reads the text on a screen, as well as providing different ways to navigate through a page of content. They will also read elements of an operating system, such as buttons, icons, dialog boxes, and so on that one might encounter using a computer. Examples of desktop screen readers include <a href="https://www.freedomscientific.com/products/software/jaws/">JAWS</a>, <a href="https://www.nvaccess.org/">NVDA</a>, and <a href="https://support.microsoft.com/en-ca/help/22798/windows-10-complete-guide-to-narrator">Narrator for Windows</a>, and <a href="https://support.apple.com/en-ca/guide/voiceover-guide/welcome/web">Voiceover for Macs</a>. Screen readers are also available for mobile devices, including <a href="https://support.apple.com/en-ca/guide/iphone/iphe4ee74be8/ios">Voiceover for iPhones and iPads</a>, and <a href="https://support.google.com/accessibility/android/answer/6283677?hl%3Den">Talkback for Android</a> devices.</p> <p>It is helpful for sighted users to experiment with a screen reader to better understand the challenges people who are blind encounter when navigating the Web. The ChromeVox screen reader plugin for the <a href="https://www.google.com/chrome/">Chrome web browser</a>, is a useful tool for learning how screen readers work, and for experiencing barriers firsthand. It is available through the <a href="https://chrome.google.com/webstore/detail/chromevox-classic-extensi/kgejglhpjiefppelpmljglcjbhoiplfn">Chrome Web Store</a>. You are encouraged to install it and experiment.</p> <p>&nbsp;</p> <div style="border-width: 5px 5px 5px 15px;border-color: #6aa84f;border-style: solid;padding: 1em"><strong>Tools: </strong><a href="https://chrome.google.com/webstore/detail/chromevox-classic-extensi/kgejglhpjiefppelpmljglcjbhoiplfn">ChromeVox Screen Reader</a></div> <p>The accessibility issues described below will focus mainly on issues that occur for screen reader users. While they will look at the more common issues, it is not an exhaustive list. Readers should refer to the <a href="https://www.w3.org/TR/WCAG21/">W3C Web Content Accessibility Guidelines V2.1</a> for more detailed coverage of potential accessibility issues on the Web.</p> <div style="border-width: 5px 5px 5px 15px;border-color: #6aa84f;border-style: solid;padding: 1em"><strong>Tools:</strong> <a href="https://www.w3.org/TR/WCAG21/">W3C Web Content Accessibility Guidelines V2.1</a></div> </div></div>
<div class="part " id="part-chapters"><div class="part-title-wrap"><h3 class="part-number">II</h3><h1 class="part-title">Accessibility Guidelines</h1></div></div>
<div class="chapter numberless" id="chapter-chapter-1" title="Forms and buttons are properly labelled"><div class="chapter-title-wrap"><h3 class="chapter-number"></h3><h2 class="chapter-title">Forms and buttons are properly labelled</h2></div><div class="ugc chapter-ugc"><hr /> <p>When creating forms in web content, authors often describe the expected input for a form field in a text label, typically located just before or above the field. In some cases, however, the text positioned next to a form field becomes disconnected if the screen size or orientation changes, for instance. <img src="http://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/noun_Labels_21791961.png" alt="" class="wp-image-78 alignright" width="143" height="143" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Labels_21791961.png 700w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Labels_21791961-300x300.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Labels_21791961-150x150.png 150w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Labels_21791961-65x65.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Labels_21791961-225x225.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Labels_21791961-350x350.png 350w" /></p> <p>To ensure that labels are always available to describe a form field, web content authors should use the &lt;label&gt; element to explicitly associate the descriptive text with a field. This ensures that regardless of where the label might appear on the screen, it will always describe the expected input when a screen reader encounters its associated form field.</p> <p>Using the &lt;label&gt; element also makes it possible to click the label to bring focus to its associated form field. It provides a larger target area to click for those people who may have trouble targeting a tiny form element with a mouse pointer, like a checkbox or a radio button.</p> <p>The following is an example of HTML that explicitly associates a text label with a form field. Note the value for the &#8220;for&#8221; attribute with the label markup, matches the value for the &#8220;id&#8221; attribute with the text input markup. That match is what creates the explicit association. No matter where the label appears, a screen reader will always read &#8220;First Name&#8221; from the label when it encounters the &#8220;firstname&#8221; text field.</p> <p>&nbsp;</p> <div style="border-width: 5px 5px 5px 15px;border-color: #4a86e8;border-style: solid;padding: 1em"><p><strong>Technical Details: Explicit labels for form fields</strong></p> <p>&lt;label for=&#8221;firstname&#8221;&gt;First Name&lt;/label&gt;</p> <p>&lt;input type=&#8221;text&#8221; id=&#8221;firstname&#8221; value=&#8221;&#8221;/&gt;</p> </div> <p>In The Accessibility Maze you would have experienced the importance of proper labels in Level 2. Without the plate that shows the connection between the letters, here used as labels, and the buttons used to enter the combination that opens the door, it can be very difficult to figure out which buttons are associated with which letters. There are 24 potential combinations.</p> </div></div>
<div class="chapter standard" id="chapter-web-content-that-includes-timing-can-be-paused-or-have-its-time-extended" title="Web content that includes timing, can be paused or have its time extended"><div class="chapter-title-wrap"><h3 class="chapter-number">1</h3><h2 class="chapter-title">Web content that includes timing, can be paused or have its time extended</h2></div><div class="ugc chapter-ugc"><hr /> <p>Some people take longer to complete tasks than other people. A person who is blind will typically have to navigate with their screen reader to discover content, where others may be able to scan quickly with vision to find what they need. When content is timed to that that a typical person might take to complete a task, it creates a barrier for those who take longer. <img src="http://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/noun_timer_14013091.png" alt="" class="wp-image-82 alignright" width="149" height="149" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_timer_14013091.png 700w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_timer_14013091-300x300.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_timer_14013091-150x150.png 150w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_timer_14013091-65x65.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_timer_14013091-225x225.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_timer_14013091-350x350.png 350w" /></p> <p>There are many examples. A slideshow, or carousel as they are often called, is one example. If there is content to read on slides and those slides rotate to the next at a speed that might allow a typical reader to read, it might take that long for a screen reader user to just get to the content, let alone read it. Others with reading or cognitive disabilities may also have trouble reading content on slides fast enough before the slide rotates to the next. </p> <p>Other examples of timed content that can create barriers include website splash screens that redirect to a home page after a short period; timed quizzes or tests; time limits for completing a form to purchase tickets online; and many games are full of timed elements. </p> <p>To ensure timing is not creating a barrier for some people, it is important to provide a way to extend the time, or stop timing completely. </p> <p>For a <strong>slideshow</strong>, when the slides are in focus, auto-rotating slides might be disabled in favour of a next or previous button that is pressed manually when a user is ready to proceed to the next slide. </p> <p>For a <strong>splash screen</strong>, the redirect could be set to a very long time (e.g. 20 times longer than a typical user would need to read or interact with the content), and have a manual button or link a user clicks to &#8220;Proceed to the Home Page.&#8221; </p> <p>For <strong>timed tests</strong><strong>,</strong> test authors should be able to allow more time for some individuals. </p> <p>For <strong>online ticket purchases</strong>, the user could be presented with a warning when time is about to expire, and given the option to extend that time. </p> <p>In most cases it should be possible to pause or stop content, but there will be occasions where timing is a key element of an activity, such as a reaction time test. In cases like this it can be acceptable to maintain the time limits, but users should be warned ahead of time that there may be a barrier for some people.</p> <p>In The Accessibility Maze you would have experienced a timing barrier when attempting to get through the door from Level 3 to Level 4. After opening the door with the lever, it is pretty much impossible to get through the door before it closes. Freezing the lever would be much like stopping the timing, making it possible to get to the door before it closes.</p> </div></div>
<div class="chapter standard" id="chapter-interactive-web-content-functions-with-both-mouse-and-keyboard" title="Interactive Web content functions with both mouse and keyboard"><div class="chapter-title-wrap"><h3 class="chapter-number">2</h3><h2 class="chapter-title">Interactive Web content functions with both mouse and keyboard</h2></div><div class="ugc chapter-ugc"><hr /> <p>To ensure all functional elements on the Web (e.g. links, buttons, forms, interactive widgets) are accessible, they must operate with both a mouse and a keyboard. Many people cannot use a mouse, and some power users may prefer to use a keyboard for efficiency for repetitive tasks, for instance. <img src="http://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/noun_mouse-keyboard_2311285.png" alt="" class="wp-image-80 alignright" width="139" height="139" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_mouse-keyboard_2311285.png 700w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_mouse-keyboard_2311285-300x300.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_mouse-keyboard_2311285-150x150.png 150w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_mouse-keyboard_2311285-65x65.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_mouse-keyboard_2311285-225x225.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_mouse-keyboard_2311285-350x350.png 350w" /></p> <p>When functional elements lack keyboard operability they can create insurmountable barriers for people who cannot use a mouse, and reduced usability for those expert keyboard users. A person who is blind is very unlikely to use a mouse (though it&#8217;s not impossible). As common sense as this might seem, missing keyboard functionality is a very common barrier. Developers are often mouse users themselves, and it may not even occur to them that some people can&#8217;t use a mouse. </p> <p>An easy way to check for keyboard accessibility, is to navigate through a page using only the Tab key. Any functional elements that do not receive focus when navigating with the Tab key, are probably going to be inaccessible to many people. </p> <p>In The Accessibility Maze you would have had a similar experience getting through Level 4. In the game you are using the keyboard throughout, which may be new to you if you&#8217;re a typical mouse user, then suddenly the keyboard no longer functions. </p> <p>When you reached the room with the bubbles, you may have experienced a moment of &#8220;now what!&#8221; Your keyboard no longer worked, and there was no tool or device in the level to pop the bubbles. You eventually figured it out, perhaps even before the clues, but that moment would have been much like that that a screen reader user experiences when encountering an interactive element on a web page that only functions with a mouse. Perhaps some confusion, maybe even anger sets in. Screen reader users will have these moments often. </p> </div></div>
<div class="chapter standard" id="chapter-meaningful-visual-content-is-described-with-text" title="Meaningful visual content is described with text"><div class="chapter-title-wrap"><h3 class="chapter-number">3</h3><h2 class="chapter-title">Meaningful visual content is described with text</h2></div><div class="ugc chapter-ugc"><hr /> <p>When visual elements such as graphics, photos, charts, and graphs, among other things, are presented in web content, the meaningful information in that visual must be described in text to make it accessible to people who cannot see the image. <img src="http://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/noun_art-list_2272733.png" alt="" class="wp-image-74 alignright" width="135" height="135" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_art-list_2272733.png 700w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_art-list_2272733-300x300.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_art-list_2272733-150x150.png 150w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_art-list_2272733-65x65.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_art-list_2272733-225x225.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_art-list_2272733-350x350.png 350w" /></p> <p>Images first require a short text description, up to 125 characters, that describes briefly the key meaning one might expect a person to take away from viewing the image. What gets described often depends on the context. Describing a graph in a statistics course, may differ from the description of that very same graph in a social science course, for example. One perhaps describing the structure of the graph for a stats audience, and the other describing the data being represented for a social science audience.</p> <p>Text descriptions are usually added with the &#8220;alt&#8221; attribute for an image element, like that presented below.</p> <p>&nbsp;</p> <div style="border-width: 5px 5px 5px 15px;border-color: #4a86e8;border-style: solid;padding: 1em"><p><strong>Technical Details: Text Description with Alt</strong></p> <p>&lt;img src=&#8221;/images/bobthecat.jpg&#8221; alt=&#8221;A picture of my cat Bob.&#8221; /&gt;</p> </div> <p>There are other ways to add a text description to an image, but alt text is sure to be supported by all available screen readers. Other ways of describing an image may involve using an &#8220;aria-label&#8221; attribute that has text equivalent to what might appear as alt text, or an &#8220;aria-labelledby&#8221; attribute that refers to the ID of an element elsewhere on the page that contains the description. These latter methods using ARIA, though there use is encouraged, are relatively new and may not be supported across all available technologies. When these are used, for the time being, duplicate alt text should also be provided. The examples below, demonstrate how ARIA attributes can be used to describe an image, but with alt text as a backup if the ARIA fails.</p> <p>&nbsp;</p> <div style="border-width: 5px 5px 5px 15px;border-color: #4a86e8;border-style: solid;padding: 1em"><p><strong>Technical Details: Text Description with aria-label</strong></p> <p>&lt;img src=&#8221;/images/bobthecat.jpg&#8221; alt=&#8221;A picture of my cat Bob.&#8221; aria-label=&#8221;A picture of my cat Bob&#8221; /&gt;</p> </div> <p>Or</p> <div style="border-width: 5px 5px 5px 15px;border-color: #4a86e8;border-style: solid;padding: 1em"><p><strong>Technical Details: Text Description with aria-labelledby</strong></p> <p>&lt;img src=&#8221;/images/bobthecat.jpg&#8221; alt=&#8221;A picture of my cat Bob.&#8221; aria-labelledby=&#8221;bobdescription&#8221; /&gt;</p> <p>&lt;p id=&#8221;bobdescription&#8221;&gt;This is a picture of Bob, my cat.&lt;p&gt;</p> </div> <p>Most web content authoring tools will have a field available when adding an image to include a text description. It may be referred to as &#8220;Alt text&#8221;, though some tools may call it a title or a description, or something else.</p> <p>If an image requires more description than can fit in 125 characters, a longer description can be provided in addition to the alt text. This may be a few sentences in a surrounding paragraph text, or perhaps in a figure caption. This longer description could be referenced in the alt text by adding words like &#8220;&#8230;as described below&#8221; to refer to the location of the description. Or, aria-labelledby might be used to associate the text of a paragraph (or whatever element contains the description) with the image, which gets read automatically by current screen readers when an image has focus, without having to navigate to the description.</p> <p>NOTE: You may come across the HTML &#8220;longdesc&#8221; attribute, which was intended to refer to a URL location where a long description for an image is located. Avoid using this attribute for long descriptions. It is not supported in current browsers and assistive technologies.</p> <p>In The Accessibility Maze you would have experienced the need for a text alternative in Level 1. The combination to open the lock is the cat&#8217;s name, but the name on the cat&#8217;s collar is not visible because ink was spilled over the area where the name appears. You are essentially blind for a moment, not being able to see the meaningful information in the image. The name of the cat on the back of the photo, acts as the text alternative, presenting the meaningful information in the image that sighted users would normally be able to read.</p> </div></div>
<div class="chapter standard" id="chapter-content-is-structured-with-proper-headings-and-list-elements" title="Content is structured with proper headings and list elements."><div class="chapter-title-wrap"><h3 class="chapter-number">4</h3><h2 class="chapter-title">Content is structured with proper headings and list elements.</h2></div><div class="ugc chapter-ugc"><hr /> <p>When authoring web content it is important to use proper HTML headings to create a semantically meaningful document structure, organizing topics and subtopics so their relationships are easily determined through the sequence of headings.<img src="http://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/noun_repetition_470329.png" alt="" class="wp-image-81 alignright" width="147" height="147" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_repetition_470329.png 700w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_repetition_470329-300x300.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_repetition_470329-150x150.png 150w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_repetition_470329-65x65.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_repetition_470329-225x225.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_repetition_470329-350x350.png 350w" /></p> <p>Headings should be arranged in sequence, without skipping levels. That is an H1 should always be followed by an H2, or another H1, but not followed by an H3 or H4 etc. Generally a document should have one H1 for the main title, followed by H2 for the main topics, and H3 for subtopics within each of the main topics. The following sequence of headings provide a proper semantic structure:</p> <p>&nbsp;</p> <div style="border-width: 5px 5px 5px 15px;border-color: #4a86e8;border-style: solid;padding: 1em"><p><strong>Technical Details: Semantically arrange headings</strong></p> <p>&lt;h1&gt;Main Document Title&lt;/h1&gt;</p> <p>&lt;h2&gt;First topic&lt;/h2&gt;</p> <p>&lt;h3&gt;Subtopic of the first topic&lt;/h3&gt;</p> <p>&lt;h4&gt;Subtopic of the first subtopic of the first topic&lt;/h4&gt;</p> <p>&lt;h2&gt;Second topic&lt;/h2&gt;</p> <p>&lt;h3&gt;Subtopic of the second topic&lt;/h3&gt;</p> <p>&lt;h4&gt;Subtopic of the first subtopic of the second topic&lt;/h4&gt;</p> </div> <p>For screen reader users a proper heading structure can provide an overview of the topics and subtopics on a page before deciding to read the content contained there. Headings also provide screen reader users with an additional means to navigate a webpage. A screen reader can list all the headings on a page, and if a user so chooses, can jump to any one of the headings and begin reading from there. Without proper headings, a user may be forced to read through all the content to find a relevant section, without the option to jump directly to that section if a proper heading had been provided.</p> <p>The visual appearance of headings should not be created using typical paragraph text styled to look large and bold. Though for a sighted person this may provide the visual appearance of structure, for screen reader users this text is not semantically different from other paragraph text. And, large bold text cannot be listed with a screen reader&#8217;s list headings feature, and cannot be used for navigating through the content. </p> <p>Likewise, HTML heading markup should not be used to create large bold text, if for instance an author wanted to highlight an important statement in the text. Using a heading for this purpose upsets the semantic structure of a document, and will often lead to confusion or difficulty understanding when a heading appears where one is not expected. </p> <p>A common accessibility error occurs when web content developers choose headings based on their size. For instance an H2 may appear too large, so the author opts for an H3 which is slightly smaller and perhaps fits the overall design of a document. As a result the document structure is upset. Instead use an H2 as expected, and style it to appear smaller, to fit the document design. </p> <p>Structure is also provided in web content when lists are formatted with proper HTML list elements, as opposed to creating a series of short paragraphs with an asterisk or a number at the start of each. When proper list markup is used, screen readers will announce the list, and the number of items in the list. While navigating through the list, they will often announce the position of a focused list item within the full list (e.g. &#8220;item 4 of 7&#8221;). These list structures help users comprehend. Without them it can be more difficult to understand a series of items as a list, and to recall them afterwards.</p> </div></div>
<div class="chapter standard" id="chapter-link-text-describes-the-destination-or-function-of-the-link" title="Link text describes the destination or function of the link"><div class="chapter-title-wrap"><h3 class="chapter-number">5</h3><h2 class="chapter-title">Link text describes the destination or function of the link</h2></div><div class="ugc chapter-ugc"><hr /> <p><img src="http://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/noun_link_538033.png" alt="" class="wp-image-79 alignright" width="120" height="120" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_link_538033.png 700w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_link_538033-300x300.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_link_538033-150x150.png 150w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_link_538033-65x65.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_link_538033-225x225.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_link_538033-350x350.png 350w" /></p> <p>When users encounter links, it is important that the text of the link be meaningful enough to allow them to decide whether to follow the link or not. Ideally link text should be the title of the page the link leads to, or the title of the article or document the link opens. Paraphrasing is also possible if link text needs to be shortened, but users should be able to make the connection between the meaning in the link text and the meaning in the resulting page title so they can confirm they&#8217;ve reached the expected web page or document.</p> <p>You have likely encountered &#8220;<strong>click here</strong>&#8221; links, or other meaningless terms or phrases used as links, while using websites. These links on their own provide no useful information about the destination of the link. These links make it more difficult for all users, disability or not, to determine where the link leads to. Accessibility reviewers often cringe when they see these links. They are a dead give away that the author or developer is not attending to accessibility.</p> <p>There are occasions when meaningless text can be used, but only when the surrounding context provides the meaning. You might encounter such cases on news websites with a collection of headlines, each followed by a brief introduction to the article, followed by a &#8220;more&#8221; link a user can follow to read the full article. In this case, if the headline itself is a link to the article, it will typically be read just before the &#8220;more&#8221; link gets read. As a result users will usually be able to make the connection between the two links. Context does not include describing where the link leads in the surrounding text. In such a case a user would have to exit the link list and search through the surrounding text to figure out where the link leads, resulting in unnecessary effort.</p> <p>Though it is acceptable to use meaningless links when context adds meaning, it is still better for link text to be meaningful on its own. Screen readers can list the links on a page, much like they can list headings. They can also sort links alphabetically to help users find a particular link based on its first letters. In such a case a user might end up with a long list of &#8220;more, more more&#8221; links, that no longer have context to add meaning.</p> </div></div>
<div class="chapter standard" id="chapter-content-is-understandable-by-a-grade-9-student-where-possible" title="Content is understandable by a grade 9 student, where possible."><div class="chapter-title-wrap"><h3 class="chapter-number">6</h3><h2 class="chapter-title">Content is understandable by a grade 9 student, where possible.</h2></div><div class="ugc chapter-ugc"><hr /> <p><img src="http://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/noun_know_2922536.png" alt="" class="wp-image-77 alignright" width="132" height="132" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_know_2922536.png 700w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_know_2922536-300x300.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_know_2922536-150x150.png 150w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_know_2922536-65x65.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_know_2922536-225x225.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_know_2922536-350x350.png 350w" /></p> <p>As a general rule content created for the public should be written with a level of language that can be understood by a grade 9 student, or younger, on first reading. This generally means using more common words, shorter sentences, rewording more complex terms, and words with fewer syllables. A number of tools are available on the Web for determining reading level. Follow the link below, and try pasting some text into the tool (like this paragraph) to see the reading level required to understand it effectively. </p> <p>&nbsp;</p> <div style="border-width: 5px 5px 5px 15px;border-color: #6aa84f;border-style: solid;padding: 1em"><strong>Tools:</strong> <span class="c7"><a class="c3" href="https://www.google.com/url?q=https://www.webfx.com/tools/read-able/&amp;sa=D&amp;ust=1580832611810000">WebFX Readability Test Tool</a></span></div> <p>Even well educated readers appreciate simpler language over unnecessary use of more complex language. Simpler language will make text more readable to less educated readers, or readers with reading or cognitive disabilities. It also makes it easier for those reading in a second language to translate the text to their primary language.</p> <p>Of course, for audiences other than the general public, write to the level of language appropriate for that audience, but do watch for language that could be simplified. </p> </div></div>
<div class="chapter standard" id="chapter-text-contrasts-well-over-any-background-colours-or-images" title="Text contrasts well over any background colours or images"><div class="chapter-title-wrap"><h3 class="chapter-number">7</h3><h2 class="chapter-title">Text contrasts well over any background colours or images</h2></div><div class="ugc chapter-ugc"><hr /> <p>Good contrast makes text more readable for everyone. For those with poor vision or some forms of colourblindness, good contrast can be the difference between being able to read content, or not.<img src="http://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/noun_Contrast_1445093.png" alt="" class="wp-image-76 alignright" width="141" height="141" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Contrast_1445093.png 700w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Contrast_1445093-300x300.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Contrast_1445093-150x150.png 150w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Contrast_1445093-65x65.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Contrast_1445093-225x225.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Contrast_1445093-350x350.png 350w" /></p> <p>For typical 10 or 12 point paragraph text like that you are reading right now, the minimum contrast ratio must be 4.5:1. That is the foreground text is at least 4.5 times brighter than the background (or visa versa), technically referred to as luminosity. Larger text, like 18 point or larger, perhaps bolded, requires a luminosity contrast ratio of 3:1 or greater. </p> <p>The highest contrast (i.e. black on white) is 21:1. Though the minimum contrast ratios mentioned above are sufficient to pass an accessibility review, they are minimums. Ideally contrast ratios should be higher than the minimum where possible. </p> <p>You may notice, however, that white text on a black background, though having the same contrast ratio as black on white, is more difficult to read for most users.</p> <div style="background-color: black;padding: 1em"><p style="color: white">This is due to the eye&#8217;s reaction to the dark background that is reflecting less light, and white text that is reflecting more light, causing the light to scatter more than it would from black text.</p> <p style="color: lightgrey">When the text is light grey, it reflects less light, making it more readable than the same white text over the black background.</p> </div> <p>So, despite the contrast ratios being the same when dark and light foreground and background colours are switched, when choosing colours, it is generally better to have darker text over a lighter background. </p> <p>When images are used as a background, which may have a variety of darker and lighter colours throughout, it is important to ensure that the text over that background does not lose its contrast when the screen size or resolution changes, and the text floats over a different part of the image. If images are being used as backgrounds, be sure to test contrast with different screen sizes, and resolutions. If text loses its contrast when the screen size changes, an opaque background colour might be used behind the text, so the text always appears over the same background colour, regardless of where it might be positioned over the image in behind the opaque background.</p> <h3>Testing for colour contrast</h3> <p>Colour contrast is tested by comparing two colour hex codes (e.g #ffffff for white and #000000 for black). Some tools will also test RGB triplet values (e.g. 255, 145, 125). To find colour codes, you can right click on an element in a web page that you want the colour code for, then choose &#8220;Inspect&#8221; from the right click context menu. In the panel that opens, scan through the styles panel to find the colour codes. You may need to click through elements in the HTML panel to bring up the text and background colours, which are often associated with different elements. Paste the codes into a contrast checker, like the one below from WebAIM.</p> <div style="border-width: 5px 5px 5px 15px;border-color: #6aa84f;border-style: solid;padding: 1em"><p><strong>Tools: </strong><span class="c7"><a class="c3" href="https://webaim.org/resources/contrastchecker/">WebAIM Contrast Checker</a></span></p> </div> </div></div>
<div class="chapter standard" id="chapter-multimedia-with-spoken-dialogue-has-captions-and-a-transcript" title="Multimedia with spoken dialogue has captions (and a transcript)"><div class="chapter-title-wrap"><h3 class="chapter-number">8</h3><h2 class="chapter-title">Multimedia with spoken dialogue has captions (and a transcript)</h2></div><div class="ugc chapter-ugc"><hr /> <p>Captions should be provided for all video that has meaningful spoken dialogue in it, so people who are deaf or have significant hearing loss, are able to get the same meaningful information from the video that those who can hear receive.<img src="http://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/noun_Subtitles_713226.png" alt="" class="wp-image-91 alignright" width="131" height="131" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Subtitles_713226.png 700w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Subtitles_713226-300x300.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Subtitles_713226-150x150.png 150w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Subtitles_713226-65x65.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Subtitles_713226-225x225.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Subtitles_713226-350x350.png 350w" /></p> <p>Though captions are the only requirement for multimedia content to pass an accessibility review, it is also a good idea to provide a transcript when possible. A simple transcript is easily created by removing the time stamps from a closed caption file.</p> <p>In addition to making audio accessible to people who are deaf, captions make it possible for people in a noisy environment, perhaps watching a sporting event at a bar, to read the dialogue from the announcers, Or in a quiet environment, in bed with a sleeping partner, watching the end of a movie with the volume turned down. Captions also make it possible for search engines to index video, thus making it possible to search for particular terms or phrases within the video.</p> <p>If you&#8217;ve ever watched YouTube videos with captions on, you may have noticed that auto-generated captions can be found with many videos. While auto-generated captions are preferable over no captions, video producers should never rely on them to provide an accurate account of the dialogue in the video. Depending on a variety of factors, auto-generated captions can contain many errors, sometimes to the point of absurdity or offensiveness. Auto-generated captions are okay in a pinch, where a video posting is time sensitive, but they can only be a temporary measure, with captions created by a human added as soon as possible.</p> <p>Many multimedia authoring tools will have tools for adding captions. YouTube also has tools for creating captions. On YouTube it can be helpful to use the auto-generated captions it creates, as a starting point for human generated captions. Depending on the number of errors in the auto generated captions, up to about 30%, a human can correct the errors manually, to produce accurate captions. Beyond about 30% errors, it is generally more efficient to start over. </p> <p>A useful tool for anyone wanting to caption video, is the Amara Subtitle Editor. Create an account, login, and experiment with the editor by pasting the URL to an uncaptioned video, perhaps one from YouTube. Though a little time consuming in the beginning, it does not take long to develop a routine using the editor, so caption files can be generated fairly quickly. A common file format for captions is a &#8220;.srt&#8221; file. These are text based files with timestamps and the text of the captions, that can be uploaded or imported into a video to add captions. And, to strip out the timestamps to create a transcript.</p> <p>&nbsp;</p> <div style="border-width: 5px 5px 5px 15px;border-color: #6aa84f;border-style: solid;padding: 1em"><p><strong>Tools: </strong><a class="c3" href="https://amara.org">Amara Subtitle Editor</a></p> </div> </div></div>
<div class="chapter standard" id="chapter-use-accessibility-checkers" title="Use accessibility checkers"><div class="chapter-title-wrap"><h3 class="chapter-number">9</h3><h2 class="chapter-title">Use accessibility checkers</h2></div><div class="ugc chapter-ugc"><hr /> <p><img src="http://pressbooks.library.ryerson.ca/rbweb/wp-content/uploads/sites/107/2020/02/noun_Check_1043035.png" alt="" class="wp-image-75 alignright" width="126" height="126" srcset="https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Check_1043035.png 700w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Check_1043035-300x300.png 300w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Check_1043035-150x150.png 150w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Check_1043035-65x65.png 65w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Check_1043035-225x225.png 225w, https://pressbooks.library.ryerson.ca/a11ygame/wp-content/uploads/sites/107/2020/02/noun_Check_1043035-350x350.png 350w" />For web content there are many web-based accessibility checkers, as well as browser based plugins that will check for accessibility errors in HTML content. Though these tools are a good first step for identifying potential barriers in web content, there is much variation in coverage and accuracy across the many tools available. It is generally a good idea to test with at least a couple. Even when multiple checkers are used, there are a variety of potential barriers that automated checkers cannot identify with any certainty. In general, any issues that involve meaning, will require a human to make a decision. For example, all accessibility checkers can determine whether an image has alt text or not, but none of them can tell if alt text accurately describes its associated image.</p> <p>Here are a few accessibility checkers you can try:</p> <div style="border-width: 5px 5px 5px 15px;border-color: #6aa84f;border-style: solid;padding: 1em"><p><strong>Tools:</strong></p> <p>Web-Based</p> <ul class="c8 lst-kix_mxvhf7eko8oj-0 start"><li><a href="https://achecker.ca/checker/index.php">AChecker</a></li> <li><a href="https://wave.webaim.org/">WAVE</a></li> <li><a href="https://tenon.io/">Tenon</a></li> </ul> <p>Chrome Browser Plugins</p> <ul class="c8 lst-kix_31lhs4cw89ok-0 start"><li><a href="https://chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk?hl%3Den">Lighthouse</a></li> <li><a href="https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd">aXe</a></li> <li><a href="https://chrome.google.com/webstore/detail/siteimprove-accessibility/efcfolpjihicnikpmhnmphjhhpiclljc">SiteImprove</a></li> </ul> <p>FireFox Browser Plugins</p> <ul><li><a href="https://addons.mozilla.org/en-CA/firefox/addon/lighthouse-report-generator/">Lighthouse</a></li> <li><a href="https://addons.mozilla.org/en-CA/firefox/addon/axe-devtools/?src%3Dsearch">aXe</a></li> <li><a href="https://addons.mozilla.org/en-CA/firefox/addon/digital-certainty-index/?src%3Dsearch">SiteImprove</a></li> </ul> </div> <p>Many current document authoring tools have accessibility checkers built into them, though sometimes they get buried in a sub menu. Be sure to look for an accessibility checker in whatever authoring tool you are using, and run it to identify any accessibility problems that might be in your document.</p> <p>Microsoft Word and Adobe Acrobat Pro have fairly good accessibility checkers built in, that should be run, and necessary adjustments made to the content, before making a document available publicly. Other Microsoft and Adobe products have accessibility checkers as well. The ones mentioned here are the most commonly used.</p> </div></div>
<div class="back-matter appendix" id="back-matter-appendix" title="Want to Learn More?"><div class="back-matter-title-wrap"><h3 class="back-matter-number">1</h3><h1 class="back-matter-title"><span class="display-none">Want to Learn More?</span></h1></div><div class="ugc back-matter-ugc"><p>Read, and share, free OER accessibility ebooks from The Chang School.</p> <ul><li><a href="https://pressbooks.library.ryerson.ca/iwacc/">Introduction to Web Accessibility</a></li> <li><a href="https://pressbooks.library.ryerson.ca/pwaa/">Professional Web Accessibility Auditing Made Easy</a></li> <li><a href="https://pressbooks.library.ryerson.ca/dabp/">Digital Accessibility as a Business Practice</a></li> <li><a href="https://pressbooks.library.ryerson.ca/wafd/">Web Accessibility for Developers</a></li> <li><a href="https://pressbooks.library.ryerson.ca/docs/">Understanding Document Accessibility</a></li> </ul> <p>Enrol in The Chang School Accessibility Courses.</p> <ul><li><a href="https://continuing.ryerson.ca/search/publicCourseSearchDetails.do?method%3Dload%26courseId%3D258041">Web Accessibility Auditing and Reporting</a></li> <li><a href="https://continuing.ryerson.ca/search/publicCourseSearchDetails.do?method%3Dload%26courseId%3D258107">Web Accessibility for Developers</a></li> </ul> <p>Cover barrier image source:</p> <p><a href="https://www.publicdomainpictures.net/en/view-image.php?image=220010&amp;picture=barrier">Barrier Free Stock Photo</a></p> </div></div>

</body>
</html>