View source: R/report_generation.R
create_accessibility_report | R Documentation |
Generates a complete accessibility report with visualizations and summary data
create_accessibility_report(
input,
api_key = NULL,
output_dir = NULL,
report_type = 1,
include_plots = TRUE,
custom_theme = "light"
)
input |
Character vector. URLs to analyze or paths to JSON files |
api_key |
Character string. WAVE API key (required for URL analysis) |
output_dir |
Character string. Directory to save report files |
report_type |
Integer. WAVE report type (1-4) |
include_plots |
Logical. Whether to include plots in the report (default: TRUE) |
custom_theme |
Character string. Visual theme for plots (default: "light") |
List containing plots and summary data frame
## Not run:
report <- create_accessibility_report(
input = c("https://example.com", "https://example.org"),
api_key = "your_api_key",
output_dir = tempdir()
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.