Skip to content

Commit 9d73958

Browse files
Copilotgvegayon
andcommitted
Add alt text to all images for W3C accessibility compliance
Co-authored-by: gvegayon <893619+gvegayon@users.noreply.github.com>
1 parent 943a8e7 commit 9d73958

File tree

14 files changed

+36
-37
lines changed

14 files changed

+36
-37
lines changed

01-git/lab.qmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To start you just need to use the Fork button available on the project you would
3535
[^githubmanualfork]: For more details, take a look at the [Forking Projects](https://guides.github.com/activities/forking/) article in GitHub guides.
3636

3737
<figure>
38-
<img src="https://github-images.s3.amazonaws.com/help/bootcamp/Bootcamp-Fork.png" width="400px">
38+
<img src="https://github-images.s3.amazonaws.com/help/bootcamp/Bootcamp-Fork.png" width="400px" alt="GitHub fork button on a repository page">
3939
<figcaption>Source: GitHub Help</figcaption>
4040
</figure>
4141

@@ -46,14 +46,14 @@ Once you "Fork" a project, GitHub will:
4646
2. Set up a pipeline to generate pull requests.
4747

4848
<figure>
49-
<img src="https://github-images.s3.amazonaws.com/help/pull_requests/recently_pushed_branch.png" width="600px">
49+
<img src="https://github-images.s3.amazonaws.com/help/pull_requests/recently_pushed_branch.png" width="600px" alt="GitHub notification showing a recently pushed branch with a Compare and pull request button">
5050
<figcaption>Source: GitHub Help</figcaption>
5151
</figure>
5252

5353
Or
5454

5555
<figure>
56-
<img src="https://user-images.githubusercontent.com/893619/132388465-849ef04d-ad4f-4365-a646-27e88cb9d828.png" width="600px">
56+
<img src="https://user-images.githubusercontent.com/893619/132388465-849ef04d-ad4f-4365-a646-27e88cb9d828.png" width="600px" alt="Screenshot of GitHub interface showing pull request creation">
5757
<figcaption>Source: Screenshot!</figcaption>
5858
</figure>
5959

@@ -105,7 +105,7 @@ This is the final step. Overall, pull requests (PR) are as complex as the propos
105105
To create the PR, you just need to go to your online copy of the project and click on the "Compare & pull request" link:
106106

107107
<figure>
108-
<img src="https://github-images.s3.amazonaws.com/help/pull_requests/recently_pushed_branch.png" width="600px">
108+
<img src="https://github-images.s3.amazonaws.com/help/pull_requests/recently_pushed_branch.png" width="600px" alt="GitHub notification showing a recently pushed branch with a Compare and pull request button">
109109
<figcaption>Source: GitHub Help</figcaption>
110110
</figure>
111111

01-git/quarto.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ opts_chunk$set(warning = FALSE, message = FALSE, echo = FALSE, comment = "")
7575
::: {.r-fit-text}
7676
7777
::: {.fragment}
78-
![](fig/rstudio-qmd-how-it-works.png){style="width: 800px;"}
78+
![](fig/rstudio-qmd-how-it-works.png){style="width: 800px;" fig-alt="Diagram showing how Quarto works: a .qmd file is processed by knitr and Pandoc to produce HTML, PDF, or Word output"}
7979
:::
8080
8181
Source: Quarto website https://quarto.org/docs/faq/rmarkdown.html

01-git/slides.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Throughout the course, we will be using the following tools:
9090
:::
9191

9292
::: {.column width="20%"}
93-
![](https://upload.wikimedia.org/wikipedia/commons/a/af/Revision_controlled_project_visualization-2010-24-02.svg)
93+
![](https://upload.wikimedia.org/wikipedia/commons/a/af/Revision_controlled_project_visualization-2010-24-02.svg){fig-alt="Diagram of version-controlled project history showing branching and merging of revisions over time"}
9494
<!-- <img src="https://upload.wikimedia.org/wikipedia/commons/a/af/Revision_controlled_project_visualization-2010-24-02.svg" alt="Diagram of version control" width="100%"> -->
9595
:::
9696
:::
@@ -166,7 +166,7 @@ In these cases, and no doubt others, a version control system should make your l
166166
::: {.r-fit-text}
167167
During this class (and perhaps, the entire program,) we will be using
168168
<!-- <a href="" target="_blank"> -->
169-
[<img style="width: 100px;vertical-align: middle;" src="https://upload.wikimedia.org/wikipedia/commons/e/e0/Git-logo.svg">](https://commons.wikimedia.org/wiki/File:Git-logo.svg)
169+
[<img style="width: 100px;vertical-align: middle;" src="https://upload.wikimedia.org/wikipedia/commons/e/e0/Git-logo.svg" alt="Git logo">](https://commons.wikimedia.org/wiki/File:Git-logo.svg)
170170

171171
::: {.fragment .fade-in}
172172
- Git is used by [most developers in the world](https://insights.stackoverflow.com/survey/2018#work-_-version-control).

02-essentials/slides.qmd

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -204,23 +204,23 @@ attributes(HairEyeColor)
204204

205205
* An Integrated Development Environment (IDE) to organize and facilitate common tasks coding in R
206206

207-
<img src="./fig/RStudio_0.png" style="width:400px;">
207+
<img src="./fig/RStudio_0.png" style="width:400px;" alt="RStudio IDE screenshot showing the overall layout">
208208

209-
<img src="./fig/RStudio_1.png" style="width:400px;">
209+
<img src="./fig/RStudio_1.png" style="width:400px;" alt="RStudio IDE screenshot showing the console panel">
210210

211-
<img src="./fig/RStudio_2.png" style="width:400px;">
211+
<img src="./fig/RStudio_2.png" style="width:400px;" alt="RStudio IDE screenshot showing the source editor panel">
212212

213-
<img src="./fig/RStudio_3.png" style="width:400px;">
213+
<img src="./fig/RStudio_3.png" style="width:400px;" alt="RStudio IDE screenshot showing the environment and history panel">
214214

215-
<img src="./fig/RStudio_4.png" style="width:400px;">
215+
<img src="./fig/RStudio_4.png" style="width:400px;" alt="RStudio IDE screenshot showing the files and plots panel">
216216

217-
<img src="./fig/RStudio_5.png" style="width:400px;">
217+
<img src="./fig/RStudio_5.png" style="width:400px;" alt="RStudio IDE screenshot showing packages panel">
218218

219-
<img src="./fig/RStudio_6.png" style="width:400px;">
219+
<img src="./fig/RStudio_6.png" style="width:400px;" alt="RStudio IDE screenshot showing the help panel">
220220

221-
<img src="./fig/RStudio_7.png" style="width:400px;">
221+
<img src="./fig/RStudio_7.png" style="width:400px;" alt="RStudio IDE screenshot showing the viewer panel">
222222

223-
<img src="./fig/RStudio_8.png" style="width:400px;">
223+
<img src="./fig/RStudio_8.png" style="width:400px;" alt="RStudio IDE screenshot showing the connections panel">
224224

225225
---
226226

03-debugging-and-profiling/slides.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ With debugging start top-down. Assume lower-level functions are correct until f
103103

104104
An example from collaboration:
105105

106-
<img src="./fig/modular_collaboration.png" style="width:1000px;">
106+
<img src="./fig/modular_collaboration.png" style="width:1000px;" alt="Diagram showing modular collaboration pattern in software development with top-level and lower-level function modules">
107107

108108

109109
An example from an R package: [SeqSGPV](https://github.com/chipmanj/SeqSGPV/blob/master/R/SeqSGPV.R)

04-more-functions-and-datatable/slides.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ Before we continue, let's learn a bit more on `data.table` and `dtplyr`
277277
square brackets. Here is common way to imagine DT:
278278

279279
<div align="center">
280-
<img src="datatable-syntax-paths.svg" width="700px">
280+
<img src="datatable-syntax-paths.svg" width="700px" alt="Diagram illustrating data.table syntax: DT[i, j, by] where i filters rows, j selects or computes columns, and by groups results">
281281
</div>
282282

283283
- Any time that you see **:=** in **j** that is "Assignment by reference." Using
@@ -349,7 +349,7 @@ address(dat_ldt$parent)
349349
dat_ldt <- lazy_dt(dat, immutable = TRUE)
350350
```
351351

352-
![](pointer-paths.svg){width="800px"}
352+
![](pointer-paths.svg){width="800px" fig-alt="Diagram illustrating R object pointer behavior: showing memory address sharing and copying when modifying a data.table object"}
353353

354354
Question: What is the `immutable = FALSE` option used for?
355355

06-rcpp/slides.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ slides_eval <- TRUE
2929
## Before we start {style="font-size: 16pt"}
3030

3131
<div style="text-align: center; margin: auto;">
32-
<a href="https://imgflip.com/i/38ji3q"><img src="https://i.imgflip.com/38ji3q.jpg" title="made at imgflip.com" width="30%"/></a>
33-
<a href="https://imgflip.com/i/38jiku"><img src="https://i.imgflip.com/38jiku.jpg" title="made at imgflip.com" width="30%"/></a>
32+
<a href="https://imgflip.com/i/38ji3q"><img src="https://i.imgflip.com/38ji3q.jpg" title="made at imgflip.com" alt="Meme: one does not simply avoid writing C++ when using Rcpp" width="30%"/></a>
33+
<a href="https://imgflip.com/i/38jiku"><img src="https://i.imgflip.com/38jiku.jpg" title="made at imgflip.com" alt="Meme: Emergency broadcast - your R code will get a serious speed boost with Rcpp" width="30%"/></a>
3434
</div>
3535

3636
1. You need to have Rcpp installed in your system:
@@ -373,7 +373,7 @@ Rcpp::sourceCpp("norm.cpp", verbose = TRUE)
373373
<div style="text-align:center;margin:auto;">
374374
Now, get ready for some Rcpp action!
375375

376-
<img src="https://giphygifs.s3.amazonaws.com/media/8rOtpl0yzFe6I/giphy.gif" width="800px"/>
376+
<img src="https://giphygifs.s3.amazonaws.com/media/8rOtpl0yzFe6I/giphy.gif" width="800px" alt="Animated GIF of an excited crowd cheering"/>
377377
</div>
378378

379379

07-parallel-computing/slides.qmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ embed-resources: true
2323

2424
# Fundamentals {background-color="#515A5A"}
2525

26-
![](https://raw.githubusercontent.com/USCbiostats/hpc-with-r/df60e1cfdc0f848f4f0de5a0aa7d0833f4cfe3d5/fig/bulldog-teaches-baby-crawl.gif){fig-align="center"}
26+
![](https://raw.githubusercontent.com/USCbiostats/hpc-with-r/df60e1cfdc0f848f4f0de5a0aa7d0833f4cfe3d5/fig/bulldog-teaches-baby-crawl.gif){fig-align="center" fig-alt="Animated GIF of a bulldog teaching a baby to crawl"}
2727

2828

2929

@@ -94,7 +94,7 @@ f(1:4)
9494
- 3 idle cores.
9595
:::
9696
::: {.column width="60%"}
97-
![](fig/pll-computing-explained-serial.svg){width=450px}
97+
![](fig/pll-computing-explained-serial.svg){width=450px fig-alt="Diagram showing serial computing: one core processes tasks one element at a time while other cores are idle"}
9898
:::
9999
:::
100100

@@ -115,7 +115,7 @@ f_pll(1:4)
115115
- 4 times faster.
116116
:::
117117
::: {.column width="60%"}
118-
![](fig/pll-computing-explained-parallel.svg){width=450px}
118+
![](fig/pll-computing-explained-parallel.svg){width=450px fig-alt="Diagram showing parallel computing: four cores each process one element simultaneously with no idle cores"}
119119
:::
120120
:::
121121

@@ -124,7 +124,7 @@ f_pll(1:4)
124124

125125
<text style="color:white;">Let's think before we start...</text>
126126

127-
![](https://media.giphy.com/media/Dwclsfe6Gb91m/giphy.gif){style="width:500px"}
127+
![](https://media.giphy.com/media/Dwclsfe6Gb91m/giphy.gif){style="width:500px" fig-alt="Animated GIF illustrating a thinking or decision-making moment"}
128128

129129
<text style="color:white;">When is it a good idea to go HPC?</text>
130130

@@ -320,7 +320,7 @@ And there's also a more advanced set of options
320320
- Multiple types of cluster: `PSOCK`, `Fork`, `MPI`, etc.
321321
:::
322322
::: {.column width="50%"}
323-
![](fig/parallel-package.svg)
323+
![](fig/parallel-package.svg){fig-alt="Diagram showing the R parallel package architecture with clusters composed of local and remote R sessions"}
324324
:::
325325
:::
326326

@@ -760,7 +760,7 @@ Using a Fork cluster instead of a PSOCK cluster can further reduce the overhead
760760

761761
## {style="text-align:center!important;"}
762762

763-
```{r thanks, out.width="300px", echo=FALSE}
763+
```{r thanks, out.width="300px", echo=FALSE, fig.alt="Animated GIF of a runner celebrating a fast finish, representing speed gains from parallel computing"}
764764
knitr::include_graphics("fig/speed.gif")
765765
```
766766

09-openmp-slurm/lab.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ We will use OpenMP to accelerate the function.
7575
# RcppArmadillo and OpenMP
7676

7777
<p style="text-align:center;color:white;font-size:200%;">
78-
RcppArmadillo + OpenMP<br>=<br><img src="https://media.giphy.com/media/WUq1cg9K7uzHa/giphy.gif" style="width:400px">
78+
RcppArmadillo + OpenMP<br>=<br><img src="https://media.giphy.com/media/WUq1cg9K7uzHa/giphy.gif" style="width:400px" alt="Animated GIF of a happy celebration, representing the power of combining RcppArmadillo with OpenMP">
7979
</p>
8080

8181
* Friendlier than [**RcppParallel**](http://rcppcore.github.io/RcppParallel/)...
@@ -269,7 +269,7 @@ squeue -u$(id -u)
269269

270270
Once your job is submitted, the R script should generate a boxplot like the following:
271271

272-
<img src="openmp-exampl.png" style="width: 80%">
272+
<img src="openmp-exampl.png" style="width: 80%" alt="Boxplot comparing execution times of serial versus parallel OpenMP implementations in R">
273273

274274
## Single job
275275

15-autoreport/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11

22

3-
![GitHub last
4-
commit](https://img.shields.io/github/last-commit/UofUEpiBio/PHS-7045-egga.png)
3+
![GitHub last commit](https://img.shields.io/github/last-commit/UofUEpiBio/PHS-7045-egga.png)
54

65
# Latest papers on Agent-Based Modeling in PubMed
76

0 commit comments

Comments
 (0)