axe-core 4.14.0 → 4.14.1-canary.32d9bd5
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 +3 -1
- package/axe.js +1003 -518
- package/axe.min.js +2 -2
- package/locales/README.md +12 -0
- package/package.json +5 -5
- package/sri-history.json +4 -0
package/README.md
CHANGED
|
@@ -20,6 +20,8 @@ With axe-core, you can find **on average 57% of WCAG issues automatically**. Add
|
|
|
20
20
|
|
|
21
21
|
To catch bugs earlier in the development cycle we recommend using the [axe-linter vscode extension](https://marketplace.visualstudio.com/items?itemName=deque-systems.vscode-axe-linter). To improve test coverage even further we recommend the [intelligent guided tests](https://www.youtube.com/watch?v=AtsX0dPCG_4&feature=youtu.be&ab_channel=DequeSystems) in the [axe Extension](https://www.deque.com/axe/browser-extensions/).
|
|
22
22
|
|
|
23
|
+
If you build with an AI coding agent, the [Axe MCP Server](https://docs.deque.com/devtools-server/4.0.0/en/axe-mcp-server) gives your agent the official axe-core rules to scan with as it works. It's free to use, built by the team that maintains axe-core. Paid tiers extend it with advanced rules, automated Intelligent Guided Tests, and shared configuration across teams and organizations.
|
|
24
|
+
|
|
23
25
|
## Getting started
|
|
24
26
|
|
|
25
27
|
First download the package:
|
|
@@ -105,7 +107,7 @@ Axe can be built using your local language. To do so, a localization file must b
|
|
|
105
107
|
|
|
106
108
|
This will create a new build for axe, called `axe.<lang>.js` and `axe.<lang>.min.js`. If you want to build all 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 languages to the `--lang` flag, like `--lang=nl,ja`.
|
|
107
109
|
|
|
108
|
-
To create a new translation for axe, start by running `pnpm run translate -- --lang=<langcode>`. This will create a json file in 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](/doc/check-message-template.md).
|
|
110
|
+
To create a new translation for axe, start by running `pnpm run translate -- --lang=<langcode>`. This will create a json file in 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. New locales need a review by a native-speaking accessibility expert before we can accept them; see [locales/README.md](locales/README.md). For details on how to contribute, see the Contributing section below. For details on the message syntax, see [Check Message Template](/doc/check-message-template.md).
|
|
109
111
|
|
|
110
112
|
To update an existing translation file, re-run `pnpm run translate -- --lang=<langcode>`. This will add new messages used in English and remove messages which were not used in English.
|
|
111
113
|
|