Update checked-in dependencies
This commit is contained in:
parent
3e913ef09d
commit
9660df3fcc
990 changed files with 74805 additions and 60149 deletions
32
node_modules/axe-core/README.md
generated
vendored
32
node_modules/axe-core/README.md
generated
vendored
|
|
@ -1,10 +1,10 @@
|
|||
# axe-core
|
||||
|
||||
[](LICENSE)
|
||||
[](LICENSE)
|
||||
[](https://www.npmjs.com/package/axe-core)
|
||||
[](https://www.npmjs.com/package/axe-core)
|
||||
[](https://npm-stat.com/charts.html?package=axe-core&from=2017-01-01)
|
||||
[](https://github.com/dequelabs/axe-core/commits/develop)
|
||||
[](https://github.com/dequelabs/axe-core/graphs/contributors)
|
||||
[](https://github.com/dequelabs/axe-core/graphs/contributors)
|
||||
[](https://accessibility.deque.com/axe-community)
|
||||
[](https://packagequality.com/#?package=axe-core)
|
||||
|
||||
|
|
@ -14,14 +14,12 @@ Axe is an accessibility testing engine for websites and other HTML-based user in
|
|||
|
||||
## The Accessibility Rules
|
||||
|
||||
Axe-core has different types of rules, for WCAG 2.0 and 2.1 on level A and AA, as well as a number of best practices that help you identify common accessibility practices like ensuring every page has an `h1` heading, and to help you avoid "gotchas" in ARIA like where an ARIA attribute you used will get ignored.
|
||||
Axe-core has different types of rules, for WCAG 2.0, 2.1, 2.2 on level A, AA and AAA as well as a number of best practices that help you identify common accessibility practices like ensuring every page has an `h1` heading, and to help you avoid "gotchas" in ARIA like where an ARIA attribute you used will get ignored. The complete list of rules, grouped WCAG level and best practice, can found in [doc/rule-descriptions.md](./doc/rule-descriptions.md).
|
||||
|
||||
With axe-core, you can find **on average 57% of WCAG issues automatically**. Additionally, axe-core will return elements as "incomplete" where axe-core could not be certain, and manual review is needed.
|
||||
|
||||
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/).
|
||||
|
||||
The complete list of rules, grouped WCAG level and best practice, can found in [doc/rule-descriptions.md](./doc/rule-descriptions.md).
|
||||
|
||||
## Getting started
|
||||
|
||||
First download the package:
|
||||
|
|
@ -95,7 +93,7 @@ The [axe-core API](doc/API.md) package consists of:
|
|||
|
||||
## Localization
|
||||
|
||||
Axe can be built using your local language. To do so, a localization file must be added to the `./locales` directory. This file must have be named in the following manner: `<langcode>.json`. To build axe using this locale, instead of the default, run axe with the `--lang` flag, like so:
|
||||
Axe can be built using your local language. To do so, a localization file must be added to the `./locales` directory. This file must be named in the following manner: `<langcode>.json`. To build axe using this locale, instead of the default, run axe with the `--lang` flag, like so:
|
||||
|
||||
`grunt build --lang=nl`
|
||||
|
||||
|
|
@ -103,11 +101,11 @@ or equivalently:
|
|||
|
||||
`npm run build -- --lang=nl`
|
||||
|
||||
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 languages to the `--lang` flag, like `--lang=nl,ja`.
|
||||
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`.
|
||||
|
||||
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).
|
||||
To create a new translation for axe, start by running `grunt 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).
|
||||
|
||||
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.
|
||||
To update an 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.
|
||||
|
||||
Additionally, locale can be applied at runtime by passing a `locale` object to `axe.configure()`. The locale object must be of the same shape as existing locales in the `./locales` directory. For example:
|
||||
|
||||
|
|
@ -151,6 +149,10 @@ Axe-core supports the following locales. Do note that since locales are contribu
|
|||
- Polish
|
||||
- Portuguese (Brazilian)
|
||||
- Spanish
|
||||
- Greek
|
||||
- Italian
|
||||
- Simplified Chinese
|
||||
- Traditional Chinese
|
||||
|
||||
## Updates & Security
|
||||
|
||||
|
|
@ -159,6 +161,10 @@ Axe-core has a new minor release every 3 to 5 months, which usually introduces n
|
|||
- See [release and support](doc/release-and-support.md) for details on the frequency of releases, long-term support and recommendations on upgrading axe-core.
|
||||
- See [backward compatibility](doc/backwards-compatibility-doc.md) for details on the types of changes different releases may introduce.
|
||||
|
||||
## Deque Trademarks Policy
|
||||
|
||||
DEQUE, DEQUELABS, AXE®, and AXE-CORE® are trademarks of Deque Systems, Inc. Use of the Deque trademarks must be in accordance with [Deque's trademark policy](https://www.deque.com/legal/trademarks/).
|
||||
|
||||
## Supported ARIA Roles and Attributes.
|
||||
|
||||
Refer [axe-core ARIA support](./doc/aria-supported.md) for a complete list of ARIA supported roles and attributes by axe.
|
||||
|
|
@ -177,6 +183,8 @@ Read the [documentation on contributing](CONTRIBUTING.md)
|
|||
|
||||
## Acknowledgements
|
||||
|
||||
Thanks to Dulin Marat for his [css-selector-parser](https://www.npmjs.com/package/css-selector-parser) implementation which is included for shadow DOM support.
|
||||
Thanks to Marat Dulin for his [css-selector-parser](https://www.npmjs.com/package/css-selector-parser) implementation which is included for shadow DOM support. Another thank you to the [Slick Parser](https://github.com/mootools/slick/blob/master/Source/Slick.Parser.js) implementers for their contribution, we have used some of their algorithms in our shadow DOM support code. Thanks to Lea Verou and Chris Lilley for their [colorjs.io](https://colorjs.io/) library which we have used for converting between color formats.
|
||||
|
||||
Thanks to the [Slick Parser](https://github.com/mootools/slick/blob/master/Source/Slick.Parser.js) implementers for their contribution, we have used some of their algorithms in our shadow DOM support code.
|
||||
## Licenses
|
||||
|
||||
Axe-core is distributed under the [Mozilla Public License, version 2.0](LICENSE). It comes bundled with several dependencies which are distributed under their own terms. (See [LICENSE-3RD-PARTY.txt](LICENSE-3RD-PARTY.txt))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue