<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/combining-axe-core-and-pa11y-fn0cxyco4" -->

---
title: Combining axe-core and PA11Y | daily.dev
description: Following up on a prior comparison of axe-core and PA11Y accessibility testing tools, the author demonstrates that combining both is much simpler than...
canonical: https://daily.dev/posts/combining-axe-core-and-pa11y-fn0cxyco4
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Combining axe-core and PA11Y | daily.dev
og:description: Following up on a prior comparison of axe-core and PA11Y accessibility testing tools, the author demonstrates that combining both is much simpler than...
og:url: https://daily.dev/posts/combining-axe-core-and-pa11y-fn0cxyco4
og:image: https://api.daily.dev/og/posts/fn0Cxyco4.png
og:image:alt: Combining axe-core and PA11Y
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Combining axe-core and PA11Y

**[Craig Abbott](https://daily.dev/sources/craigabbott)** · 4 min read · 0 upvotes · 0 comments

## Summary

Following up on a prior comparison of axe-core and PA11Y accessibility testing tools, the author demonstrates that combining both is much simpler than expected. Rather than running axe-core via Selenium and PA11Y's own headless Puppeteer browser separately (which is slow), PA11Y supports multiple 'runners' via a simple options array: passing runners: ['htmlcs', 'axe'] runs both HTMLCS (PA11Y's default) and axe-core in a single pass, with each finding different issues on the page.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.craigabbott.co.uk/blog/2021/combining-axe-core-and-pa11y>

## Questions this post answers

### How do I run both axe-core and HTMLCS checks together with PA11Y?

Pass a runners array in the options object when calling PA11Y, for example pa11y('http://localhost:3000', { runners: ['htmlcs', 'axe'] }). HTMLCS is PA11Y's default runner, but it must still be listed explicitly if you're overriding the default. The returned results array will include issues from both runners, each labeled with a runner field showing whether htmlcs or axe found it.

_Anyone wiring up accessibility checks can compare setups like this one on daily.dev._

### Why does axe-core with Selenium and ChromeDriver break so often in accessibility test suites?

Selenium-driven axe-core setups break because ChromeDriver must match the installed Chrome browser version exactly, so every Chrome update can desync the pair even when a Node version manager is in use. PA11Y avoids this by bundling a headless Chrome browser through Puppeteer, removing the need to manage Selenium and ChromeDriver versions separately, which makes test suites like Mocha lighter to set up.

_Developers debugging flaky browser-driven test setups can find similar tooling trade-offs on daily.dev._

## Similar posts on daily.dev

- [Best Test Reporting Tools for Playwright in CI, Compared](https://daily.dev/posts/best-test-reporting-tools-for-playwright-in-ci-compared-pmsifgk90) · Currents · 0 upvotes · 0 comments
- [Selenium vs Cypress vs Playwright: Choosing Your Test Automation Framework](https://daily.dev/posts/selenium-vs-cypress-vs-playwright-choosing-your-test-automation-framework-3uxew2qph) · Stack Overflow Blog · 5 upvotes · 0 comments
- [How AI Agents Replace DOM Scraping with Component-Aware Static Analysis](https://daily.dev/posts/how-ai-agents-replace-dom-scraping-with-component-aware-static-analysis-rmpqjxavb) · monday Engineering · 2 upvotes · 0 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#crawling](https://daily.dev/tags/crawling)

[View this post on daily.dev](https://daily.dev/posts/combining-axe-core-and-pa11y-fn0cxyco4)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Combining axe-core and PA11Y","url":"https://daily.dev/posts/combining-axe-core-and-pa11y-fn0cxyco4","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/combining-axe-core-and-pa11y-fn0cxyco4"},"datePublished":"2026-09-20T07:44:36.859Z","dateModified":"2026-09-20T07:50:00.522Z","description":"Following up on a prior comparison of axe-core and PA11Y accessibility testing tools, the author demonstrates that combining both is much simpler than...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8a23b31a6cfb2005b69c107446a9f63e?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8a23b31a6cfb2005b69c107446a9f63e?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Craig Abbott","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Craig Abbott","logo":"https://media.daily.dev/image/upload/s--7L_KxzEH--/f_auto,q_auto/v1789890198/logos/craigabbott?_a=BAMAMicg0","url":"https://daily.dev/sources/craigabbott"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/combining-axe-core-and-pa11y-fn0cxyco4","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"testing,crawling","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Craig Abbott","item":"https://daily.dev/sources/craigabbott"},{"@type":"ListItem","position":3,"name":"Combining axe-core and PA11Y"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/combining-axe-core-and-pa11y-fn0cxyco4#faq","mainEntity":[{"@type":"Question","name":"How do I run both axe-core and HTMLCS checks together with PA11Y?","acceptedAnswer":{"@type":"Answer","text":"Pass a runners array in the options object when calling PA11Y, for example pa11y('http://localhost:3000', { runners: ['htmlcs', 'axe'] }). HTMLCS is PA11Y's default runner, but it must still be listed explicitly if you're overriding the default. The returned results array will include issues from both runners, each labeled with a runner field showing whether htmlcs or axe found it. Anyone wiring up accessibility checks can compare setups like this one on daily.dev."}},{"@type":"Question","name":"Why does axe-core with Selenium and ChromeDriver break so often in accessibility test suites?","acceptedAnswer":{"@type":"Answer","text":"Selenium-driven axe-core setups break because ChromeDriver must match the installed Chrome browser version exactly, so every Chrome update can desync the pair even when a Node version manager is in use. PA11Y avoids this by bundling a headless Chrome browser through Puppeteer, removing the need to manage Selenium and ChromeDriver versions separately, which makes test suites like Mocha lighter to set up. Developers debugging flaky browser-driven test setups can find similar tooling trade-offs on daily.dev."}}]}
```

