a11y String
This is a simple, fast module that allows you to run a range of accessibility tests against a string of HTML.
Installation
npm install a11y-string
Example
const a11y = // Returns Error: Image needs alt attribute
Reasoning
There are a lot of great a11y tools that exist today but all of them require an external URL or are framework specific. This project aims to be a lightweight alternative for people who need to run accessibility tests against just a string of HTML.