cypress-axe | Test accessibility with axe-core in Cypress | Accessibility Testing library

 by   component-driven TypeScript Version: 1.5.0 License: MIT

kandi X-RAY | cypress-axe Summary

kandi X-RAY | cypress-axe Summary

cypress-axe is a TypeScript library typically used in Testing, Accessibility Testing applications. cypress-axe has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Test accessibility with axe-core in Cypress

            kandi-support Support

              cypress-axe has a low active ecosystem.
              It has 551 star(s) with 79 fork(s). There are 19 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 41 open issues and 46 have been closed. On average issues are closed in 57 days. There are 15 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of cypress-axe is 1.5.0

            kandi-Quality Quality

              cypress-axe has 0 bugs and 0 code smells.

            kandi-Security Security

              cypress-axe has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              cypress-axe code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              cypress-axe is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              cypress-axe releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 14 lines of code, 0 functions and 6 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cypress-axe
            Get all kandi verified functions for this library.

            cypress-axe Key Features

            No Key Features are available at this moment for cypress-axe.

            cypress-axe Examples and Code Snippets

            No Code Snippets are available at this moment for cypress-axe.

            Community Discussions


            An unhandled exception occurred: The requested module 'sourcemap-codec' does not provide an export named 'decode'
            Asked 2022-Mar-03 at 14:48

            On Upgrading, to angular 13, My build step on pipeline is failing. My initial version was 11, on upgrading to 12 the build worked fine but on upgrading from 12 to 13, it started giving me this error on pipeline. The build is running fine on local but failing on pipeline.

            I have also added the package.json file code and dependencies and also added the image that displays error.



            Answered 2022-Mar-03 at 14:48

            I was facing the same issue which is why I stumbled across this post.

            My issue was I was using the wrong node version. I faced a similar issue after upgrading to Angular 13 but I was using node version v14.2.0.

            I changed the node version to v14.15.0 and it worked.

            nvm use v14.15.0

            PS: NVM manages multiple nodejs versions.



            Angular 11 is not running ngcc
            Asked 2021-Apr-19 at 19:46

            I have an old Angular application, which I have upgraded from Angular 9 to Angular 11. (It had many stable upgrades throughout the years, starting from Angular 2)

            My problem is, that the ngcc is not running ng build:



            Answered 2021-Feb-03 at 14:10

            My problem was that an another tsconfig file was overwriting the root's definitions, and turned off ivy and ngcc altogether.




            Issue with Cypress e2e after package updates
            Asked 2021-Jan-21 at 19:52

            I have a project where I have updated all of the packages.

            Before the update all e2e tests functioned as expected.

            After the update, The product itself compiles and runs as expected.

            However, the e2e tests are showing unexpected issues both in the IDE and at run time.

            For example,



            Answered 2021-Jan-21 at 19:52

            Finally figured out a solution after visiting the NPM page for axe-cypress.



            False Positives in Cypress-axe Plugin for Accessibility Testing
            Asked 2021-Jan-06 at 09:11

            I am running accessibility testing using the cypress-axe plugin with cypress and storybook. The cypress-axe plugin continually gives false positives when having made the required changes.

            The false positive is for page-has-heading-one but I clearly have a h1 element present in the screenshot.

            False Positive screenshot

            Cypress version: 6.1

            cypress-axe version: 0.12.0

            Here's the html for the element in question:



            Answered 2021-Jan-06 at 09:11

            Not a false positive.

            The second you gave the

            a role you changed it's semantic meaning.

            role="banner" is effectively the same as

            in HTML5, so you have changed your into a element as far as a computer and assistive technology is concerned.

            Remove that role="banner" from your

            and it will work as expected (and be semantically correct).

            Also while you are tidying things up

            is the same as , you should always try to use semantically correct native HTML elements where you can as they will make your mark-up cleaner and they have wider support.


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install cypress-axe

            Install cypress-axe from npm:. Add a task to log the messages to the terminal.
            Install cypress-axe from npm:
            Install peer dependencies:
            Include the commands. Update cypress/support/index.js file to include the cypress-axe commands by adding:
            Add a task to log the messages to the terminal when Cypress executes the spec files. Example - configuring log task.


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • npm

            npm i cypress-axe

          • CLONE
          • HTTPS


          • CLI

            gh repo clone component-driven/cypress-axe

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link