@accesslint/core 0.8.3 → 0.8.6
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 -2
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/es.d.ts.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.iife.js +2 -2
- package/dist/index.js +705 -654
- package/dist/rules/aria/aria-allowed-role.d.ts.map +1 -1
- package/dist/rules/aria/presentational-children-focusable.d.ts.map +1 -1
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/input-assistance/accessible-authentication.d.ts +3 -0
- package/dist/rules/input-assistance/accessible-authentication.d.ts.map +1 -0
- package/dist/rules/text-alternatives/image-alt-words.d.ts +4 -4
- package/dist/rules/text-alternatives/image-alt-words.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aria-allowed-role.d.ts","sourceRoot":"","sources":["../../../src/rules/aria/aria-allowed-role.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"aria-allowed-role.d.ts","sourceRoot":"","sources":["../../../src/rules/aria/aria-allowed-role.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAgJrC,eAAO,MAAM,eAAe,EAAE,IA8C7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentational-children-focusable.d.ts","sourceRoot":"","sources":["../../../src/rules/aria/presentational-children-focusable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AA6BrC,eAAO,MAAM,+BAA+B,EAAE,
|
|
1
|
+
{"version":3,"file":"presentational-children-focusable.d.ts","sourceRoot":"","sources":["../../../src/rules/aria/presentational-children-focusable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AA6BrC,eAAO,MAAM,+BAA+B,EAAE,IA2C7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA4HxE,eAAO,MAAM,KAAK,EAAE,IAAI,EAsHvB,CAAC;AAGF,MAAM,WAAW,YAAY;IAC3B,2EAA2E;IAC3E,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;IACxC,8CAA8C;IAC9C,aAAa,IAAI,SAAS,EAAE,CAAC;IAC7B,oDAAoD;IACpD,eAAe,IAAI;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACxD;AAWD,MAAM,WAAW,gBAAgB;IAC/B,oEAAoE;IACpE,eAAe,CAAC,EAAE,IAAI,EAAE,CAAC;IACzB,0BAA0B;IAC1B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,oDAAoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;wDACoD;IACpD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAiB9D;AAED;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,IAAI,EAAE,CAiBvC;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,QAAQ,GAAG,YAAY,CA+B9D;AAED,wBAAgB,cAAc,IAAI,IAAI,CAOrC;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,QAAQ,GAAG,WAAW,CAoBnD;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,GAAG,UAAU,CAgC7E;AAID,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAQxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accessible-authentication.d.ts","sourceRoot":"","sources":["../../../src/rules/input-assistance/accessible-authentication.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AASrC,eAAO,MAAM,wBAAwB,EAAE,IA0DtC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Rule } from "../types";
|
|
2
2
|
/**
|
|
3
|
-
* Checks if alt text
|
|
4
|
-
* Screen readers already announce "image"/"graphic" before alt
|
|
5
|
-
*
|
|
6
|
-
* does not have an equivalent check.
|
|
3
|
+
* Checks if alt text starts with a self-referential prefix like "image of"
|
|
4
|
+
* or "photo:". Screen readers already announce "image"/"graphic" before alt
|
|
5
|
+
* text, so these prefixes are redundant. Separate from image-redundant-alt
|
|
6
|
+
* because axe-core does not have an equivalent check.
|
|
7
7
|
*/
|
|
8
8
|
export declare const imageAltWords: Rule;
|
|
9
9
|
//# sourceMappingURL=image-alt-words.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-alt-words.d.ts","sourceRoot":"","sources":["../../../src/rules/text-alternatives/image-alt-words.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"image-alt-words.d.ts","sourceRoot":"","sources":["../../../src/rules/text-alternatives/image-alt-words.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAerC;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,IAkC3B,CAAC"}
|