Accessibility warnings for dynamic web content. Join the conversation on Slack.
With RSpec, Capybara, and Poltergeist:
% bundle exec rspec spec/features Randomized with seed 35702 <html> element must have a valid lang attribute [object HTMLHtmlElement] Form elements must have labels [object HTMLInputElement] . Finished in 2.18 seconds (files took 1.11 seconds to load) 1 example, 0 failures Randomized with seed 35702
How it works
accesslint.js runs assertions from the aXe-core accessibility library wherever you include the script once on page load, and again for each DOM change event.
This feature gives you feedback on new content introduced via AJAX, for example, or updates to a single page app.
$ gulp build-dev # build and watch for changes
$ gulp build