thomasp85/ggraph

[Accessibility] Vignette plots lack alt= attributes

開放

#340 建立於 2023年2月8日

 (0 則留言) (0 個反應) (0 位負責人)R (114 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (1,115 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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/.

There are a lot of issues, so I'll just name the vignettes:

  • Edges
  • Layouts
  • Nodes
  • tidygraph

If you'd like more details I can provide, but I'm assuming it's basically clear enough what plots are at issue.

貢獻者指南