@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.
@@ -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;AA+IrC,eAAO,MAAM,eAAe,EAAE,IA8C7B,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,IAwC7C,CAAC"}
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;AAyHxE,eAAO,MAAM,KAAK,EAAE,IAAI,EAmHvB,CAAC;AAGF,MAAM,WAAW,YAAY;IAC3B,2EAA2E;IAC3E,YAAY,CAAC,QAAQ,EAAE,MAAM,GA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,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,3 @@
1
+ import type { Rule } from "../types";
2
+ export declare const accessibleAuthentication: Rule;
3
+ //# sourceMappingURL=accessible-authentication.d.ts.map
@@ -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 contains self-referential words like "image" or "photo".
4
- * Screen readers already announce "image"/"graphic" before alt text, so these
5
- * words are redundant. Separate from image-redundant-alt because axe-core
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;AAKrC;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,IAiC3B,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accesslint/core",
3
- "version": "0.8.3",
3
+ "version": "0.8.6",
4
4
  "description": "Pure accessibility rule engine — WCAG audit with zero browser dependencies",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",