axe 8.1.2 → 9.0.0
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 +5 -32
- package/dist/axe.js +2911 -3085
- package/dist/axe.min.js +1 -1
- package/lib/index.js +196 -253
- package/package.json +30 -78
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# Axe
|
|
2
2
|
|
|
3
|
-
[](https://codecov.io/gh/cabinjs/axe)
|
|
3
|
+
[](https://github.com/cabinjs/axe/actions/workflows/ci.yml)
|
|
5
4
|
[](https://github.com/sindresorhus/xo)
|
|
6
5
|
[](https://github.com/prettier/prettier)
|
|
7
6
|
[](https://github.com/lassjs/lass)
|
|
@@ -44,12 +43,6 @@
|
|
|
44
43
|
npm install axe
|
|
45
44
|
```
|
|
46
45
|
|
|
47
|
-
[yarn][]:
|
|
48
|
-
|
|
49
|
-
```sh
|
|
50
|
-
yarn add axe
|
|
51
|
-
```
|
|
52
|
-
|
|
53
46
|
### Browser
|
|
54
47
|
|
|
55
48
|
See [Browser](#browser-1) usage below for more information.
|
|
@@ -165,7 +158,7 @@ axe.info('hello world');
|
|
|
165
158
|
**The browser-ready bundle is only 36 KB (minified and gzipped)**.
|
|
166
159
|
|
|
167
160
|
```html
|
|
168
|
-
<script src="https://polyfill.io/v3/polyfill.min.js?features=
|
|
161
|
+
<script src="https://polyfill.io/v3/polyfill.min.js?features=WeakRef,BigInt"></script>
|
|
169
162
|
<script src="https://unpkg.com/axe"></script>
|
|
170
163
|
<script type="text/javascript">
|
|
171
164
|
(function() {
|
|
@@ -180,29 +173,11 @@ axe.info('hello world');
|
|
|
180
173
|
We recommend using <https://polyfill.io> (specifically with the bundle mentioned in [VanillaJS](#vanillajs) above):
|
|
181
174
|
|
|
182
175
|
```html
|
|
183
|
-
<script src="https://polyfill.io/v3/polyfill.min.js?features=
|
|
176
|
+
<script src="https://polyfill.io/v3/polyfill.min.js?features=WeakRef,BigInt"></script>
|
|
184
177
|
```
|
|
185
178
|
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
* Math.sign() is not supported in IE 10
|
|
189
|
-
* Promise is not supported in Opera Mobile 12.1, Opera Mini all, IE Mobile 10, IE 10, Blackberry Browser 7
|
|
190
|
-
* Reflect is not supported in IE 10
|
|
191
|
-
* Symbol.iterator() is not supported in IE 10
|
|
192
|
-
* Symbol.prototype() is not supported in IE 10
|
|
193
|
-
* Symbol.toPrimitive() is not supported in IE 10
|
|
194
|
-
* Symbol.toStringTag() is not supported in IE 10
|
|
195
|
-
* Uint32Array is not supported in IE Mobile 10, IE 10, Blackberry Browser 7
|
|
196
|
-
* window\.crypto() is not supported in IE 10
|
|
197
|
-
* Object.assign() is not supported in IE 10
|
|
198
|
-
* Object.getOwnPropertySymbols() is not supported in IE 10
|
|
199
|
-
* Array.from() is not supported in IE 10
|
|
200
|
-
* Set is not supported in IE 10
|
|
201
|
-
* Symbol is not supported in IE 10
|
|
202
|
-
* BigInt is not supported in IE 10
|
|
203
|
-
* WeakMap is not supported in IE 10
|
|
204
|
-
* WeakRef is not supported in Opera 81, IE 10
|
|
205
|
-
* WeakSet is not supported in IE 10
|
|
179
|
+
* WeakRef is not supported in Opera 85, iOS Safari 12.2-12.5
|
|
180
|
+
* BigInt is not supported in iOS Safari 12.2-12.5
|
|
206
181
|
|
|
207
182
|
#### Bundler
|
|
208
183
|
|
|
@@ -470,8 +445,6 @@ If you are seeking permission to use these trademarks, then please [contact us](
|
|
|
470
445
|
|
|
471
446
|
[npm]: https://www.npmjs.com/
|
|
472
447
|
|
|
473
|
-
[yarn]: https://yarnpkg.com/
|
|
474
|
-
|
|
475
448
|
[lad]: https://lad.js.org/
|
|
476
449
|
|
|
477
450
|
[cabin]: https://cabinjs.com/
|