Merge branch 'MDL-71724-master' of https://github.com/sarjona/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2022-02-02 19:03:24 +01:00
4 changed files with 20 additions and 5 deletions
@@ -107,7 +107,7 @@
</div>
<div id="courseindexcollapse{{number}}"
class="courseindex-item-content collapse {{^indexcollapsed}}show{{/indexcollapsed}}"
aria-labelledby="courseindexsection{{number}}"
aria-labelledby="courseindexsection{{number}}" role="group"
>
<ul class="courseindex-sectioncontent unlist" data-for="cmlist" data-id="{{id}}" role="group">
{{#cms}}
+3 -3
View File
File diff suppressed because one or more lines are too long
+15
View File
@@ -0,0 +1,15 @@
Description of axe import into Moodle
1/ Download the latest axe code somewhere (example /tmp/axe) using:
npm install axe-core --save-dev
Note down the version number displayed by the command, to update lib/thirdpartylibs.xml accordingly.
2/ Copy the following file to your local Moodle directory, to replace the old one:
cp node_modules/axe-core/axe.min.js [PATH TO YOUR MOODLE]/lib/behat/axe/
3/ Run behat tests labelled with @accessibility and confirm they are passing with the new library version, or fix the failures
because the new version might raise issues that weren't detected previously:
php admin/tool/behat/cli/init.php --axe
php admin/tool/behat/cli/run.php --tags=@accessibility
+1 -1
View File
@@ -11,7 +11,7 @@
<location>behat/axe</location>
<name>axe-core</name>
<license>MPL</license>
<version>3.5.5</version>
<version>4.3.5</version>
<licenseversion>2.0</licenseversion>
</library>
<library>