Coder Social home page Coder Social logo

dequelabs / agnostic-axe Goto Github PK

View Code? Open in Web Editor NEW
80.0 5.0 6.0 1.15 MB

Framework agnostic accessibility reporter, powered by axe-core

Home Page: https://www.npmjs.com/package/agnostic-axe

License: MIT License

JavaScript 100.00%
accessibility axe-core a11y a11y-testing

agnostic-axe's People

Contributors

jul-sh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

agnostic-axe's Issues

Expose the AuditQueue state

We're trying to inject agnostic-axe into integration tests that we already have. Quite often, the test finishes, and the page closes before agnostic-axe finishes analyzing the queued things.

Is it possible to expose the _isRunning property of AuditQueue somehow to be able to wait for when it finishes all queued audits?

Add tests

We should probably add some unit tests to make sure it works properly :)

E2e might be cool too

Contrast analysis running during an animation

I just integrated agnostic-axe into a Vue app I'm working on. One thing I keep seeing is contrast errors of text that get tested while it is fading in. Agnostic-axe basically just doesn't wait long enough for the content to be fully rendered.

I'm wondering if this could be done a little smarter. Instead of immediately running, if an element has a opacity value of less than 1, perhaps a timeout can be set that checks back in on the element after 100ms (or something), if at that time the opacity is at 1, or hasn't changed, test it, if not defer again until that condition is met, or perhaps until some maximum timeout has been reached.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.