Learn R Programming

waetr (version 0.1.0)

create_accessibility_report: Create Comprehensive Accessibility Report

Description

Generates a complete accessibility report with visualizations and summary data

Usage

create_accessibility_report(
  input,
  api_key = NULL,
  output_dir = NULL,
  report_type = 1,
  include_plots = TRUE,
  custom_theme = "light"
)

Value

List containing plots and summary data frame

Arguments

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")

Examples

Run this code
if (FALSE) {
report <- create_accessibility_report(
  input = c("https://example.com", "https://example.org"),
  api_key = "your_api_key",
  output_dir = tempdir()
)
}

Run the code above in your browser using DataLab