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:59:48 +08:00
parent 9508120293
commit 8ca7f282bc
+4
View File
@@ -191,9 +191,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.