+ - 0:00:00
Notes for current slide
Notes for next slide
5

Accessible Design

Garrick Aden-Buie & Silvia Canelón

Professional, Polished, Presentable

1

Let's do this together!

Restart your R session Ctrl + Shift + F10

Open 05-accessible-design/05-start.Rmd

Run xaringan::infinite_moon_reader() to preview your slides

2

The power of the Web
is in its universality

Access by everyone regardless of disability
is an essential aspect

Tim Berners-Lee
W3C Director & inventor of
the World Wide Web

3

Great web accessibility starts in the design

How do we design
accessible presentations?

Make "accessible" your default mindset

 Support images with text

 Make sure hyperlinks are clear & unambiguous

 Choose colors carefully

Guidelines from Making Scientific Content More Accessible
by Goring, Stack Whitney, Jacob, Bruna, and Poisot

4

Make "accessible"
your default mindset

We communicate effectively when we make our work open and accessible to a broad audience

Principles of inclusive design

  • Recognize exclusion
  • Solve for one, extend to many
  • Learn from diversity

2.1 Make “accessible” your default mindset
Figure from the Inclusive Design 101 Toolkit by Microsoft

5

We are returning to this core idea after covering it in the section on effective communication, because the two are intertwined

  • Recognizing exclusion helps us call on our humanity and powers of empathy

  • By designing for someone with a permanent disability, someone with a situational limitation can also benefit

  • pBy putting people at the center of our design process we learn from diverse perspectives and experiences

Support images with text

Figures and graphics should include text
that describes the visual (alternative text)

Alt-text allows the reader to understand an image without seeing it

Screen readers provide voice or braille access to computer text, including alt-text

Alt-text options for R Markdown:

  • Markdown

  • R Markdown code chunks

  • Raw HTML

6

Screen readers like VoiceOver for MacOS or NVDA for Windows are used by blind people as well as people with low vision, cognitive disabilities, deafness or hard-of-hearing, motor disabilities, and others.

Many screen reader users experience more than one disability.

Alt text is also helpful when an image will not load, like in cases of slow internet connectivity

In practice: Add alt-text with Markdown

We can add alt-text to an image inserted with the ![]() syntax

Insert it between the square brackets:

![Ring-tailed lemurs with alternating black and white rings along the entire length of their tail](ring-tailed-lemur.jpg)

Ring-tailed lemurs with alternating black and white rings along the entire length of their tail

7

In practice: Add alt-text with RMarkdown rmarkdown

We can add alt-text to an R Markdown code chunk output with the fig.alt="" option

```{r, fig.alt="Ring-tailed lemurs with alternating black and white rings along the entire length of their tail"}
knitr::include_graphics("ring-tailed-lemur.jpg")
```

Resource: New in knitr: Improved accessibility with image alt text by RStudio

8

Add alt-text in slide 2

Add a text description to the lemur image slide on the slide titled "Ring-tailed Lemurs"

05-start.Rmd
```{r, fig.alt=""}
knitr::include_graphics("ring-tailed-lemur.jpg")
```
9

Is it a good idea to use the same alt-text for all images that are identical?

Not necessarily!

To write effective alt-text we need to consider the context

What, if any, important information is the image supposed to communicate?

Resources

10

Make sure hyperlinks are
clear & unambiguous

  • Embed hyperlinks in slides with xaringan

  • Links are most useful when they make sense out of context

  • Links should be clearly labeled

Avoid ambiguous links:

  • Here
  • Click here
  • Info
  • More
  • Read more
  • Link
11

Edit the link text to be more descriptive

Edit the slide titled "Ring-tailed Lemurs" to replace the link titled "here" with link text that makes sense out of context

05-start.Rmd
The Duke Lemur Center provides more information [here](https://lemur.duke.edu/accordions/ring-tailed-lemurs-species-page/)
12

Choose colors carefully

13

Check your color palette for contrast

Let's check color independence and
color contrast together!

14

We are finished with the scene!

 Make "accessible" your default mindset

 Support images with text

 Make sure hyperlinks are clear & unambiguous

 Choose colors carefully

materials/act-02/05-accessible-design

15

Let's do this together!

Restart your R session Ctrl + Shift + F10

Open 05-accessible-design/05-start.Rmd

Run xaringan::infinite_moon_reader() to preview your slides

2
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
oTile View: Overview of Slides
Esc Back to slideshow