axe-core 4.3.3 → 4.3.5-canary.1f01309
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 +10 -6
- package/axe.js +749 -507
- package/axe.min.js +2 -2
- package/locales/ko.json +596 -377
- package/package.json +11 -8
- package/sri-history.json +301 -285
- package/CHANGELOG.md +0 -1413
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://github.com/dequelabs/axe-core/commits/develop)
|
|
7
7
|
[](https://github.com/dequelabs/axe-core/graphs/contributors)
|
|
8
8
|
[](https://accessibility.deque.com/axe-community)
|
|
9
|
-
[](https://packagequality.com/#?package=axe-core)
|
|
10
10
|
|
|
11
11
|
Axe is an accessibility testing engine for websites and other HTML-based user interfaces. It's fast, secure, lightweight, and was built to seamlessly integrate with any existing test environment so you can automate accessibility testing alongside your regular functional testing.
|
|
12
12
|
|
package/axe.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ declare namespace axe {
|
|
|
56
56
|
|
|
57
57
|
type RunCallback = (error: Error, results: AxeResults) => void;
|
|
58
58
|
|
|
59
|
-
type ElementContext = Node | string | ContextObject;
|
|
59
|
+
type ElementContext = Node | NodeList | string | ContextObject;
|
|
60
60
|
|
|
61
61
|
interface TestEngine {
|
|
62
62
|
name: string;
|
|
@@ -187,10 +187,7 @@ declare namespace axe {
|
|
|
187
187
|
cssColors?: { [key: string]: number[] };
|
|
188
188
|
}
|
|
189
189
|
interface Spec {
|
|
190
|
-
branding?:
|
|
191
|
-
brand?: string;
|
|
192
|
-
application?: string;
|
|
193
|
-
};
|
|
190
|
+
branding?: string | Branding;
|
|
194
191
|
reporter?: ReporterVersion;
|
|
195
192
|
checks?: Check[];
|
|
196
193
|
rules?: Rule[];
|
|
@@ -203,6 +200,13 @@ declare namespace axe {
|
|
|
203
200
|
// Deprecated - do not use.
|
|
204
201
|
ver?: string;
|
|
205
202
|
}
|
|
203
|
+
/**
|
|
204
|
+
* @deprecated Use branding: string instead to set the application key in help URLs
|
|
205
|
+
*/
|
|
206
|
+
interface Branding {
|
|
207
|
+
brand?: string;
|
|
208
|
+
application?: string;
|
|
209
|
+
}
|
|
206
210
|
interface Check {
|
|
207
211
|
id: string;
|
|
208
212
|
evaluate?: Function | string;
|
|
@@ -265,7 +269,7 @@ declare namespace axe {
|
|
|
265
269
|
frameContext: ContextObject;
|
|
266
270
|
}
|
|
267
271
|
interface Utils {
|
|
268
|
-
getFrameContexts: (context?: ElementContext) => FrameContext[];
|
|
272
|
+
getFrameContexts: (context?: ElementContext, options?: RunOptions) => FrameContext[];
|
|
269
273
|
shadowSelect: (selector: CrossTreeSelector) => Element | null;
|
|
270
274
|
}
|
|
271
275
|
interface EnvironmentData {
|