The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
waetr is an R package that provides a comprehensive interface to the WAVE (Web Accessibility Evaluation) API. It enables automated accessibility testing of web pages with support for batch processing, detailed reporting, and data visualization.
# Install devtools if you haven't already
install.packages("devtools")
# Install waetr from GitHub
::install_github("benjaminlistyg/waetr") devtools
library(waetr)
# Analyze a single URL
<- wave(
result key = "your_api_key",
url = "https://example.com"
)
# View summary statistics
print(result$statistics)
# Analyze multiple URLs
<- c(
urls "https://example.com",
"https://example.org",
"https://example.net"
)
# Generate comprehensive report
<- create_accessibility_report(
report input = urls,
api_key = "your_api_key",
output_dir = "accessibility_report"
)
# Compare accessibility categories
compare_accessibility(
input = urls,
api_key = "your_api_key",
plot_type = "category_counts"
)
# View detailed issues
compare_accessibility(
input = urls,
api_key = "your_api_key",
plot_type = "issues"
)
# Compare structural elements
compare_accessibility(
input = urls,
api_key = "your_api_key",
plot_type = "structure"
)
wave()
: Core function for making WAVE API requestscompare_accessibility()
: Generate accessibility
comparisons across websitescreate_accessibility_report()
: Create comprehensive
accessibility reportscategory_counts
: Compare main accessibility
categoriesissues
: Detailed breakdown of errors and alertsstructure
: Compare structural elementsThe create_accessibility_report()
function generates: -
HTML report with interactive visualizations - CSV summary data - PNG
plot files - Detailed accessibility metrics
The WAVE API uses a credit system: - Report Type 1: 1 credit per URL - Report Type 2: 2 credits per URL - Report Type 3/4: 3 credits per URL
Monitor your credit usage with:
check_wave_credits("your_api_key")
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Steps to contribute: 1. Fork the repository 2. Create your feature
branch (git checkout -b feature/AmazingFeature
) 3. Commit
your changes (git commit -m 'Add some AmazingFeature'
) 4.
Push to the branch (git push origin feature/AmazingFeature
)
5. Open a Pull Request
# Run all tests
::test()
devtools
# Run specific test file
::test(filter = "wave") devtools
This project is licensed under the MIT License - see the LICENSE file for details.
For questions and feedback: - Open an issue on GitHub: https://github.com/benjaminlistyg/waetr/issues - Email: Submit an issue for contact information
If you use waetr in your research, please cite it as:
Ross, B.V., & Listyg, B. (2024). waetr: R Package for Web Accessibility Evaluation Testing.
GitHub repository: https://github.com/benjaminlistyg/waetr
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.