WcagTag
Playwright\Accessibility\WcagTag
WCAG (Web Content Accessibility Guidelines) conformance level tags.
These tags can be used with AxeBuilder::withTags() to run only rules
associated with a specific accessibility standard.
$ composer require playwright-php/accessibility
Methods
toString()
stringConvert enum value to string for use with axe-core API.
function toString(): string
wcag20()
arrayGet all WCAG 2.0 tags.
function wcag20(): array
wcag21()
arrayGet all WCAG 2.1 tags.
function wcag21(): array
wcag22()
arrayGet all WCAG 2.2 tags.
function wcag22(): array