Warn about accessibility issues in html documents and apps.
An R wrapper for a11y.css
You can install the released version of alix from GitHub.
# install.packages("remotes")
remotes::install_github("gadenbuie/alix")To use, simply add alix::a11y_css() to your Shiny app's UI or
in a chunk in an HTML R Markdown document.
```{r test-accessibility, echo=FALSE}
alix::a11y_css()
```There are a number of supported languages, and you can choose the level of accessibility tests and warnings, listed here from most to least tests:
all: every messages (calledadvicebya11y.css)warning: warnings and errors;obsolete: obsolete stuff, warnings and errors;error: only errors.
For more information, check out