mwmcode / cypress-axe-core Goto Github PK
View Code? Open in Web Editor NEWTest accessibility with axe-core in Cypress.
License: MIT License
Test accessibility with axe-core in Cypress.
License: MIT License
Hi All,
We had configured axeOptions values as ['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa'] in our application but while running the automation tests in cypress we are getting error as below "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds" I also verified the color contrast it's getting passed for WCAG AA(Attached Screenshot below) https://webaim.org/resources/contrastchecker/ .I had tried different ways but was not able to find the root cause. can someone help
Hi,
thanks for maintaining the fork.
Maybe you know how to pass exclude
option?
Hi I am trying to upgrade my Cypress repo to the latest version. 6.6.0 -> 8.2.0
I've upgraded my dependencies and replaced cypress-axe with cypress-axe-core.
However whenever I run my accessibility test I get:
I followed the instructions on https://github.com/mcha-dev/cypress-axe-core
This error surfaces once I enable logging in plugins/index.js
What do you think about removing explicit call of injectAxe
and instead check if axe already injected in checkA11y
, if no then inject it, if yes then skip injecting?
Also maybe read file once in the memory rather then reading it on each inject?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.