axe-core 4.11.0-canary.fde5ef9 → 4.11.1-canary.0489e30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/axe.d.ts +4 -2
- package/axe.js +89 -38
- package/axe.min.js +3 -3
- package/locales/_template.json +5 -2
- package/package.json +3 -5
- package/sri-history.json +405 -405
package/locales/_template.json
CHANGED
|
@@ -462,6 +462,7 @@
|
|
|
462
462
|
"fail": {
|
|
463
463
|
"singular": "aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",
|
|
464
464
|
"plural": "aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",
|
|
465
|
+
"unsupported": "Multiple IDs in aria-errormessage is not widely supported in assistive technologies",
|
|
465
466
|
"hidden": "aria-errormessage value `${data.values}` cannot reference a hidden element"
|
|
466
467
|
},
|
|
467
468
|
"incomplete": {
|
|
@@ -628,7 +629,8 @@
|
|
|
628
629
|
"equalRatio": "Element has a 1:1 contrast ratio with the background",
|
|
629
630
|
"shortTextContent": "Element content is too short to determine if it is actual text content",
|
|
630
631
|
"nonBmp": "Element content contains only non-text characters",
|
|
631
|
-
"pseudoContent": "Element's background color could not be determined due to a pseudo element"
|
|
632
|
+
"pseudoContent": "Element's background color could not be determined due to a pseudo element",
|
|
633
|
+
"colorParse": "Could not parse color string ${data.colorParse}"
|
|
632
634
|
}
|
|
633
635
|
},
|
|
634
636
|
"color-contrast": {
|
|
@@ -655,7 +657,8 @@
|
|
|
655
657
|
"equalRatio": "Element has a 1:1 contrast ratio with the background",
|
|
656
658
|
"shortTextContent": "Element content is too short to determine if it is actual text content",
|
|
657
659
|
"nonBmp": "Element content contains only non-text characters",
|
|
658
|
-
"pseudoContent": "Element's background color could not be determined due to a pseudo element"
|
|
660
|
+
"pseudoContent": "Element's background color could not be determined due to a pseudo element",
|
|
661
|
+
"colorParse": "Could not parse color string ${data.colorParse}"
|
|
659
662
|
}
|
|
660
663
|
},
|
|
661
664
|
"link-in-text-block-style": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axe-core",
|
|
3
3
|
"description": "Accessibility engine for automated Web UI testing",
|
|
4
|
-
"version": "4.11.
|
|
4
|
+
"version": "4.11.1-canary.0489e30",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=4"
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"build": "grunt",
|
|
79
79
|
"patch": "npx patch-package",
|
|
80
80
|
"unpatch": "npx patch-package --reverse",
|
|
81
|
-
"eslint": "eslint --color --format stylish '{lib,test,build,doc}/**/*.js' 'Gruntfile.js'",
|
|
81
|
+
"eslint": "eslint --color --format stylish '{lib,test,build,doc}/**/*.js' 'Gruntfile.js' '.github/bin/*.mjs'",
|
|
82
82
|
"test": "npm run test:tsc && run-s \"test:unit:* -- {@}\" --",
|
|
83
83
|
"test:tsc": "tsc",
|
|
84
84
|
"test:unit": "karma start test/karma.conf.js",
|
|
@@ -108,7 +108,6 @@
|
|
|
108
108
|
"version": "echo \"use 'npm run release' to bump axe-core version\" && exit 1",
|
|
109
109
|
"release": "git fetch origin --tags --force && standard-version -a",
|
|
110
110
|
"rule-gen": "node build/rule-generator",
|
|
111
|
-
"next-release": "standard-version --scripts.prebump=./build/next-version.js --skip.commit=true --skip.tag=true",
|
|
112
111
|
"sri-update": "grunt build && node build/sri-update && git add sri-history.json",
|
|
113
112
|
"sri-validate": "node build/sri-update --validate",
|
|
114
113
|
"fmt": "prettier --write .",
|
|
@@ -128,7 +127,6 @@
|
|
|
128
127
|
"@types/node": "^4.9.5",
|
|
129
128
|
"aria-practices": "github:w3c/aria-practices#ce0336bd82d7d3651abcbde86af644197ddbc629",
|
|
130
129
|
"aria-query": "^5.1.3",
|
|
131
|
-
"browser-driver-manager": "1.0.4",
|
|
132
130
|
"chai": "^4.3.7",
|
|
133
131
|
"chalk": "^4.x",
|
|
134
132
|
"chromedriver": "latest",
|
|
@@ -194,7 +192,7 @@
|
|
|
194
192
|
"*.{md,json,ts,html}": [
|
|
195
193
|
"prettier --write"
|
|
196
194
|
],
|
|
197
|
-
"*.js": [
|
|
195
|
+
"*.{js,mjs}": [
|
|
198
196
|
"prettier --write",
|
|
199
197
|
"eslint --fix"
|
|
200
198
|
]
|