Code Monkey home page Code Monkey logo

Comments (3)

sridharbandi avatar sridharbandi commented on June 3, 2024

@kaviarasan96 Currently there is no other way. Can you talk to your n/w team to whitelist it? I will consider this a feature in the next releases.

from java-a11y.

oallauddin avatar oallauddin commented on June 3, 2024

@kaviarasan96
try using local copy of the js file as a test resource.
your test resources should override those in java-a11y.

  1. use java-a11y as test dependency
<dependency>
   <groupId>io.github.sridharbandi</groupId>
   <artifactId>java-a11y</artifactId>
   <version>3.0.0</version>
   <scope>test</scope>
</dependency>
  1. download https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js to src/test/resources/build/HTMLCS.js
  2. download https://github.com/sridharbandi/Java-a11y/blob/master/src/main/resources/js/htmlcs.js to src/test/resources/js/htmlcs.js
  3. replace https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js with ./build/HTMLCS.js in src/test/resources/js/htmlcs.js
  4. run your test

from java-a11y.

sridharbandi avatar sridharbandi commented on June 3, 2024

Closing as there is no activity

from java-a11y.

Related Issues (16)

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.