Coder Social home page Coder Social logo

cypress-axe-core's People

Contributors

mwmcode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cypress-axe-core's Issues

axeOptions configuration issue

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

accessibility

image

image

Webpack Compilation Error

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:
image

I followed the instructions on https://github.com/mcha-dev/cypress-axe-core

This error surfaces once I enable logging in plugins/index.js

Remove the need for explicit call of injectAxe

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?

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.