mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-79674 behat: Use proper tags for testing WCAG 2.1 criteria
`wcag2a` and `wcag2aa` refer to WCAG 2.0 standards. We should be using `wcag21a` and `wcag21aa` to test against WCAG 2.1 standards. See: https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#axe-core-tags
This commit is contained in:
parent
ecb8465ebe
commit
32ae09a672
@ -191,10 +191,10 @@ EOF;
|
||||
if (empty($standardtags)) {
|
||||
$standardtags = [
|
||||
// Meet WCAG 2.1 A requirements.
|
||||
'wcag2a',
|
||||
'wcag21a',
|
||||
|
||||
// Meet WCAG 2.1 AA requirements.
|
||||
'wcag2aa',
|
||||
'wcag21aa',
|
||||
|
||||
// Meet Section 508 requirements.
|
||||
// See https://www.epa.gov/accessibility/what-section-508 for detail.
|
||||
@ -203,7 +203,7 @@ EOF;
|
||||
// Ensure that ARIA attributes are correctly defined.
|
||||
'cat.aria',
|
||||
|
||||
// Requiremetns for sensory and visual cues.
|
||||
// Requirements for sensory and visual cues.
|
||||
// These largely related to viewport scale and zoom functionality.
|
||||
'cat.sensory-and-visual-cues',
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user