Download the PHP package playwright-php/accessibility without Composer
On this page you can find all versions of the php package playwright-php/accessibility. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download playwright-php/accessibility
More information about playwright-php/accessibility
Files in playwright-php/accessibility
Package accessibility
Short Description Accessibility testing for Playwright PHP using axe-core. Check web pages for WCAG compliance.
License MIT
Homepage https://playwright-php.dev
Informations about the package accessibility


[](https://packagist.org/packages/playwright-php/accessibility)

Playwright PHP Accessibility
Run axe-core checks in pages controlled by Playwright PHP, inspect the results as PHP objects, or fail PHPUnit tests when violations are found.
Installation
The package requires PHP 8.2 or later and Playwright PHP 1.x.
Quick Start
Use the PHPUnit trait with Playwright PHP's test case:
Configuring an Audit
AxeBuilder can limit the scan to a region, select standards, exclude elements,
or disable rules:
assertIsAccessible() accepts a page, a configured builder, or an existing
result object.
Limits
Automated axe checks detect only part of the accessibility problems a user may encounter. A passing result does not establish WCAG conformance and does not replace keyboard, screen-reader, zoom, motion, or usability testing.
The audit covers the page state at the time it runs. Navigate, authenticate, open dialogs, and trigger dynamic states before making the assertion.
Documentation
Contributing
Install dependencies and browsers, then run code style, static analysis, and the test suite:
License
This package is released under the MIT License.