{
    "componentChunkName": "component---src-templates-blog-post-tsx",
    "path": "/blog/2016-05-19-accessibility-why-it-matters/",
    "result": {"data":{"blogPost":{"title":"Accessibility & Why it Matters","slug":"/blog/2016-05-19-accessibility-why-it-matters/","authorNodes":[{"name":"Stephanie Riera","slug":"/people/stephanie-riera/"}],"markdown":{"html":"<p>In honor of <a href=\"http://www.globalaccessibilityawarenessday.org/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">GAAD</a> (Global Accessibility Awareness Day), I interviewed a developer who is active in the accessibility community to gain some insights on the importance of web accessibility.</p>\n<p>Applying for jobs, registering your vehicle, selecting classes for the next school semester, and other tasks can become close to impossible if you have no access to the internet. Imagine for a second that you had no access to Google, Netflix, and dank memes. This sucks. Now let's imagine you couldn't use your computer's mouse or trackpad. How would you navigate the page or click on an image? Life would suck, royally. This is the reality for a population of internet users.</p>\n<h3 id=\"what-is-accessibility\" style=\"position:relative;\"><a href=\"#what-is-accessibility\" aria-label=\"what is accessibility permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>What is accessibility?</h3>\n<p><a href=\"https://en.wikipedia.org/wiki/Accessibility\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Accessibility</a> refers to the design of products, devices, services, or environments for people who experience disabilities. Usability affects from the blind and color blind to the deaf and seizure prone. People in developing countries use the internet but may not necessarily know English. A site with poor usability makes it challenging for the elderly and those with motor skills disabilities to use.</p>\n<figure alt=\"Blind students enjoying computer games at Techshare India 2012\">\n  <img src=\"/img/2016-05-19-accessibility-why-it-matters_students.jpg\">\n</figure>\n([Image][3]:  Blind students enjoying computer games at Techshare India 2012)\n<p>Federal websites must adhere to Section <a href=\"http://www.section508.gov/content/learn/laws-and-policies\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">508</a> which is a law that states Government sites must be accessible for people with disabilities. Some sites follow the <a href=\"www.ada.gov\">ADA</a> (Americans with Disabilities Act) guidelines loosely but the majority of websites could make a concerted effort to improve.</p>\n<h4 id=\"the-dialogue-is-just-not-there\" style=\"position:relative;\"><a href=\"#the-dialogue-is-just-not-there\" aria-label=\"the dialogue is just not there permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>The dialogue is just not there.</h4>\n<p>And it's unfortunate. You'd think that with the current tech boom more developers and startups would pay attention to accessibility. The fact of the matter is, unless you have a disability or are directly affected by a family member with one, chances are you've never given it much thought. Even I didn't learn about web accessibility while I was studying web development.</p>\n<figure alt=\"Google Trends graph of web accessibility and guidelines over time, captured May 16, 2012\">\n  <img src=\"/img/2016-05-19-accessibility-why-it-matters_accessibility-chart.png\">\n</figure>\n([Image][6]: Google Trends graph of web accessibility and guidelines over time, captured May 16, 2016)\n<p>Despite the lack of awareness, this leaves room for opportunity. Accessibility applications can be expensive and have a steep learning curve. There is an untapped market with both native and web accessibility applications that have capacity for great improvement.  The value you contribute through innovation and open source software is limitless.</p>\n<h3 id=\"why-does-making-my-site-accessible-matter\" style=\"position:relative;\"><a href=\"#why-does-making-my-site-accessible-matter\" aria-label=\"why does making my site accessible matter permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Why does making my site accessible matter?</h3>\n<p>The UN Convention on the Rights of Persons with Disabilities recognizes access to information and communications technologies, including the Web, as a <strong>basic <a href=\"http://www.un.org/disabilities/convention/conventionfull.shtml\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">human right</a>.</strong></p>\n<p>The internet has become more than humanity's encyclopedia. Cultural and social behaviors bubble out of the world wide web and become elements of today's society. The internet provides a medium for people with disabilities to interact. Everyone benefits when we <em>support social inclusion for all.</em> Tech is integrated in our culture and everyday life. Let’s try an experiment. For the next 30 seconds, navigate any webpage you want (this article can wait), and try navigating without a mouse. Hit tab and enter. See what it’s like to click links, fill in a form, whatever you like. Or better yet, if you have 3 or 4 minutes, turn on <a href=\"http://webaim.org/articles/voiceover/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">VoiceOver</a>, and navigate with just the audio. Use a screen reader with voice recognition if you're feeling lucky.</p>\n<p>By just taking those few seconds or couple of minutes, you can empathize with an entire world of users whose experience on the web is completely different from our own. And in the end, isn’t creating great experiences what software development is all about? This insight not only makes you a better developer but paves the way for building better UX. Beautifully designed sites avoid unnecessary noise and are navigable. Elegant applications incorporate architecture that flows and actions that are clear. Together we can make web accessible by default, the <em>standard</em>.</p>\n<h4 id=\"alright-how-do-i-start-making-my-site-accessible\" style=\"position:relative;\"><a href=\"#alright-how-do-i-start-making-my-site-accessible\" aria-label=\"alright how do i start making my site accessible permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Alright, how do I start making my site accessible?</h4>\n<p>It's easier if you start putting thought into the site structure and picking colors from day one. Consider the flow of the site, would you be able to navigate through it if you were drunk? Test your colors with a contrast checker and start adding links to skip repetitive content. Imagine a screen reader describing the Facebook navigation every time you load the page. After the fifth time, you'd know the messages icon goes right after the friend requests.</p>\n<p>Make sure you’re being semantic with your HTML tags. Use an actual <code class=\"language-text\">&lt;button></code> element and divert from doing this:\n<code class=\"language-text\">&lt;div class=\"button\" {{action\"showModal\"}}>Open Modal&lt;/div></code>\nIf you are in the practice of using <code class=\"language-text\">&lt;div></code> be cautious because the DOM doesn't recognize hierarchy. Divs and <code class=\"language-text\">&lt;span></code> should be used for styling, else a screen reader won't recognize a header and won't read it. If you <strong>must</strong> use a div as a button, please us the <code class=\"language-text\">role</code> attribute. This is a last resort.</p>\n<hr>\n<p><a href=\"https://www.w3.org/TR/UNDERSTANDING-WCAG20/intro.html\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">WCAG</a> 2.0 principle: Perceivable, Operable, Understandable or Robust</p>\n<hr>\n<p>Never use a timeout because the user won't be able to get to the content in time and it turns into a videogame that you must master to get to the next page. Make use of checkboxes or radio buttons. Add labels for your forms and tables. An added benefit from making your site accessible is that it overlaps with other best practices such as mobile web design, search engine optimization (SEO), and usability.</p>\n<h4 id=\"here-are-couple-tools-you-can-start-playing-with\" style=\"position:relative;\"><a href=\"#here-are-couple-tools-you-can-start-playing-with\" aria-label=\"here are couple tools you can start playing with permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Here are couple tools you can start playing with:</h4>\n<ul>\n<li><a href=\"https://chrome.google.com/webstore/detail/axe/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">aXe</a> is chrome extension that provides quick accessibility testing.</li>\n<li><a href=\"http://achecker.ca/checker/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">AChecker</a> is available if you're not a fan of chrome extensions. <em><em>Note: If you have a single page app it won't work.</em></em></li>\n<li><a href=\"http://www.contrastchecker.com\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">ContrastChecker</a>- does just that.</li>\n<li><a href=\"http://wave.webaim.org/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">WAVE</a> (Web Accessibility Evaluation Tool) also offers a Chrome <a href=\"http://wave.webaim.org/extension/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">extension</a>.</li>\n<li><a href=\"https://github.com/paypal/AATT\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">AATT</a>, Automated Accessibility Testing Tool helps you integrate accessibility testing into your existing automation test suite.</li>\n</ul>\n<p>If you're seeking a wiki style run through of best practices, I highly recommend <a href=\"https://www.w3.org/WAI/gettingstarted/Overview.html\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">W3C</a> (Web Accessibility Initiative), they have compiled strategies, guidelines, and resources on accessibility. Stanford University has generated <a href=\"https://soap.stanford.edu/tips-and-tools/tips\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">SOAP</a> (Stanford Online Accessibility Program) to provide resources for designers, developers and content creators. Hopefully these resources will make it easier to transition to building sites that are sophisticated, accessibility friendly and most importantly inclusive.</p>\n<h6 id=\"you-tha-real-mvp\" style=\"position:relative;\"><a href=\"#you-tha-real-mvp\" aria-label=\"you tha real mvp permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>You tha real MVP</h6>\n<p>I'd like to thank Robert DeLuca for taking the time from his schedule to allow me to interview him on accessibility. Rob is a Frontend developer and a contributor to <a href=\"https://www.npmjs.com/package/ember-a11y\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">ember-a11y</a>, an open source initiative to create Ember addons that help make accessibility default.\nHe's also created awesome applications like <a href=\"https://github.com/Robdel12/DropKick\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">DropKick</a>, a plugin for creating beautiful, accessible, and painless custom dropdowns. You can find him on the Twitterverse <a href=\"https://twitter.com/robdel12\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">(@robdel12)</a> or talk accessibility on the Ember Slack (@robdel12).</p>\n<hr>\n<p>I’m Stephanie Riera <a href=\"https://twitter.com/stefriera\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">(@stefriera)</a>, and I build web applications for a living at The Frontside. If you enjoyed this, I'd love to hear from you! Shoot me a line at stephanie@frontside(dot)io.</p>","frontmatter":{"date":"May 19, 2016","description":null,"tags":["code","frontside","accessibility","web accessibility","disability","gaad","ember-a11y"],"img":{"childImageSharp":{"fixed":{"src":"/static/7d251d688aa74bcfc79714a1b55df7d5/bd22c/2016-05-19-accessibility-why-it-matters_gaad.jpg"}}}}}}},"pageContext":{"id":"e6fcf12d-4ad3-5127-89bb-2a4808ef376a"}},
    "staticQueryHashes": ["1241260443"]}