MDL-84590 tool_behat: Axe tests must use all wcag rules

Rules are not additive. That is to say that the wcag22a tag does not
include wcag21a or wcag2a. They all need to be specified.
This commit is contained in:
Andrew Nicols
2025-02-20 09:58:44 +08:00
parent 77a7d81290
commit 2e1cdde8e4
+4
View File
@@ -181,9 +181,13 @@ EOF;
if (empty($standardtags)) {
$standardtags = [
// Meet WCAG 2.2 Level A success criteria.
'wcag2a',
'wcag21a',
'wcag22a',
// Meet WCAG 2.2 Level AA success criteria.
'wcag2aa',
'wcag21aa',
'wcag22aa',
// Meet Section 508 requirements.