Metadata-Version: 2.4
Name: a11yguard
Version: 0.1.0
Summary: Accessibility testing for Playwright and Selenium in Python
Author: A11yGuard
License: Apache-2.0
Project-URL: Homepage, https://github.com/shipeecon/a11yguard
Project-URL: Issues, https://github.com/shipeecon/a11yguard/issues
Keywords: accessibility,a11y,playwright,selenium,axe
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pytest>=7.0
Provides-Extra: playwright
Requires-Dist: playwright>=1.40; extra == "playwright"
Requires-Dist: pytest-playwright>=0.5; extra == "playwright"
Provides-Extra: selenium
Requires-Dist: selenium>=4.0; extra == "selenium"
Dynamic: license-file

# a11yguard

Accessibility testing for Playwright and Selenium in Python.

```bash
pip install "a11yguard[playwright]"
# or: pip install "a11yguard[selenium]"
```

```python
import pytest

@pytest.mark.accessibility(standard="WCAG2AA", fail_on=["CRITICAL", "SERIOUS"])
def test_home_page(page):
    page.goto("https://example.com")
```

The pytest plugin scans the `page` or `driver` fixture after the test. Reports are written to `target/a11yguard-report`.
