Skip to contents

Returns the filesystem path to a11yviz.css, an accessible stylesheet that makes plotly, DT, DiagrammeR, and static plot images theme-aware and applies WCAG-aligned defaults for contrast, focus, and text spacing. Use it in Quarto via css:, in Shiny via tags$link(), or copy it into a project's www/.

Usage

a11y_css()

Value

Character path to the CSS file inside the installed package.

Examples

a11y_css()
#> [1] "C:/Users/shinm/AppData/Local/Temp/RtmpmKVW6p/temp_libpath998074dd4b57/a11yviz/css/a11yviz.css"