class: title-slide, middle .cover-left[ <img src="img/open-door.jpg" title="A very orange illustration with an orange wall and a darker orange door opening to the sky. The sky looks more imaginary than real with a pinkish big bubble that reminds of clouds" alt="A very orange illustration with an orange wall and a darker orange door opening to the sky. The sky looks more imaginary than real with a pinkish big bubble that reminds of clouds" width="90%" /> ] .cover-right[ # Teaching Visual Accessibility in the Data Science Classes: Why, What, When, and How ## JooYoung Seo and Mine Dogucu ### Symposium on Data Science and Statistics <br> [bit.ly/sdss-2022](https://bit.ly/sdss-2022) ### streamed on: 2022-06-08, recorded on: 2022-05-25 ] --- class: middle ## Statistics - 61 million adults in the United States live with a disability - 26 percent (one in 4) of adults in the United States have some type of disability. - 4.6 percent of people with a disability have a vision disability with blindness or serious difficulty seeing even when wearing glasses. [CDC Infographic on disability](https://www.cdc.gov/ncbddd/disabilityandhealth/infographic-disability-impacts-all.html) --- class: middle ## ADA Americans With Disabilities Act (ADA) of 1990 prohibits discrimination against individuals with disabilities in all areas of public life. **Ableism** is discrimination in favor of able-bodied people. --- class: middle [Computing Competencies for Undergraduate Data Science Curricula](https://dstf.acm.org/DSReportDraft2Full.pdf) by Association for Computing Machinery (ACM) Data Science Task Force Draft 2 was published in **December 2019** Analysis and Presentation, Foundational considerations, Knowledge **Accessibility considerations for different groupings of users including those with special needs** --- class: middle ## Accessibility as Career Preparation [Accessible Technology Skills Gap Report by The Partnership on Employment & Accessible Technology (PEAT), 2018](https://www.peatworks.org/infographic-the-accessible-technology-skills-gap/) 84% of industry respondents say it is important or very important to their company to hire developers and designers with accessible technology skills. 60% said it was difficult or very difficult for their organization to find job candidates with accessibility skills. 0% said it was easy or very easy. 41% of companies consider accessibility certification credentials as a differentiator in hiring. --- class: middle ## Curriculum Goal As educators, we have to ensure that the current and the next generation of data scientists, provide public-facing outputs (websites, analysis reports, etc.) that are accessible. --- class: middle ## Learning Objectives - Student should get familiar with American Disabilities Act. - Students should use at least one assistive technology (i.e. screen reader). - Students should consider different representations of data. --- class: middle ## Assistive Technology - Assistive Technology is any form of technology (software, device) that helps people with disabilities perform certain activities. Examples: - walking sticks - wheel chairs - screen readers --- class: middle ## Screen reader A screen reader is an assistive technology that supports blind or visually impaired people in using their computer. <!-- We can do a demo here--> --- class: middle Students can use screen reader on Windows and Mac - If you are on a Windows machine go to Settings > Ease of Access > Narrator,and then turn on the toggle under Use Narrator. - If you are on a Mac go to System Preferences > Accessibility > Voice Over > Enable Voice Over --- class: middle ## Data Visualization - Colors <img src="index_files/figure-html/unnamed-chunk-2-1.png" title="Three separate scatterplots in three rows showing bill depth and bill length of three separate species of penguins Adelie, Chinstrap, and Gentoo respectively and the points representing each observation are red, green, and blue respectively." alt="Three separate scatterplots in three rows showing bill depth and bill length of three separate species of penguins Adelie, Chinstrap, and Gentoo respectively and the points representing each observation are red, green, and blue respectively." style="display: block; margin: auto;" /> --- class: middle ### Color Blindness Simulator ```r colorblindr::cvd_grid(fig) ``` <img src="index_files/figure-html/unnamed-chunk-4-1.png" title="A 2 by 2 grid of four scatterplots. The scatterplots are the same as the scatterplot in the previous figure except for colors. From left to right and top to bottom the plots read deutanomly, protanomly, tritanomly, and desaturated" alt="A 2 by 2 grid of four scatterplots. The scatterplots are the same as the scatterplot in the previous figure except for colors. From left to right and top to bottom the plots read deutanomly, protanomly, tritanomly, and desaturated" width="45%" style="display: block; margin: auto;" /> --- class: middle [Color blindness simulation](https://www.color-blindness.com/coblis-color-blindness-simulator/): red-blind/protanopia <img src="img/red-blind.png" title="The same scatterplots are displayed but Adelie and Chinstrap penguin data are shown with a very similar yellow-brownish green. There is no red visible." alt="The same scatterplots are displayed but Adelie and Chinstrap penguin data are shown with a very similar yellow-brownish green. There is no red visible." width="60%" style="display: block; margin: auto;" /> --- class: middle [Color blindness simulation](https://www.color-blindness.com/coblis-color-blindness-simulator/): green-blind/deuteranopia <img src="img/green-blind.png" title="The same scatterplots are displayed but Adelie and Chinstrap penguin data are shown with a very similar yellow-brownish green. There is no red visible. The gray background is also a bright pink." alt="The same scatterplots are displayed but Adelie and Chinstrap penguin data are shown with a very similar yellow-brownish green. There is no red visible. The gray background is also a bright pink." width="60%" style="display: block; margin: auto;" /> --- class: middle [Color blindness simulation](https://www.color-blindness.com/coblis-color-blindness-simulator/): blue-blind/tritanopia <img src="img/blue-blind.png" title="The same scatterplots are displayed but Adelie and Gentoo penguin data are shown with a very similar greenish blue." alt="The same scatterplots are displayed but Adelie and Gentoo penguin data are shown with a very similar greenish blue." width="60%" style="display: block; margin: auto;" /> --- class: middle ### Okabe-Ito Color Palette ```r palette.colors(palette = "Okabe-Ito") ``` ``` ## black orange skyblue bluishgreen yellow ## "#000000" "#E69F00" "#56B4E9" "#009E73" "#F0E442" ## blue vermillion reddishpurple gray ## "#0072B2" "#D55E00" "#CC79A7" "#999999" ``` --- class: middle ```r fig + colorblindr::scale_color_OkabeIto() ``` <img src="index_files/figure-html/unnamed-chunk-10-1.png" title="Three separate scatterplots in three rows showing bill depth and bill length of three separate species of penguins Adelie, Chinstrap, and Gentoo respectively and the points representing each observation are orange, blue, and green respectively." alt="Three separate scatterplots in three rows showing bill depth and bill length of three separate species of penguins Adelie, Chinstrap, and Gentoo respectively and the points representing each observation are orange, blue, and green respectively." width="45%" style="display: block; margin: auto;" /> --- class: middle ### Resources [Color Blindness Simulator](https://www.color-blindness.com/coblis-color-blindness-simulator/) You can upload any image and in return get an image with colors that would be visible to color-blind people with specific color vision deficiency. [Okabe-Ito 2008](https://jfly.uni-koeln.de/color/) Color Universal Design. Color palette that is color-blind friendly. [Okabe-Ito color-palette](https://mikemol.github.io/technique/colorblind/2018/02/11/color-safe-palette.html) Color codes for Okabe-Ito palette. --- class: middle ## Data Verbalization ### Alternate Text - "Alt text" describes contents of an image. - It is used in HTML pages. - Screen-readers cannot read images but can read alt text. - Alt text has to be provided. - We can verbalize data via alternate text. --- class: middle ### Manual Alternate Text - Chart type - Type of data - Reason for including the chart - Link to data or source (not in alt text but in main text) [Amy Cesal](https://medium.com/nightingale/writing-alt-text-for-data-visualization-2a218ef43f81) --- class: middle ### Data Verbalization - Automated <img src="index_files/figure-html/unnamed-chunk-12-1.png" style="display: block; margin: auto;" /> The automated alternate text for this plot is on the next slide. --- class: middle ### Data Verbalization - Automated ```r BrailleR::VI(example_barplot) ``` ``` ## This is an untitled chart with no subtitle or caption. ## It has x-axis 'transmission' with labels automatic and manual. ## It has y-axis 'count' with labels 0, 5, 10 and 15. ## The chart is a bar chart with 2 vertical bars. ## Bar 1 is centered horizontally at automatic, and spans vertically from 0 to 19. ## Bar 2 is centered horizontally at manual, and spans vertically from 0 to 13. ``` <hr> Drawback of using `VI()` is that not every type of plot can be verbalized yet. --- class: middle ### Alternate Texts are Under Utilized in the Data Science Community "Over the 3 years of TidyTuesday, there were 7,136 data viz tweets and only 215 (3%) of them had alt-text" [Canelón & Hare, 2021 ](https://github.com/spcanelon/csvConf2021) --- class: middle ## Data Sonification Data sonification is the presentation of data as sound. Examples: [SAS Graphics Accelerator Examples](https://support.sas.com/software/products/graphics-accelerator/samples/index.html) [SAS Graphics Accelerator Chrome Extension](https://chrome.google.com/webstore/detail/sas-graphics-accelerator/ockmipfaiiahknplinepcaogdillgoko?hl=en) R example: ```r sonify::sonify(1:10) ``` --- class: middle ## Data Tactualization Data tactulization refers to making data visualization in a form so that it can be touchable by fingers. .center[ <iframe width="560" height="315" src="https://www.youtube.com/embed/ClI555l4Z1M" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> [tactileR](https://github.com/jooyoungseo/tactileR) package in R ] --- class: middle ## When? .pull-left[ at University of Illinois Urbana-Champaign - IS 407 - Introduction to Data Science ] .pull-right[ at University of California Irvine - Stats 5 - Seminar in Data Science - ICS 80 - Introduction to Data Science - Stats 295 - Scientific Computing with R ] --- class: middle ## Important Take-Aways - Relevant to undergraduate and graduate curriculum - Can be taught in language-specific and language-agnostic courses - Students should be assessed on the practice of accessibility practices - Students should be able to take away this knowledge from non-data specific courses. --- class: middle ## Acknowledgment Dogucu has been supported by the [Teach Access](https://teachaccess.org/) network. --- class: middle center ## Thank you <hr> .pull-left[ JooYoung Seo <i class="fa-solid fa-envelope" title="Email Icon"></i> [jseo1005@illinois.edu](mailto:jseo1005@illinois.edu) <i class="fa-brands fa-twitter" title="Twitter Icon"></i> [seo_jooyoung](https://twitter.com/seo_jooyoung) <i class="fa-brands fa-github" title="GitHub Icon"></i> [jooyoungseo](https://github.com/jooyoungseo) ] .pull-right[ Mine Dogucu <i class="fa-solid fa-envelope" title="Email Icon"></i> [mdogucu@uci.edu](mailto:mdogucu@uci.edu) <i class="fa-brands fa-twitter" title="Twitter Icon"></i> [MineDogucu](https://twitter.com/MineDogucu) <i class="fa-brands fa-github" title="GitHub Icon"></i> [mdogucu](https://github.com/mdogucu) ]