You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a custom matcher for Jasmine.
The goal is to make it super easy for developers to add automatic accessibility checks, even if they're not really familiar with accessibility, and aXe.
The matcher is just a way to encapsulate what we're testing: we're able to use the comparison we want and add a specific error message in case the check fails.
Here, we're just checking that we have 0 errors (if we use toHaveNoViolations), and if we have some, we display the results we got from axe.
I guess it should work with other frameworks if you use Jasmine for testing.
I'm used to testing with Jest for React apps, but I think we could use Jasmine too, and use this lib to check accessibility issues.
Can you add more information about how Jasmine-axe is used to find common accessibility errors?
I'm very familiar with axe, but I understand that this has some aggregation function that comes with Jasmine.
Also, this is really only useful for Angular projects, right?
The text was updated successfully, but these errors were encountered: