Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Accessibility issue] Vignettes lacks alt= in plots #390

Open
MichaelChirico opened this issue Mar 4, 2023 · 0 comments
Open

[Accessibility issue] Vignettes lacks alt= in plots #390

MichaelChirico opened this issue Mar 4, 2023 · 0 comments

Comments

@MichaelChirico
Copy link
Contributor

We have a tool that flags images that lack an alt= attribute. See https://help.siteimprove.com/support/solutions/articles/80000863904-accessibility-image-alt-text-best-practices -- these are essential for conveying the image contents to users on screen readers.

You can add these to your vignettes by using the recent-ish fig.alt chunk option in knitr; see https://www.rstudio.com/blog/knitr-fig-alt/.

The vignette at issue is https://github.com/tidyverts/fable/blob/79d5a5049a24ea55dd5d8009259b8ebcea8a4e98/vignettes/fable.Rmd.

Unfortunately the lines are flagged in the HTML output, which won't correspond exactly to the .Rmd file lines, but I assume if you're familiar with the vignette it will be clear which images need it:

fable/inst/doc/fable.html:378
fable/inst/doc/fable.html:579
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant