kayle_innate
v0.0.30
Published
Incredibly fast and precise universal web accessibility evaluator for puppeteer or playwright.
Downloads
798
Readme
kayle_innate
The incomplete Rust lib for accessibility things.
Check out accessibility-rs to make updates and add new rules.
Building
Target the platform that you need like nodejs or browsers etc.
wasm-pack build --target nodejs --release
Testing
wasm-pack test --node --firefox --chrome --headless
In order to test the accessibility parser in Rust run.
RUST_LOG=info wasm-pack test --firefox --headless --release
.
Debugging
wasm-pack test --node --firefox --chrome
.- navigate to
http://127.0.0.1:8000/
. - use the
console_log!
macro to output logs if needed.
API Changes
In order to make a better accessibility runner from the ground up we are adding shape changes as needed.
selector
is namedselectors
and now returns an array to determine multiple elements along with theoccurence
counter.
Publishing
wasm-pack build
wasm-pack publish