axe-playwright-python 0.1.8__tar.gz → 0.1.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. axe_playwright_python-0.1.9/AGENTS.md +25 -0
  2. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/CHANGELOG.md +6 -0
  3. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/PKG-INFO +1 -1
  4. axe_playwright_python-0.1.9/axe_playwright_python/axe.min.js +12 -0
  5. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/axe_playwright_python/base.py +4 -1
  6. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/pyproject.toml +1 -1
  7. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/tests/test_axe_async_playwright.py +3 -3
  8. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/tests/test_axe_sync_playwright.py +3 -3
  9. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/tests/test_report_save.py +26 -0
  10. axe_playwright_python-0.1.8/axe_playwright_python/axe.min.js +0 -12
  11. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/.github/dependabot.yml +0 -0
  12. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/.github/scripts/check-axe-updates.sh +0 -0
  13. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/.github/scripts/install-axe.sh +0 -0
  14. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/.github/workflows/python.yaml +0 -0
  15. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/.github/workflows/update-axe.yaml +0 -0
  16. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/.gitignore +0 -0
  17. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/.pre-commit-config.yaml +0 -0
  18. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/.vscode/settings.json +0 -0
  19. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/CONTRIBUTING.md +0 -0
  20. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/LICENSE +0 -0
  21. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/README.md +0 -0
  22. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/axe_playwright_python/__init__.py +0 -0
  23. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/axe_playwright_python/async_playwright.py +0 -0
  24. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/axe_playwright_python/sync_playwright.py +0 -0
  25. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/axe_playwright_python/violations.txt +0 -0
  26. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/docs/api.md +0 -0
  27. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/docs/index.md +0 -0
  28. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/docs/usage.md +0 -0
  29. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/examples/usage.py +0 -0
  30. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/mkdocs.yml +0 -0
  31. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/tests/__init__.py +0 -0
  32. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/tests/test_page.html +0 -0
  33. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/tests/test_report.txt +0 -0
  34. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/tests/test_report_color.txt +0 -0
  35. {axe_playwright_python-0.1.8 → axe_playwright_python-0.1.9}/tests/test_result.json +0 -0
@@ -0,0 +1,25 @@
1
+ # Agent Instructions
2
+
3
+ ## Upgrading axe-core
4
+
5
+ To upgrade the bundled `axe-core` JavaScript library (`axe_playwright_python/axe.min.js`), follow these steps:
6
+
7
+ 1. Run the installation script:
8
+ ```bash
9
+ bash .github/scripts/install-axe.sh
10
+ ```
11
+ Optionally, specify a target version (e.g., `4.14.0`):
12
+ ```bash
13
+ bash .github/scripts/install-axe.sh 4.14.0
14
+ ```
15
+
16
+ 2. Run the test suite:
17
+ ```bash
18
+ pytest
19
+ ```
20
+
21
+ 3. Check code formatting and linting:
22
+ ```bash
23
+ ruff check .
24
+ black --check .
25
+ ```
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.1.9] - November 2, 2026
6
+
7
+ - Upgraded axe-core JS version to v4.14.0. You may see the number of violations change as a result, as new axe-core versions sometimes add new rules and update existing ones.
8
+ - This axe-core upgrade fixes relative `@import` URLs in stylesheets being resolved against the page URL instead of the stylesheet URL, which caused spurious 404 requests and incomplete `css-orientation-lock` results.
9
+ - Fixed `generate_report()` raising `TypeError` when a violation targets an element inside shadow DOM (nested target selectors). Shadow DOM targets are now shown as `host >>> element`.
10
+
5
11
  ## [0.1.8] - July 24, 2026
6
12
 
7
13
  - Upgraded axe-core JS version to v4.12.1. You may see the number of violations change as a result, as new axe-core versions sometimes add new rules and update existing ones.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: axe-playwright-python
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Automated web accessibility testing using axe-core engine and Playwright.
5
5
  Keywords: accessibility,axe,axe-core,playwright
6
6
  Author-email: Pamela Fox <pamela.fox@gmail.com>