--- id: axe-playwright-python version: "0.1.8" license: unclear license_treatment: unclear maintenance: active --- # axe-playwright-python — Automated web accessibility testing using axe-core engine and Playwright. License: unclear · Maintenance: active · Downloads: 411.4K/mo ## What it is and what it does axe-playwright-python wraps the axe-core accessibility testing engine for use with Playwright's Python client. It lets you programmatically scan web pages for accessibility violations—missing alt text, contrast issues, keyboard navigation problems, and other WCAG failures—by launching a browser, navigating to a page, and running the audit. The package returns structured results listing violations and their severity. You integrate it into test suites, CI/CD pipelines, or standalone scripts to catch accessibility regressions before deployment. It depends only on playwright, making installation straightforward. The maintainer actively develops it and supports modern Python versions. Use it for: - Run accessibility audits in CI/CD pipelines to gate deployments on WCAG compliance. - Build automated test suites that verify accessibility across multiple pages or user flows. - Generate accessibility audit reports for stakeholder review or compliance documentation. - Detect regressions in accessibility during development by running audits on staging environments. - Integrate accessibility checks into test frameworks alongside functional and performance tests. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Runs automated accessibility audits on web pages using the axe-core engine through Playwright, identifying WCAG violations and accessibility issues. Yes. The package is actively maintained, has low install friction, and solves a real problem—automating accessibility testing with a mature engine (axe-core) and a widely-used browser automation tool (Playwright). The only caveat is the unclear license status; verify the actual license before using in proprietary or commercial projects. ## Install pip install axe-playwright-python uv add axe-playwright-python poetry add axe-playwright-python ## Installing axe-playwright-python Before you install: Low friction: single runtime dependency (playwright) with a wheel distribution available. Actively maintained—last commit 2026-07-24, released 21 days ago. Supports Python 3.8 through 3.14. License in practice: License status is unclear; neither SPDX nor raw license metadata is present in the package metadata. Verify the actual license terms before adopting in a commercial or proprietary context. Quickstart: pip install axe-playwright-python python3 -m playwright install --with-deps from playwright.sync_api import sync_playwright from axe_playwright_python.sync_playwright import Axe axe = Axe() with sync_playwright() as playwright: browser = playwright.chromium.launch() page = browser.new_page() page.goto("https://example.com") results = axe.run(page) print(f"Violations: {results.violations_count}") Requires Python >= 3.8 and playwright >= 1.25.0; playwright install --with-deps must be run to download browser binaries. Verify before relying: - Whether the package's license is compatible with your use case (license metadata is absent from the package record). - Whether async/await patterns are supported in addition to the sync_playwright API shown in the excerpt. ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 411.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags web accessibility testing, axe-core automation, playwright accessibility audit, automated wcag testing, accessibility violations detection, web a11y testing python, accessibility compliance checker, accessibility-testing, wcag-compliance, browser-automation [View on SkillFed](https://skillfed.io/packages/axe-playwright-python) · [View on PyPI](https://pypi.org/project/axe-playwright-python/)