<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Madalyn Rose Parker</title>
    <description>The latest articles on DEV Community by Madalyn Rose Parker (@madalynrose).</description>
    <link>https://dev.to/madalynrose</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F260663%2F622ea4e4-0cd2-41d6-b4cf-10f5324150ae.jpg</url>
      <title>DEV Community: Madalyn Rose Parker</title>
      <link>https://dev.to/madalynrose</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/madalynrose"/>
    <language>en</language>
    <item>
      <title>5 Things You Need to Know About Manual Accessibility Testing with the Keyboard and Screen Readers</title>
      <dc:creator>Madalyn Rose Parker</dc:creator>
      <pubDate>Sat, 21 Dec 2019 00:20:47 +0000</pubDate>
      <link>https://dev.to/madalynrose/5-things-you-need-to-know-about-manual-accessibility-testing-with-the-keyboard-and-screen-readers-3512</link>
      <guid>https://dev.to/madalynrose/5-things-you-need-to-know-about-manual-accessibility-testing-with-the-keyboard-and-screen-readers-3512</guid>
      <description>&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; As part of the Manual Accessibility Testing Manual, this will cover keyboard testing with &lt;strong&gt;free&lt;/strong&gt; screen readers.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Keyboard testing is vital in ensuring a site is accessible.
&lt;/h2&gt;

&lt;p&gt;Accessibility of a site is determined based on the &lt;a href="https://www.w3.org/TR/WCAG20/#guidelines" rel="noopener noreferrer"&gt;Web Content Accessibility Guidelines (WCAG)&lt;/a&gt;. These rely on four principles that every accessible site should have, often referred to by the acronym "POUR":&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Perceivable&lt;/li&gt;
&lt;li&gt;Operable&lt;/li&gt;
&lt;li&gt;Understandable&lt;/li&gt;
&lt;li&gt;Robust&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;While automated tests can mostly verify that a site has perceivable content (e.g. color contrast meets standards, non-text content is presented with text alternatives, etc.), the majority of these principles rely on the actual experience of the site. &lt;/p&gt;

&lt;p&gt;The second principle, "Operable," explicitly calls out &lt;a href="https://www.w3.org/TR/WCAG20/#keyboard-operation" rel="noopener noreferrer"&gt;keyboard accessibility&lt;/a&gt;. In order to be WCAG compliant, a site must:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;make all content and functionality operable from the keyboard without special timing of strokes&lt;/li&gt;
&lt;li&gt;ensure there are no &lt;a href="https://www.w3.org/TR/UNDERSTANDING-WCAG20/keyboard-operation-trapping.html" rel="noopener noreferrer"&gt;keyboard traps&lt;/a&gt; (situations where focus can be moved to a component using the keyboard but cannot leave the component using the keyboard)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You'll need to test that manually. It also calls out &lt;a href="https://www.w3.org/TR/WCAG20/#navigation-mechanisms" rel="noopener noreferrer"&gt;navigation&lt;/a&gt; in general and gives explicit points that you can test against manually. The main one that will come into play here is &lt;a href="https://www.w3.org/WAI/WCAG21/Understanding/focus-order.html" rel="noopener noreferrer"&gt;focus order&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Keyboard testing will also help you identify violations in the &lt;a href="https://www.w3.org/TR/WCAG20/#consistent-behavior" rel="noopener noreferrer"&gt;"predictable"&lt;/a&gt; section of the "Understandable" principle. This section focuses mainly on preventing unexpected context changes. Context changes happen when content changes on a page without alerting the user, which can cause disorientation to someone unable to view the whole page at once. For example, think of chat boxes that autofocus your cursor when they have a new message. This is helpful to users who can see the entire page simultaneously, but would be confusing for a screen reader user who was previously navigating another part of the page.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The &lt;code&gt;tab&lt;/code&gt;, &lt;code&gt;space&lt;/code&gt;, &lt;code&gt;enter&lt;/code&gt;, &lt;code&gt;shift&lt;/code&gt;, and &lt;code&gt;pageup&lt;/code&gt;/&lt;code&gt;pagedown&lt;/code&gt; keys will get you &lt;strong&gt;most&lt;/strong&gt; of the way there.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;tab&lt;/code&gt; will take you to the next focusable element. &lt;code&gt;shift + tab&lt;/code&gt; will take you to the previous one.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;enter&lt;/code&gt; will "click" an interactive element&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;pageup&lt;/code&gt;/&lt;code&gt;pagedown&lt;/code&gt; or &lt;code&gt;shift + space&lt;/code&gt;/&lt;code&gt;space&lt;/code&gt; will scroll page content&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If there is an interactive or focusable element you cannot reach or select, debug from there to figure out why. Are there clear focus indicators on those elements? &lt;/p&gt;

&lt;h2&gt;
  
  
  3. Screen readers super power your keyboard.
&lt;/h2&gt;

&lt;p&gt;Your &lt;code&gt;tab&lt;/code&gt; key will continue to help you navigate the page, but as soon as you fire up your screen reader you will have a whole host of new ways to reach content.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Each screen reader has its own list of specialized shortcuts. &lt;a href="//www.deque.com"&gt;Deque&lt;/a&gt; has a nice &lt;a href="https://dequeuniversity.com/screenreaders/" rel="noopener noreferrer"&gt;consolidated list&lt;/a&gt; of shortcuts by platform and screen reader with a handy single-page cheat sheet for each. Their &lt;a href="https://dequeuniversity.com/screenreaders/survival-guide" rel="noopener noreferrer"&gt;survival guide&lt;/a&gt; is a great place to start.&lt;/li&gt;
&lt;li&gt;Across the board, screen readers have shortcuts that enable you to navigate by headings and tables. Windows screen readers additionally let you navigate by landmark/region. Navigating by landmarks in VoiceOver is possible, but takes an extra couple steps and will be covered later.&lt;/li&gt;
&lt;li&gt;Screen readers will also allow you to "navigate" what is being read, choosing to read as granularly as you'd like by paragraph, line, sentence, word, or even character.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're using VoiceOver, you'll have to use the VO (VoiceOver) keys (&lt;code&gt;Control + Option&lt;/code&gt;) a lot. I recommend either binding them to a single key on your keyboard or "locking" them using &lt;code&gt;Control + Option + ;&lt;/code&gt;. Locking the keys means they are implicitly pressed and you can invoke commands without them (e.g. &lt;code&gt;Control + Option + Command + H&lt;/code&gt; becomes &lt;code&gt;Command + H&lt;/code&gt; to reach the next heading). Narrator and NVDA also have modifier keys, which default to the &lt;code&gt;insert&lt;/code&gt; keys but can be changed in settings.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Screen Reader&lt;/th&gt;
&lt;th&gt;Headings&lt;/th&gt;
&lt;th&gt;Tables&lt;/th&gt;
&lt;th&gt;Landmarks&lt;/th&gt;
&lt;th&gt;Lists&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;NVDA&lt;/td&gt;
&lt;td&gt;&lt;code&gt;H&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;D&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;L&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VoiceOver&lt;/td&gt;
&lt;td&gt;&lt;code&gt;VO + Command + H&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;VO + Command + T&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;see below&lt;/td&gt;
&lt;td&gt;&lt;code&gt;VO + Command + X&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Narrator (while in scan mode using &lt;code&gt;Caps Lock + Space&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;H&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;D&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;K&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  4. The &lt;code&gt;find&lt;/code&gt; function is your friend.
&lt;/h2&gt;

&lt;p&gt;If you know what you're looking for, sometimes a page search is the easiest way to navigate to that content. Screen readers allow for finding keywords, which can be pretty powerful if you're looking for that "Contact" link or something even more particular without having to manually read the entire page. The commands are slightly different depending on the screen reader:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Screen Reader&lt;/th&gt;
&lt;th&gt;Open Find Dialog&lt;/th&gt;
&lt;th&gt;Find Next&lt;/th&gt;
&lt;th&gt;Find Previous&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;NVDA&lt;/td&gt;
&lt;td&gt;&lt;code&gt;NVDA modifier key + Control + F&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;NVDA modifier key + F3&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;NVDA modifier key + Shift + F3&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VoiceOver&lt;/td&gt;
&lt;td&gt;&lt;code&gt;VO + Shift + F&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;VO + down arrow&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;VO + up arrow&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Narrator&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Narrator modifier key + Control + F&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Narrator modifier key + F3&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Narrator modifier key + Shift + F3&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  5. Screen readers supply a summary of page elements to ease navigation.
&lt;/h2&gt;

&lt;p&gt;The implementation is slightly different for each screen reader, but they all allow you to access a list of page elements. They essentially pop up a consolidated menu of elements. You can then select what types of elements you'd like to list (e.g. landmarks, headings, links) and then quickly skip to those elements. This makes navigating a page really fast.&lt;/p&gt;

&lt;p&gt;This is helpful in testing for a few reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;you can ensure that all of the important information on your page correctly appears in that list&lt;/li&gt;
&lt;li&gt;you can choose how you would like to browse the page&lt;/li&gt;
&lt;li&gt;it approximates the experience of users who can visually scan the entire page to pick out the important information&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  NVDA
&lt;/h3&gt;

&lt;p&gt;NVDA calls this the &lt;a href="https://www.nvaccess.org/files/nvda/documentation/userGuide.html#ElementsList" rel="noopener noreferrer"&gt;Elements List&lt;/a&gt;. It can be pulled up using the &lt;code&gt;NVDA modifier key + F7&lt;/code&gt;. It defaults to showing a list of links. From there you can use the arrow keys to cycle through elements. If you'd like to change the type of elements you'd like to list, you can tab through until you reach the "Type" radio buttons, which allow selection of Links, Headings, Form Fields, Buttons, and Landmarks.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fajb4prikrncmdmfdrc61.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fajb4prikrncmdmfdrc61.png" alt="the UI for the Elements List showing a list of links for this blog post"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  VoiceOver
&lt;/h3&gt;

&lt;p&gt;In VoiceOver, menus for common actions like this are called "rotors", and this is called the &lt;a href="https://www.apple.com/voiceover/info/guide/_1134.html#mchlp2719" rel="noopener noreferrer"&gt;Web Item rotor&lt;/a&gt;. This is how you can navigate by landmark in VoiceOver. You can open the web item rotor by pressing &lt;code&gt;VO + U&lt;/code&gt;. Move through elements using the up and down arrow keys and select other types of items using the right and left arrow keys. This rotor includes links, headings, landmarks, sections, form controls, "web spots", and more. &lt;/p&gt;

&lt;p&gt;Web spots are groups of UI elements that VoiceOver has determined go together based on design. You can edit the list of web spots by removing web spots (&lt;code&gt;VO + Command + Shift + {&lt;/code&gt;), create new web spots (&lt;code&gt;VO + Command + Shift + }&lt;/code&gt;), and even set one as a "sweet spot" (&lt;code&gt;VO + Command + Shift + } + }&lt;/code&gt;) to have it always show up first in the list.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fkfc8neiwazkuxeh6dve7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fkfc8neiwazkuxeh6dve7.png" alt="VoiceOver web item rotor UI listing headings for this page"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Narrator
&lt;/h3&gt;

&lt;p&gt;Narrator calls this feature &lt;a href="https://support.microsoft.com/en-us/help/4462794" rel="noopener noreferrer"&gt;"Views"&lt;/a&gt;. You can switch between views using &lt;code&gt;Narrator modifier key + pageup&lt;/code&gt; and &lt;code&gt;Narrator modifier key + pagedown&lt;/code&gt; and navigate elements using &lt;code&gt;Narrator modifier key + left arrow&lt;/code&gt; and &lt;code&gt;Narrator modifier key + right arrow&lt;/code&gt;.  Types of Views include links, headings, landmarks, form fields, tables, paragraphs, lines, words, and characters. There isn't a graphical interface for Narrator Views so I don't have a picture of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. (Bonus!) Practice makes approximate.
&lt;/h2&gt;

&lt;p&gt;As you become more comfortable testing with your keyboard and screen reader, you will develop habits and fall into a groove for what works best for you. Keep in mind that your set of self-imposed constraints while testing will likely widely differ from those experienced by daily assistive technology users. Screen readers are highly customizable, meaning that every user could be using wildly different settings and workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Up Next
&lt;/h2&gt;

&lt;p&gt;There will be more posts in this series to equip you to manually test the accessibility of websites. For now, topics and timing are still up for discussion. &lt;/p&gt;

&lt;p&gt;I hope to cover topics like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Screen reader tips tricks&lt;/li&gt;
&lt;li&gt;Testing techniques and methods&lt;/li&gt;
&lt;li&gt;Other assistive technologies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What would you like to see? Do you have tips you'd like to share?&lt;/p&gt;

&lt;p&gt;Be sure to check out the first post in this series on &lt;a href="https://dev.to/madalynrose/getting-set-up-to-manually-test-web-accessibility-3gon"&gt;Getting Set Up to Manually Test Web Accessibility&lt;/a&gt;!&lt;/p&gt;

</description>
      <category>a11y</category>
      <category>testing</category>
      <category>keyboard</category>
    </item>
    <item>
      <title>Getting Set Up to Manually Test Web Accessibility</title>
      <dc:creator>Madalyn Rose Parker</dc:creator>
      <pubDate>Wed, 13 Nov 2019 20:37:29 +0000</pubDate>
      <link>https://dev.to/madalynrose/getting-set-up-to-manually-test-web-accessibility-3gon</link>
      <guid>https://dev.to/madalynrose/getting-set-up-to-manually-test-web-accessibility-3gon</guid>
      <description>&lt;h2&gt;
  
  
  The Basics
&lt;/h2&gt;

&lt;p&gt;When I sat down with my brand new work computer, I wanted to get set up to manually test accessibility using as many browsers as I could. This meant keeping in mind a few key things and going through some extra steps. These steps are for using free screen readers with a Mac development environment.&lt;/p&gt;

&lt;p&gt;I'm going to lay out:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Free Screen Readers&lt;/li&gt;
&lt;li&gt;Browser/Screen Reader combinations&lt;/li&gt;
&lt;li&gt;Extra configuration needed to test your project on different platforms&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;While this post will focus solely on setup, later posts in this series will cover other parts of accessibility manual testing.&lt;/p&gt;

&lt;p&gt;Please reach out if there are other topics you'd like to hear about!&lt;/p&gt;

&lt;h2&gt;
  
  
  Screen Readers
&lt;/h2&gt;

&lt;p&gt;Windows&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://support.microsoft.com/en-us/help/22798/windows-10-complete-guide-to-narrator" rel="noopener noreferrer"&gt;Narrator&lt;/a&gt; (made by Microsoft, pre-installed)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.nvaccess.org/about-nvda/" rel="noopener noreferrer"&gt;NVDA&lt;/a&gt; (most popular free solution)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;OSX&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://help.apple.com/voiceover/mac/10.15/" rel="noopener noreferrer"&gt;VoiceOver&lt;/a&gt; (made by Apple, pre-installed)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;iOS&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://support.apple.com/guide/iphone/turn-on-and-practice-voiceover-iph3e2e415f/ios" rel="noopener noreferrer"&gt;VoiceOver&lt;/a&gt; (made by Apple, pre-installed)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Android&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://support.google.com/accessibility/android/answer/6007100?hl=en&amp;amp;ref_topic=3529932" rel="noopener noreferrer"&gt;TalkBack&lt;/a&gt; (made by Google, pre-installed)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Browser/Screen Reader Besties
&lt;/h2&gt;

&lt;p&gt;When working on a11y at a previous company, I worked closely with a team at Microsoft. They recommended that I only test Internet Explorer with NVDA and Edge with Narrator. This notion of technology pairings is important for testing since some combinations do not play well together and some combinations aren't widely used.&lt;/p&gt;

&lt;p&gt;Below are pairings in order of usage (omitting paid screen readers) according to a September 2019 &lt;a href="https://webaim.org/projects/screenreadersurvey8/" rel="noopener noreferrer"&gt;survey&lt;/a&gt; of screen reader users:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;NVDA &amp;amp; Firefox&lt;/li&gt;
&lt;li&gt;NVDA &amp;amp; Chrome&lt;/li&gt;
&lt;li&gt;VoiceOver &amp;amp; Safari&lt;/li&gt;
&lt;li&gt;VoiceOver &amp;amp; Chrome&lt;/li&gt;
&lt;li&gt;NVDA &amp;amp; Internet Explorer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Narrator &amp;amp; Edge is not explicitly in the survey but I think it's still worth testing as Edge's adoption increases.&lt;/p&gt;

&lt;h2&gt;
  
  
  Extra configuration
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Browsers
&lt;/h3&gt;

&lt;p&gt;Safari requires an extra setting to allow keyboard navigation:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open up Preferences &amp;gt; Advanced in Safari&lt;/li&gt;
&lt;li&gt;check "Press Tab to highlight each item on a webpage" under the "Accessibility" section&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fq87r4si3i1f4riat79b5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fq87r4si3i1f4riat79b5.png" alt="Safari's Preferences window with "&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Mobile Devices
&lt;/h3&gt;

&lt;p&gt;If you have an IRL mobile device you'd like to use to test out mobile screen readers and other assistive apps you can reach localhost there too!&lt;/p&gt;

&lt;h4&gt;
  
  
  Android
&lt;/h4&gt;

&lt;p&gt;To access localhost from your Android device you'll need to do (more than) a few things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;First off, make sure your phone has developer options. You can do this by navigating to &lt;code&gt;Settings &amp;gt; System &amp;gt; About Phone&lt;/code&gt; and then tapping &lt;strong&gt;Build number&lt;/strong&gt; (the very bottom entry) &lt;strong&gt;seven&lt;/strong&gt; times.&lt;/li&gt;
&lt;li&gt;Now there should be a new list of settings under &lt;code&gt;Settings &amp;gt; System &amp;gt; Advanced &amp;gt; Developer Options&lt;/code&gt;. Go here and enable &lt;em&gt;USB Debugging&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Connect your device to your development machine via USB.&lt;/li&gt;
&lt;li&gt;From Chrome, access the remote devices panel in DevTools (under &lt;code&gt;More Tools &amp;gt; Remote Devices&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;You should see that there is a pending device at the top of the list of devices. Your phone should have a pop-up prompt asking you to accept remote debugging. Accept remote debugging from your phone.&lt;/li&gt;
&lt;li&gt;Now you need to enable Port Forwarding from Settings in the Remote devices tab in DevTools. (Settings are at the very bottom of the list of devices so you may have to scroll down to find them.) Check the box to enable it and then click the &lt;em&gt;Add Rule&lt;/em&gt; button to create a port for your phone to access what's in your browser. Type in the port you want to use on your phone on one side (e.g. &lt;code&gt;3000&lt;/code&gt;) and the local address you want to access from your computer (e.g. &lt;code&gt;localhost:9000&lt;/code&gt; for a served Gatsby site)&lt;/li&gt;
&lt;li&gt;Boom! If you go to &lt;code&gt;localhost:3000&lt;/code&gt; on your phone you'll see your site!&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;EDIT (Jan 9, 2020): Device settings used to be part of DevTools but are now conveniently located at &lt;code&gt;chrome://inspect/#devices&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  iOS
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Make sure both your device and your computer are on the same WiFi network.&lt;/li&gt;
&lt;li&gt;Make sure you specify the host as &lt;code&gt;0.0.0.0&lt;/code&gt; when you run your server. (e.g. &lt;code&gt;gatsby serve --host=0.0.0.0&lt;/code&gt;) &lt;/li&gt;
&lt;li&gt;On your Mac, go to &lt;code&gt;Settings &amp;gt; Sharing&lt;/code&gt;. You can find the address for your computer's localhost in fine print under where it says "Computer Name." It will be in the format of &lt;code&gt;computer-name.local&lt;/code&gt;. You can edit this address by clicking the "Edit..." button. (e.g. I changed mine to &lt;code&gt;gatsby.local&lt;/code&gt; so it would be easier to type on my device)&lt;/li&gt;
&lt;li&gt;On your iOS device, navigate to the address determined in the previous step with your port specified. (e.g. &lt;code&gt;gatsby.local:9000&lt;/code&gt;)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;NOTE: My device tried to fill in the URL by adding &lt;code&gt;www.&lt;/code&gt; at the beginning. If you're having trouble reaching your localhost, make sure there is no &lt;code&gt;www.&lt;/code&gt; in your address bar.&lt;/p&gt;

&lt;h3&gt;
  
  
  Virtual Environments
&lt;/h3&gt;

&lt;h4&gt;
  
  
  VirtualBox
&lt;/h4&gt;

&lt;p&gt;I downloaded a Windows 10 virtual machine from the &lt;a href="https://developer.microsoft.com/en-us/windows/downloads/virtual-machines" rel="noopener noreferrer"&gt;Windows Dev Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can access your host computer's localhost from &lt;code&gt;10.0.2.2&lt;/code&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  Parallels
&lt;/h4&gt;

&lt;p&gt;Parallels is a paid product, but since it requires extra configuration to access localhost I figured I'd cover that here too.&lt;/p&gt;

&lt;p&gt;When serving your site, make sure you are hosting it on &lt;code&gt;0.0.0.0&lt;/code&gt;. For example, if I am running a Gatsby site I'd do &lt;code&gt;gatsby serve --host=0.0.0.0&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then, from your Parallels machine you can access localhost from &lt;code&gt;10.211.55.2&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Up Next
&lt;/h2&gt;

&lt;p&gt;There will be more posts in this series to equip you to manually test the accessibility of websites. For now, topics and timing are still up for discussion. &lt;/p&gt;

&lt;p&gt;I hope to cover topics like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigating the web using the keyboard&lt;/li&gt;
&lt;li&gt;Screen reader tips and shortcuts&lt;/li&gt;
&lt;li&gt;Testing techniques and methods&lt;/li&gt;
&lt;li&gt;Other assistive technologies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What would you like to see? Do you have tips you'd like to share?&lt;/p&gt;

</description>
      <category>a11y</category>
      <category>testing</category>
      <category>setup</category>
    </item>
  </channel>
</rss>
