--- title: "Getting Started with a11yShiny" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{Getting Started with a11yShiny} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r setup, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>", eval = FALSE ) ``` ## Overview `a11yShiny` provides accessible drop-in replacements for popular Shiny UI functions. Every component enforces ARIA attributes, visible labels, and semantic HTML according to [BITV 2.0](https://bitvtest.de/) (the German implementation of WCAG 2.1). The package covers four areas: 1. **Page layout** -- `a11y_fluidPage`, `a11y_fluidRow`, `a11y_column` 2. **Input controls** -- `a11y_actionButton`, `a11y_selectInput`, `a11y_numericInput`, `a11y_textInput`, `a11y_radioButtons`, `a11y_dateInput` 3. **Composite widgets** -- `a11y_textButtonGroup`, `a11y_textInputsGroup`, `a11y_highContrastButton` 4. **Data display** -- `a11y_renderDataTable`, `a11y_ggplot2_line`, `a11y_ggplot2_bar` ## Installation ```{r install} # Install from source devtools::install() ``` ## Accessible Page Layout `a11y_fluidPage` wraps `shiny::fluidPage` and enforces two accessibility essentials: a page **title** and a **language** attribute on the `` element. It also creates proper landmark regions (`
`, `
`, `