autoaccess
v0.0.1
Published
AutoAccess: Automatically convert HTML files into WCAG 2.1 Compliant files
Downloads
3
Readme
AutoAccess
👁 Automatically convert HTML files into WCAG 2.1 Compliant files
Goals and Intent
Making a website web accessible can sometimes be difficult. There are many ways to annotate HTML for WCAG compliance. The problem relies on both making the website web accessible, as well as a modern website. With AutoAccess, the intent is to create an easy to use tool that can either automatically annotate HTML for WCAG compliance, or, lint HTML files for you identifying changes that are required for unannotated elements.
Usage through bash
# install autoaccess
yarn global add autoaccess
# automatically upgrade an HTML file
autoaccess --dir ./example.html --upgrade
# Create a report file that notifies you of all changes required
autoaccess --dir ./example.html --report ./report.html
Usage through Node.js
import { upgrade, report } from 'autoaccess';
upgrade('example.html');
report('example.html', 'report.html');
Compilation and Testing
# Compile to dist folder
yarn build
# Run unit tests
yarn test
Support
If you have questions, need help or have concerns, feel free to open an issue. You can also email me directly at :mailbox: [email protected]