The incomplete Rust lib for accessibility things.
Check out accessibility-rs to make updates and add new rules.
Target the platform that you need like nodejs or browsers etc.
wasm-pack build --target nodejs --release
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
.
wasm-pack test --node --firefox --chrome
.- navigate to
http://127.0.0.1:8000/
. - use the
console_log!
macro to output logs if needed.
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.
wasm-pack build
wasm-pack publish