axe-core 4.4.2 → 4.4.3-canary.60ec997
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/README.md +1 -1
- package/axe.d.ts +2 -0
- package/axe.js +5137 -4690
- package/axe.min.js +2 -2
- package/locales/_template.json +1015 -0
- package/locales/no_NB.json +797 -0
- package/package.json +54 -57
- package/sri-history.json +317 -309
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ or equivalently:
|
|
|
105
105
|
|
|
106
106
|
This will create a new build for axe, called `axe.<lang>.js` and `axe.<lang>.min.js`. If you want to build localized versions, simply pass in `--all-lang` instead. If you want to build multiple localized versions (but not all of them), you can pass in a comma-separated list of langages to the `--lang` flag, like `--lang=nl,ja`.
|
|
107
107
|
|
|
108
|
-
To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a json file fin the `./locales` directory, with the default English text in it for you to translate. We welcome any localization for axe-core. For details on how to contribute, see the Contributing section below. For details on the message syntax, see [Check Message Template](/docs/check-message-template.md).
|
|
108
|
+
To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a json file fin the `./locales` directory, with the default English text in it for you to translate. Alternatively, you could copy `./locales/_template.json`. We welcome any localization for axe-core. For details on how to contribute, see the Contributing section below. For details on the message syntax, see [Check Message Template](/docs/check-message-template.md).
|
|
109
109
|
|
|
110
110
|
To update existing translation file, re-run `grunt translate --lang=<langcode>`. This will add new messages used in English and remove messages which were not used in English.
|
|
111
111
|
|
package/axe.d.ts
CHANGED
|
@@ -233,6 +233,7 @@ declare namespace axe {
|
|
|
233
233
|
none?: string[];
|
|
234
234
|
tags?: string[];
|
|
235
235
|
matches?: string;
|
|
236
|
+
reviewOnFail?: boolean;
|
|
236
237
|
}
|
|
237
238
|
interface AxePlugin {
|
|
238
239
|
id: string;
|
|
@@ -249,6 +250,7 @@ declare namespace axe {
|
|
|
249
250
|
help: string;
|
|
250
251
|
helpUrl: string;
|
|
251
252
|
tags: string[];
|
|
253
|
+
actIds?: string[];
|
|
252
254
|
}
|
|
253
255
|
interface SerialDqElement {
|
|
254
256
|
source: string;
|