@accesslint/core 0.8.2 → 0.8.4
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 +685 -622
- package/dist/rules/aria/aria-allowed-attr.d.ts.map +1 -1
- 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/package.json +3 -3
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@accesslint/core)
|
|
4
4
|
[](https://github.com/AccessLint/core/blob/main/LICENSE)
|
|
5
5
|
|
|
6
|
-
Pure accessibility rule engine with zero browser dependencies. Covers WCAG 2.
|
|
6
|
+
Pure accessibility rule engine with zero browser dependencies. Covers WCAG 2.2 Level A and AA with best-practice rules included.
|
|
7
7
|
|
|
8
8
|
> Looking for CI? [AccessLint](https://www.accesslint.com?ref=readme_core) runs accessibility checks on every pull request and posts review comments directly on your GitHub PRs.
|
|
9
9
|
|
|
@@ -190,7 +190,7 @@ Helpers for building custom rules:
|
|
|
190
190
|
|
|
191
191
|
## Rules
|
|
192
192
|
|
|
193
|
-
Covers WCAG 2.
|
|
193
|
+
Covers WCAG 2.2 Level A and AA, plus best-practice rules. One additional AAA-level rule (`distinguishable/color-contrast-enhanced`) is bundled but excluded by default; include it via `configureRules({ includeAAA: true })`.
|
|
194
194
|
|
|
195
195
|
Rule IDs match the `ruleId` field in violations and are used with `configureRules()` and `getRuleById()`.
|
|
196
196
|
|
|
@@ -290,6 +290,7 @@ Rule IDs match the `ruleId` field in violations and are used with `configureRule
|
|
|
290
290
|
| `time-based-media/video-captions` | A | 1.2.2 | Videos must have captions. |
|
|
291
291
|
| `time-based-media/audio-transcript` | A | 1.2.1 | Audio elements should have a text alternative. |
|
|
292
292
|
| `distinguishable/color-contrast` | AA | 1.4.3 | Text must have sufficient color contrast. |
|
|
293
|
+
| `input-assistance/accessible-authentication` | AA | 3.3.8 | Password inputs must not block password managers. |
|
|
293
294
|
| `distinguishable/color-contrast-enhanced` | AAA | 1.4.6 | Text must have enhanced color contrast (AAA). |
|
|
294
295
|
|
|
295
296
|
</details>
|
package/dist/i18n/en.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,EAAE,EAAE,SA8FhB,CAAC"}
|
package/dist/i18n/es.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/i18n/es.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/i18n/es.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,EAAE,EAAE,SA8FhB,CAAC"}
|