mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-81667 libraries: upgrade to version 4.10.0 of axe-core.
This commit is contained in:
parent
a75365f2e4
commit
19f519f155
4
lib/behat/axe/axe.min.js
vendored
4
lib/behat/axe/axe.min.js
vendored
File diff suppressed because one or more lines are too long
@ -13,9 +13,9 @@ using your desired editor and look for the version number of axe-core. Alternati
|
||||
- MacOS:
|
||||
cat package.json | grep axe-core
|
||||
- Linux:
|
||||
cat package.json | grep '"version"' | awk -F '"' '{print $4}'
|
||||
cat package.json | grep axe-core
|
||||
or
|
||||
jq -r '.version' package.json
|
||||
jq -r '.devDependencies."axe-core"' package.json
|
||||
|
||||
2/ Copy the following file to your local Moodle directory, to replace the old one:
|
||||
|
||||
|
@ -14,15 +14,6 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Steps definitions to open and close action menus.
|
||||
*
|
||||
* @package core
|
||||
* @category test
|
||||
* @copyright 2020 Andrew Nicols <andrew@nicols.co.uk>
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
use Behat\Mink\Exception\{DriverException, ExpectationException};
|
||||
|
||||
// NOTE: no MOODLE_INTERNAL test here, this file may be required by behat before including /config.php.
|
||||
@ -45,8 +36,7 @@ class behat_accessibility extends behat_base {
|
||||
* There are standard tags to ensure WCAG 2.1 A, WCAG 2.1 AA, and Section 508 compliance.
|
||||
* It is also possible to specify any desired optional tags.
|
||||
*
|
||||
* The list of available tags can be found at
|
||||
* https://github.com/dequelabs/axe-core/blob/v4.8.4/doc/rule-descriptions.md.
|
||||
* See {@link https://github.com/dequelabs/axe-core/blob/v4.10.0/doc/rule-descriptions.md} for the list of available tags
|
||||
*
|
||||
* @Then the page should meet accessibility standards
|
||||
* @Then the page should meet accessibility standards with :extratags extra tests
|
||||
|
@ -17,7 +17,7 @@
|
||||
<location>behat/axe</location>
|
||||
<name>axe-core</name>
|
||||
<description>Accessibility testing engine for websites and other HTML-based user interfaces.</description>
|
||||
<version>4.8.4</version>
|
||||
<version>4.10.0</version>
|
||||
<license>MPL</license>
|
||||
<licenseversion>2.0</licenseversion>
|
||||
<repository>https://github.com/dequelabs/axe-core</repository>
|
||||
|
Loading…
x
Reference in New Issue
Block a user