Accessibility API

Public classes extracted from this package. It is a companion to the library, so the reference lives here rather than in the main reference.

$ composer require playwright-php/accessibility
Playwright\Accessibility\AxeBuilder Fluent builder for configuring and running axe-core accessibility analysis.
Playwright\Accessibility\AxeResults Contains the results of an axe-core accessibility analysis.
Playwright\Accessibility\Result\Inapplicable Represents an accessibility rule that was not applicable to the page.
Playwright\Accessibility\Result\Incomplete Represents an accessibility rule that could not be fully tested.
Playwright\Accessibility\Testing\MockAxeBuilder Mock AxeBuilder for testing without a real browser.
Playwright\Accessibility\Result\Node Represents a single node (HTML element) affected by an accessibility rule.
Playwright\Accessibility\Result\Pass Represents an accessibility rule that passed.
Playwright\Accessibility\Result\Result Base class for accessibility check results.
Playwright\Accessibility\Result\Violation Represents an accessibility violation found by axe-core.
Playwright\Accessibility\ImpactLevel Severity levels for accessibility violations.
Playwright\Accessibility\RuleId Common axe-core rule identifiers.
Playwright\Accessibility\WcagTag WCAG (Web Content Accessibility Guidelines) conformance level tags.
Playwright\Accessibility\AssertsAccessibility Trait for PHPUnit tests to provide accessibility assertions.