Automated testing with aXe -- A11ycasts #15

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • aXe on GitHub: goo.gl/0FDyHW
    Manually reviewing a site for accessibility issues can be a time consuming process. Automated tools help streamline the work and make it easier to catch subtle mistakes. Today on A11ycasts we'll show one of those tools, a library called aXe, and how you can use it as a drop in script, a Selenium runner, or from your command line.
    ChromeDriver for Selenium:
    chromedriver.s...
    Watch all A11ycasts episodes: goo.gl/06qEUW
    Subscribe to the Chrome Developers RUclips channel for updates on new episodes of A11ycasts: goo.gl/LLLNvf

Комментарии • 34

  • @Ranger2060
    @Ranger2060 7 лет назад +2

    thank you for the really good introduction

  • @sudheendrasubramanya2556
    @sudheendrasubramanya2556 2 года назад +1

    Hay Rob. Thanks for making these videos. Most of the webpages we work with needs credentials to login to it. How can we do it with axe-selenium combo?

  • @xircle
    @xircle 7 лет назад +1

    The aXe Chrome extension is my go-to choice for automated testing. I used WAVE once and it had way too many false positives and was very noisy visually.

    • @silvioaprigio7179
      @silvioaprigio7179 7 лет назад

      Homer Gaines

    • @dp-hy8jz
      @dp-hy8jz 3 года назад

      Hey Homer, do you test accessibility as part of your CI? If yes, could you share more details?

  • @error.418
    @error.418 7 лет назад +1

    9:38 you don't have to restart your terminal to ensure changes to your .bash_profile take affect. Just use the command "source ~/.bash_profile"

    • @dp-hy8jz
      @dp-hy8jz 3 года назад

      Hello, could you please help answer the below question? Appreciate your time and help!
      Do we have an ability to write an automation code that will let Axecore scan all pages with in an Automation test case OR do we have to specify the individual page every single time? For example my cucumber test case (Ruby on Rails) have at least 10+ automation scenarios and each scenarios open several pages of the application being tested. Currently we are calling the step definition that scans the page, every time a single page is referenced. So we end up calling the Axe core step definition multiple times within a single test case. I find this inefficient from code standpoint hence asking a question.
      QUESTION: Do we have an ability to write an automation code that will let Axecore scan all pages with in a Cucumber Automation test case OR do we have to specify the scanning step definition for every single page individually?
      Looking for a response. Thank you again!

    • @error.418
      @error.418 3 года назад

      @@dp-hy8jz How much are you paying and why are you recruiting in the RUclips comments?

  • @varungudisena9463
    @varungudisena9463 4 года назад

    very good explanation

  • @ramalakshmitammineni9288
    @ramalakshmitammineni9288 3 года назад

    your work is awesome

  • @thejaredwilcurt
    @thejaredwilcurt 7 лет назад +2

    Damn, I just released Koa11y a few days ago, it's built on top of Pa11y. Now I'm thinking it may make more sense to add in aXe support. Maybe a future version.

    • @neilosman4440
      @neilosman4440 7 лет назад +1

      Very Nice! Do note that Pa11y (which is dependent on a11y) does not recognize aria-label as a legit source for accName, so Koa11y has too many false positives. BTW, aXe also has some false positives like not recognizing SVG title nodes as a legit source for accName.

    • @MarcySutton
      @MarcySutton 7 лет назад

      SVG title wasn't always exposed, that's why aXe does that. We have an open issue to collect data on support so we can add it, here: github.com/dequelabs/axe-core/issues/20

    • @JoseBolos
      @JoseBolos 7 лет назад +2

      Neil, minor correction, pa11y doesn't use a11y, it uses squizlabs.github.io/HTML_CodeSniffer/

    • @neilosman4440
      @neilosman4440 7 лет назад

      right

  • @doreenfarfan4593
    @doreenfarfan4593 6 лет назад +2

    For the axe-cli, is there a way to only output violations? and is there a way to have the results outputted nicely into a file rather than in the command line output?

    • @RizzyClipz
      @RizzyClipz 4 года назад

      Did you ever find a solution

  • @gotchyared
    @gotchyared 4 года назад

    Thank you for the great info.

  • @art-o-holic1242
    @art-o-holic1242 4 года назад

    This is awesome..thanks so much

  • @devduttanatu7058
    @devduttanatu7058 7 лет назад

    Hey Rob, Very nice series of lectures.
    Is there exclusively any plugin or tool just like 'axe' to test the complaince category wise i.e whether it is 'a', 'aa' or 'aaa' complaince ?

  • @adityabarbadikar9848
    @adityabarbadikar9848 5 лет назад

    How can I get Element source and location in results while performing automated execution?

  • @ashishgujar6540
    @ashishgujar6540 4 года назад

    Does it also output keyboard accessibility issues?

  • @markuslemcke
    @markuslemcke 2 года назад

    Hi Rob, I installed Axe as Chrome-Extensions, but it looks like axe is no longer free to use. Is that right?

  • @DenisTRUFFAUT
    @DenisTRUFFAUT 7 лет назад

    Interesting !

  • @armatearjun
    @armatearjun 7 лет назад

    Anything like this for Android and IOS?

  • @sainaasaimaa
    @sainaasaimaa 5 лет назад

    Do you know how to install this with java ? Instead of js..

  • @ihowaonaro4511
    @ihowaonaro4511 4 года назад

    when I run the axe-webdriverjs tests the exact same way it returns null to the console. it also throws an error when using
    results.violations. Pls how can I sort this out?

  • @Yashwanth.941v
    @Yashwanth.941v 3 года назад

    Google Chrome Developers is using apple mac

  • @John-nd9hl
    @John-nd9hl 7 лет назад +1

    brew install chromedriver

  • @yaseenyaseen1839
    @yaseenyaseen1839 5 лет назад

    Hi

  • @sureshgarine
    @sureshgarine 5 лет назад

    nice explanation. Thank you!