Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 20:13
    jkodu synchronize #1339
  • Jan 31 2019 20:13

    jkodu on core-preload-cssom-updates

    chore: update code owners with … feat(rule): Require unique aria… fix(i18n): Fix Japanese transla… and 6 more (compare)

  • Jan 31 2019 20:08
    jkodu synchronize #1339
  • Jan 31 2019 20:08

    jkodu on core-preload-cssom-updates

    test: update preload related te… (compare)

  • Jan 31 2019 18:54
    stephenmathieson commented #1343
  • Jan 31 2019 18:54
    stephenmathieson synchronize #1343
  • Jan 31 2019 18:54

    stephenmathieson on remove-grunt-lint

    chore: rerun prettier (#1340) Merge branch 'develop' into rem… (compare)

  • Jan 31 2019 16:53
    jkodu edited #1339
  • Jan 31 2019 16:52
    jkodu edited #1339
  • Jan 31 2019 16:50
    jkodu edited #1339
  • Jan 31 2019 16:49
    jkodu synchronize #1339
  • Jan 31 2019 16:49

    jkodu on core-preload-cssom-updates

    fix: update preload cssom to ca… (compare)

  • Jan 31 2019 16:20
    WilcoFiers closed #1342
  • Jan 31 2019 15:27
    tysonwolker starred dequelabs/axe-core
  • Jan 31 2019 10:27

    jkodu on chore-prettier

    (compare)

  • Jan 31 2019 10:27

    jkodu on develop

    chore: rerun prettier (#1340) (compare)

  • Jan 31 2019 10:27
    jkodu closed #1340
  • Jan 31 2019 09:27
    undeadinu starred dequelabs/axe-core
  • Jan 30 2019 19:05
    AdnoC review_requested #1344
  • Jan 30 2019 19:05
    AdnoC opened #1344
Steven Lambert
@straker
@nelsonwong1012 it can be used in either situation. running axe-core or one of the axe extensions is great for in-browser testing, but we also support headless testing in react using react-axe, or using webdriver through axe-webdriverjs
Mohith BP
@bpmohith
Hi All,
I am trying to integrate aXe with JAVA selenium.
Mohith BP
@bpmohith

HI All,
I am trying to integrate aXe with JAVA and selenium.
I am following:
https://github.com/dequelabs/axe-selenium-java
I am running into following errors:
testName cannot be resolved
AXE cannot be resolved

I am not sure what I need to add in the build dependency for AXE.
I have specified: URL scriptUrl = AxeIntegration.class.getResource("/axe.min.js");

Please note: I am not using junit. I am using TestNG.

Adam Cutler
@AdnoC
What are you doing to produce the errors? Compiling the project or your own code?
If AXE cannot be resolved it sounds like you aren't properly adding axe-selenium-java as a dependency
Mohith BP
@bpmohith
Hi @AdnoC It is my own code by following the example test. I have added axe-selenium-3.0-javadoc.jar as dependency in build path of eclipse as external jar. However, I could not find the exact import statement. Could you please elaborate on adding dependency 'axe-selenium-java'. I am a newbie to JAVA and automation just couple of months ago I have self-taught automation.
Mohith BP
@bpmohith

@AdnoC

I have added AXE.java as a dependency.
Now I am getting errors on AXE.java file:
StringUtils cannot be resolved
at accessibilityAutomation.AXE$Builder.analyze(AXE.java:321)

Adam Cutler
@AdnoC
Yeah just adding AXE.java won't work since we have dependencies ourselves (such as using StringUtils from appache commons
If you're just using the project without changing it, adding it as a maven dependency would be simplest.
Mohith BP
@bpmohith
@AdnoC Thank you for the response. I will give a try by following the references you provided.
Adam Cutler
@AdnoC
@bpmohith Hope it goes well. Java can be confusing.
Hari Mannem
@mannem4tech

Hi All,
Have a question on violations count. In our company for the QA side, we are using axe-webdriverjs in the automation framework(protractor-cucumber-framework). Developers are using the Axe Chrome extension.

Today I ran a scenario on one page and compared the violations count of both Axe Chrome extension and axe-webdriverjs reports but got two different report for the same page( the violations is not the same). Do you have any idea why the count is not the same ?

FYI please see this: dequelabs/axe-webdriverjs#139

Steven Lambert
@straker
Hey, @mannem4tech I responded to your question in the issue
Hari Mannem
@mannem4tech
@straker: Thanks for the reply. Checking it.
sonal
@kulshreshtha_so_twitter
Hi Guys, I am new to accessibility world all together.
Is there a way to review entire site using any tool to achieve the AA
vadiraj-infosys
@vadiraj-infosys
Does deque-axe supports crawling to next web-page ? Or should developer should manually go to next web-page and run the Tests ?
Steven Lambert
@straker
@kulshreshtha_so_twitter Welcome! Unfortuantly, due to the nature of accessibility, no tool is capable of catching all accessibility issues. So even if you scanned the site using an accessibililty tool, such as the axe chrome/firefox extensions, you'd still need to do some manual testing with users to ensure there aren't any issues.
@vadiraj-infosys We don't support crawling, so you'll need to open each page and run the tests
Mikko Suonio
@mikkosuonio
Can the browser extensions (Chrome or Firefox) analyze a local file (file-url)? I tried it both on Linux (with the both browsers) and Windows (with Chrome), but got an error:
"Error: Could not establish connection. Receiving end does not exist."
On Firefox the error details message is
"s@moz-extension://06ae806b-5e0f-4037-b570-75313f5fc0f8/panel.bundle.js:48:4919".
Steven Lambert
@straker
@mikkosuonio The extension should have <all_urls> permission, so you might need to allow it on file:// schemas in Chrome https://stackoverflow.com/a/33576033
Mikko Suonio
@mikkosuonio
@straker Thanks! I found an option "Allow access to file URLs" in the extensions details in Chrome. Now it works for file-urls just fine.
bsk402
@bsk402
Hi Guys, What is the current version of axe.min.js?
Is there any upgrades?
Steven Lambert
@straker
@bsk402 axe is currently at 3.4.0
bsk402
@bsk402
@straker Thank you so much. In what location do I have to find axe.min.js file. If it is upgrade to new version later.
Steven Lambert
@straker
that unpkg link should always return the latest version, but you can always npm install axe-core to get the latest axe.min.js https://www.npmjs.com/package/axe-core
bsk402
@bsk402
@straker Thank you so much. But still https://github.com/dequelabs/axe-selenium-java/blob/master/src/test/resources/axe.min.js points to 3.12. Any plans to upgrade this file.
Steven Lambert
@straker
That I don't know off the top of my head. I'll have to find out for you tomorrow
that file seems to be just a test file so I don't know how often they upgrade it for the internal test
bsk402
@bsk402
@straker ok . Thanks for your help.
Mohith BP
@bpmohith
@AdnoC I could get the default project running and get the JSON results.
I found it easy to do on NodeJS with axe-results as I can easily export the JSON to csv.
Please suggest is there any way I can export the results into csv in JAVA + selenium.
All our functionality test framework is in JAVA + Selenium.
I found it easier on NodeJS as I am a newbie in JAVA.
Martin Maugeais
@mrtnmgs_gitlab
FYI the axe chrome extension throws an error on page refresh: Error in event handler: TypeError: Cannot read property 'getCurrent' of undefined
at e (chrome-extension://.../adapter.bundle.js:31:1210)
Steven Lambert
@straker
Thanks for letting us know, getting out a fix
Amber
@banshengbushu
Hi, Could here is the right place if I ask some questions about Axe extension and Chrome lighthouse A11y check?
Amber
@banshengbushu

I'm Confused by the check rules for axe extension and chrome lighthouse few days.
My understanding is they are all based on axe-core so should be follow the same rules from axe-core check rules?

But when I explore something and find not exactly same
Is chrome axe extension exactly follow all of those rules? https://github.com/dequelabs/axe-core/blob/develop/doc/rule-descriptions.md
Is the Lighthouse check rules just those rules in code from line 34 to 51? https://github.com/GoogleChrome/lighthouse/blob/252232db9263750435e471da7ea2da1f97ef0d61/lighthouse-core/gather/gatherers/accessibility.js#L24-L51
Does that mean they followed different check rules?

Thank you all so much if I can get the answer have a nice day.

Steven Lambert
@straker
@banshengbushu This is indeed the right place! The axe extension should be running all rules that are listed in the rule-descriptions file which are Enabled by Default and also runs experimental rules (rules with the experimental tag, which are normally turned off by default in axe-core). Lighthouse runs the default ruleset from axe-core (enabled, non-experimental rules) and the lines you pointed at then enable or disable certain rules.
Amber
@banshengbushu
@straker That's so clear enough!!! thank you so much
Quinten Pohl
@quintenp
Hi folkss, quick question can axe-core target html passed to it or is it only url/driver baseed
eg. can I do axe.run("html") or axe.run(PathToHtml)
Steven Lambert
@straker
@quintenp axe cannot parse HTML strings. You'll either have to have pass an HTML element or use something like JSDOM to parse the HTML and turn it into something axe can use
but it can be passed an HTML element and will only run on the element and it's decendants axe.run(document.body)
Amber
@banshengbushu
Hi folks! I would like to ask for some ideas. I want to integrate the a11y check tool in our project CI, I have done some research recently, It seems like Pa11y with axe runner may a good choice am I right? as Rowanmanning said they plugged the axe-core into the pa11y 5.x, so does that mean it will have consistency check rules with axe chrome plugin am I correct?
I think there are a lot of recommended tools on internet always. Lol
Steven Lambert
@straker
@banshengbushu Yep, it all depends on what test framework you're using. Axe-core can be run natively inside any test framework by passing the subset of the node tree you want checked:
const results = await axe.run(#fixture);
expect(results.violations).to.be.empty;
We also have many examples of using axe in different testing frames in our docs https://github.com/dequelabs/axe-core/tree/develop/doc/examples