# NOT RUN {
# create a testfile
rmd <- tempfile("testing", fileext = ".rmd")
# write basic markdown content
writeLines('---
title: "Suspicious Alt Text"
author: "Some Author"
date: "`r format(Sys.Date(), "%d %b %Y")`"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
## R Markdown

',
con = rmd
)
# test the file for suspicious alt text
sus_alt(rmd, lan = "en")
# Adjust the document header to improve screen reader accessibility
access_head(rmd, lan = "en")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab