pour-engine 1.31.1 → 1.31.2

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.
@@ -6,6 +6,6 @@
6
6
  export default {
7
7
  engine: {
8
8
  name: 'pour engine',
9
- version: '1.31.1',
9
+ version: '1.31.2',
10
10
  },
11
11
  };
@@ -1,17 +1,19 @@
1
1
  // WCAG SC 1.3.5 Identify Input Purpose (Level AA)
2
2
  // WCAG 1.3.5: autocomplete tokens from the HTML spec's input-purposes list.
3
+ // Membership set, so order is free: kept a-z rather than mirroring the spec
4
+ // table's own sequence.
3
5
  const TOKENS = new Set([
4
- 'on', 'off', 'name', 'honorific-prefix', 'given-name', 'additional-name', 'family-name',
5
- 'honorific-suffix', 'nickname', 'organization-title', 'username', 'new-password',
6
- 'current-password', 'one-time-code', 'organization', 'street-address', 'address-line1',
7
- 'address-line2', 'address-line3', 'address-level1', 'address-level2', 'address-level3',
8
- 'address-level4', 'country', 'country-name', 'postal-code', 'cc-name', 'cc-given-name',
9
- 'cc-additional-name', 'cc-family-name', 'cc-number', 'cc-exp', 'cc-exp-month', 'cc-exp-year',
10
- 'cc-csc', 'cc-type', 'transaction-currency', 'transaction-amount', 'language', 'bday',
11
- 'bday-day', 'bday-month', 'bday-year', 'sex', 'url', 'photo', 'tel', 'tel-country-code',
12
- 'tel-national', 'tel-area-code', 'tel-local', 'tel-local-prefix', 'tel-local-suffix',
13
- 'tel-extension', 'email', 'impp', 'webauthn', 'shipping', 'billing', 'home', 'work',
14
- 'mobile', 'fax', 'pager',
6
+ 'additional-name', 'address-level1', 'address-level2', 'address-level3', 'address-level4',
7
+ 'address-line1', 'address-line2', 'address-line3', 'bday', 'bday-day', 'bday-month',
8
+ 'bday-year', 'billing', 'cc-additional-name', 'cc-csc', 'cc-exp', 'cc-exp-month',
9
+ 'cc-exp-year', 'cc-family-name', 'cc-given-name', 'cc-name', 'cc-number', 'cc-type',
10
+ 'country', 'country-name', 'current-password', 'email', 'family-name', 'fax', 'given-name',
11
+ 'home', 'honorific-prefix', 'honorific-suffix', 'impp', 'language', 'mobile', 'name',
12
+ 'new-password', 'nickname', 'off', 'on', 'one-time-code', 'organization',
13
+ 'organization-title', 'pager', 'photo', 'postal-code', 'sex', 'shipping', 'street-address',
14
+ 'tel', 'tel-area-code', 'tel-country-code', 'tel-extension', 'tel-local', 'tel-local-prefix',
15
+ 'tel-local-suffix', 'tel-national', 'transaction-amount', 'transaction-currency', 'url',
16
+ 'username', 'webauthn', 'work',
15
17
  ]);
16
18
 
17
19
  export default {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pour-engine",
3
- "version": "1.31.1",
3
+ "version": "1.31.2",
4
4
  "description": "Accessibility (WCAG 2.2) audit engine written from the W3C specifications — runs entirely in the browser, no dependencies.",
5
5
  "type": "module",
6
6
  "main": "engine/index.js",