@markuplint/ml-spec 3.0.0-rc.4 → 3.0.0

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.
Files changed (84) hide show
  1. package/lib/dom-traverse/get-attr-specs.d.ts +1 -1
  2. package/lib/dom-traverse/get-computed-aria-props.d.ts +5 -5
  3. package/lib/dom-traverse/get-content-model.d.ts +1 -4
  4. package/lib/dom-traverse/get-implicit-role.d.ts +1 -5
  5. package/lib/dom-traverse/get-non-presentational-ancestor.d.ts +4 -10
  6. package/lib/dom-traverse/get-permitted-roles.d.ts +3 -7
  7. package/lib/dom-traverse/get-spec.d.ts +1 -4
  8. package/lib/dom-traverse/has-required-owned-elements.d.ts +1 -6
  9. package/lib/dom-traverse/is-exposed.js +8 -0
  10. package/lib/specs/aria-specs.d.ts +4 -7
  11. package/lib/specs/content-model-category-to-tag-names.d.ts +1 -4
  12. package/lib/specs/get-aria.d.ts +1 -7
  13. package/lib/specs/get-attr-specs.d.ts +2 -6
  14. package/lib/specs/get-implicit-role.d.ts +1 -7
  15. package/lib/specs/get-permitted-roles.d.ts +3 -9
  16. package/lib/specs/get-role-spec.d.ts +3 -10
  17. package/lib/specs/get-selectors-by-content-model-category.d.ts +1 -4
  18. package/lib/specs/get-spec-by-tag-name.d.ts +1 -5
  19. package/lib/specs/is-palpable-elements.d.ts +4 -8
  20. package/lib/specs/schema-to-spec.d.ts +3 -3
  21. package/lib/types/aria.d.ts +114 -128
  22. package/lib/types/attributes.d.ts +111 -1436
  23. package/lib/types/index.d.ts +146 -174
  24. package/lib/types/permitted-structres.d.ts +35 -74
  25. package/lib/types/permitted-structures.d.ts +31 -70
  26. package/lib/utils/merge-array.d.ts +3 -5
  27. package/lib/utils/resolve-namespace.d.ts +4 -4
  28. package/package.json +5 -5
  29. package/schemas/aria.schema.json +0 -258
  30. package/schemas/attributes.schema.json +0 -204
  31. package/schemas/content-models.schema.json +0 -199
  32. package/schemas/element.schema.json +0 -11
  33. package/schemas/global-attributes.schema.json +0 -761
  34. package/src/dom-traverse/accname-computation.spec.ts +0 -69
  35. package/src/dom-traverse/accname-computation.ts +0 -5
  36. package/src/dom-traverse/get-attr-specs.ts +0 -8
  37. package/src/dom-traverse/get-computed-aria-props.spec.ts +0 -368
  38. package/src/dom-traverse/get-computed-aria-props.ts +0 -130
  39. package/src/dom-traverse/get-computed-role.spec.ts +0 -134
  40. package/src/dom-traverse/get-computed-role.ts +0 -181
  41. package/src/dom-traverse/get-content-model.ts +0 -32
  42. package/src/dom-traverse/get-explicit-role.ts +0 -112
  43. package/src/dom-traverse/get-implicit-role.ts +0 -36
  44. package/src/dom-traverse/get-non-presentational-ancestor.ts +0 -20
  45. package/src/dom-traverse/get-permitted-roles.ts +0 -7
  46. package/src/dom-traverse/get-spec.ts +0 -7
  47. package/src/dom-traverse/has-required-owned-elements.spec.ts +0 -36
  48. package/src/dom-traverse/has-required-owned-elements.ts +0 -85
  49. package/src/dom-traverse/is-exposed.spec.ts +0 -50
  50. package/src/dom-traverse/is-exposed.ts +0 -196
  51. package/src/dom-traverse/may-be-focusable.ts +0 -21
  52. package/src/index.ts +0 -24
  53. package/src/specs/aria-specs.ts +0 -6
  54. package/src/specs/content-model-category-to-tag-names.ts +0 -15
  55. package/src/specs/get-aria.ts +0 -85
  56. package/src/specs/get-attr-specs.spec.ts +0 -47
  57. package/src/specs/get-attr-specs.ts +0 -116
  58. package/src/specs/get-implicit-role.spec.ts +0 -81
  59. package/src/specs/get-implicit-role.ts +0 -17
  60. package/src/specs/get-permitted-roles.spec.ts +0 -420
  61. package/src/specs/get-permitted-roles.ts +0 -87
  62. package/src/specs/get-role-spec.spec.ts +0 -67
  63. package/src/specs/get-role-spec.ts +0 -72
  64. package/src/specs/get-selectors-by-content-model-category.ts +0 -10
  65. package/src/specs/get-spec-by-tag-name.spec.ts +0 -68
  66. package/src/specs/get-spec-by-tag-name.ts +0 -20
  67. package/src/specs/is-nothing-content-model.ts +0 -9
  68. package/src/specs/is-palpable-elements.ts +0 -55
  69. package/src/specs/is-presentational.ts +0 -6
  70. package/src/specs/is-void-element.ts +0 -22
  71. package/src/specs/resolve-version.ts +0 -20
  72. package/src/specs/schema-to-spec.spec.ts +0 -39
  73. package/src/specs/schema-to-spec.ts +0 -103
  74. package/src/types/aria.ts +0 -153
  75. package/src/types/attributes.ts +0 -1473
  76. package/src/types/index.ts +0 -255
  77. package/src/types/permitted-structres.ts +0 -100
  78. package/src/types/permitted-structures.ts +0 -96
  79. package/src/utils/get-ns.ts +0 -18
  80. package/src/utils/merge-array.ts +0 -35
  81. package/src/utils/resolve-namespace.spec.ts +0 -37
  82. package/src/utils/resolve-namespace.ts +0 -40
  83. package/tsconfig.test.json +0 -3
  84. package/tsconfig.tsbuildinfo +0 -1
@@ -1,2 +1,2 @@
1
1
  import type { MLMLSpec } from '../types';
2
- export declare function getAttrSpecs(el: Element, schema: MLMLSpec): import('../types').Attribute[] | null;
2
+ export declare function getAttrSpecs(el: Element, schema: MLMLSpec): import("../types").Attribute[] | null;
@@ -1,11 +1,11 @@
1
1
  import type { ARIAVersion, MLMLSpec } from '../types';
2
2
  type ARIAProps = Record<string, ARIAProp>;
3
3
  type ARIAProp = {
4
- name: string;
5
- value: string | undefined;
6
- required: boolean;
7
- deprecated: boolean;
8
- from: ARIAPropReferenceType;
4
+ name: string;
5
+ value: string | undefined;
6
+ required: boolean;
7
+ deprecated: boolean;
8
+ from: ARIAPropReferenceType;
9
9
  };
10
10
  type ARIAPropReferenceType = 'default' | 'html-attr' | 'aria-attr';
11
11
  export declare function getComputedAriaProps(specs: Readonly<MLMLSpec>, el: Element, version: ARIAVersion): ARIAProps;
@@ -1,6 +1,3 @@
1
1
  import type { ElementSpec } from '../types';
2
2
  import type { PermittedContentPattern } from '../types/permitted-structures';
3
- export declare function getContentModel(
4
- el: Element,
5
- specs: Pick<ElementSpec, 'name' | 'contentModel'>[],
6
- ): boolean | PermittedContentPattern[] | null;
3
+ export declare function getContentModel(el: Element, specs: Pick<ElementSpec, 'name' | 'contentModel'>[]): boolean | PermittedContentPattern[] | null;
@@ -1,7 +1,3 @@
1
1
  import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types';
2
2
  export declare function getImplicitRole(specs: Readonly<MLMLSpec>, el: Element, version: ARIAVersion): ComputedRole;
3
- export declare function getImplicitRoleName(
4
- el: Element,
5
- version: ARIAVersion,
6
- specs: Readonly<MLMLSpec>,
7
- ): import('..').ImplicitRole;
3
+ export declare function getImplicitRoleName(el: Element, version: ARIAVersion, specs: Readonly<MLMLSpec>): import("..").ImplicitRole;
@@ -1,11 +1,5 @@
1
1
  import type { ARIAVersion, MLMLSpec } from '../types';
2
- export declare function getNonPresentationalAncestor(
3
- el: Element,
4
- specs: MLMLSpec,
5
- version: ARIAVersion,
6
- ):
7
- | import('../types').ComputedRole
8
- | {
9
- el: null;
10
- role: null;
11
- };
2
+ export declare function getNonPresentationalAncestor(el: Element, specs: MLMLSpec, version: ARIAVersion): import("../types").ComputedRole | {
3
+ el: null;
4
+ role: null;
5
+ };
@@ -1,9 +1,5 @@
1
1
  import type { ARIAVersion, MLMLSpec } from '../types';
2
- export declare function getPermittedRoles(
3
- el: Element,
4
- version: ARIAVersion,
5
- specs: Readonly<MLMLSpec>,
6
- ): {
7
- name: string;
8
- deprecated?: boolean | undefined;
2
+ export declare function getPermittedRoles(el: Element, version: ARIAVersion, specs: Readonly<MLMLSpec>): {
3
+ name: string;
4
+ deprecated?: boolean | undefined;
9
5
  }[];
@@ -1,5 +1,2 @@
1
1
  import type { ElementSpec } from '../types';
2
- export declare function getSpec<K extends keyof ElementSpec>(
3
- el: Element,
4
- specs: Pick<ElementSpec, 'name' | K>[],
5
- ): Pick<ElementSpec, 'name' | K> | null;
2
+ export declare function getSpec<K extends keyof ElementSpec>(el: Element, specs: Pick<ElementSpec, 'name' | K>[]): Pick<ElementSpec, "name" | K> | null;
@@ -1,8 +1,3 @@
1
1
  import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types';
2
2
  export declare function hasRequiredOwnedElement(el: Element, specs: Readonly<MLMLSpec>, version: ARIAVersion): boolean;
3
- export declare function isRequiredOwnedElement(
4
- owned: ComputedRole,
5
- query: string,
6
- specs: MLMLSpec,
7
- version: ARIAVersion,
8
- ): boolean;
3
+ export declare function isRequiredOwnedElement(owned: ComputedRole, query: string, specs: MLMLSpec, version: ARIAVersion): boolean;
@@ -2,8 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isExposed = void 0;
4
4
  const aria_specs_1 = require("../specs/aria-specs");
5
+ const get_spec_by_tag_name_1 = require("../specs/get-spec-by-tag-name");
5
6
  const is_palpable_elements_1 = require("../specs/is-palpable-elements");
6
7
  const is_presentational_1 = require("../specs/is-presentational");
8
+ const resolve_namespace_1 = require("../utils/resolve-namespace");
7
9
  const get_computed_role_1 = require("./get-computed-role");
8
10
  /**
9
11
  * Detect including/excluding from the Accessibility Tree
@@ -19,6 +21,12 @@ function isExposed(el, specs, version) {
19
21
  if (isExcluding(el, specs, version)) {
20
22
  return false;
21
23
  }
24
+ // Return true if the element is unknown, deprecated, or obsolete.
25
+ const { localName, namespace } = (0, resolve_namespace_1.resolveNamespace)(el.localName, el.namespaceURI);
26
+ const spec = (0, get_spec_by_tag_name_1.getSpecByTagName)(specs.specs, localName, namespace);
27
+ if (!spec || spec.deprecated || spec.obsolete) {
28
+ return true;
29
+ }
22
30
  // According to HTML and SVG Specs with **the author's interpretation**
23
31
  {
24
32
  if (!(0, is_palpable_elements_1.isPalpableElement)(el, specs, { extendsSvg: true, extendsExposableElements: true })) {
@@ -1,9 +1,6 @@
1
1
  import type { ARIAVersion, MLMLSpec } from '../types';
2
- export declare function ariaSpecs(
3
- specs: Readonly<MLMLSpec>,
4
- version: ARIAVersion,
5
- ): {
6
- roles: import('../types').ARIARoleInSchema[];
7
- graphicsRoles: import('../types').ARIARoleInSchema[];
8
- props: import('../types').ARIAProperty[];
2
+ export declare function ariaSpecs(specs: Readonly<MLMLSpec>, version: ARIAVersion): {
3
+ roles: import("../types").ARIARoleInSchema[];
4
+ graphicsRoles: import("../types").ARIARoleInSchema[];
5
+ props: import("../types").ARIAProperty[];
9
6
  };
@@ -1,6 +1,3 @@
1
1
  import type { MLMLSpec } from '../types';
2
2
  import type { Category } from '../types/permitted-structures';
3
- export declare function contentModelCategoryToTagNames(
4
- contentModel: Category,
5
- def: MLMLSpec['def'],
6
- ): ReadonlyArray<string>;
3
+ export declare function contentModelCategoryToTagNames(contentModel: Category, def: MLMLSpec['def']): ReadonlyArray<string>;
@@ -1,9 +1,3 @@
1
1
  import type { ARIAVersion, Matches, MLMLSpec } from '../types';
2
2
  import type { ARIA } from '../types/aria';
3
- export declare function getARIA(
4
- specs: Readonly<MLMLSpec>,
5
- localName: string,
6
- namespace: string | null,
7
- version: ARIAVersion,
8
- matches: Matches,
9
- ): Omit<ARIA, ARIAVersion | 'conditions'> | null;
3
+ export declare function getARIA(specs: Readonly<MLMLSpec>, localName: string, namespace: string | null, version: ARIAVersion, matches: Matches): Omit<ARIA, ARIAVersion | 'conditions'> | null;
@@ -1,12 +1,8 @@
1
1
  import type { MLMLSpec, Attribute } from '../types';
2
2
  import type { NamespaceURI } from '@markuplint/ml-ast';
3
- export declare function getAttrSpecs(
4
- localName: string,
5
- namespace: NamespaceURI | null,
6
- schema: MLMLSpec,
7
- ): Attribute[] | null;
3
+ export declare function getAttrSpecs(localName: string, namespace: NamespaceURI | null, schema: MLMLSpec): Attribute[] | null;
8
4
  type HasName = {
9
- name: string;
5
+ name: string;
10
6
  };
11
7
  export declare function nameCompare(a: HasName | string, b: HasName | string): 1 | -1 | 0;
12
8
  export {};
@@ -1,8 +1,2 @@
1
1
  import type { ARIAVersion, Matches, MLMLSpec } from '../types';
2
- export declare function getImplicitRole(
3
- specs: Readonly<MLMLSpec>,
4
- localName: string,
5
- namespace: string | null,
6
- version: ARIAVersion,
7
- matches: Matches,
8
- ): import('..').ImplicitRole;
2
+ export declare function getImplicitRole(specs: Readonly<MLMLSpec>, localName: string, namespace: string | null, version: ARIAVersion, matches: Matches): import("..").ImplicitRole;
@@ -6,13 +6,7 @@ import type { ARIAVersion, Matches, MLMLSpec } from '../types';
6
6
  * - If `true`, this mean is "Any".
7
7
  * - If `false`, this mean is "No".
8
8
  */
9
- export declare function getPermittedRoles(
10
- specs: Readonly<MLMLSpec>,
11
- localName: string,
12
- namespace: string | null,
13
- version: ARIAVersion,
14
- matches: Matches,
15
- ): {
16
- name: string;
17
- deprecated?: boolean;
9
+ export declare function getPermittedRoles(specs: Readonly<MLMLSpec>, localName: string, namespace: string | null, version: ARIAVersion, matches: Matches): {
10
+ name: string;
11
+ deprecated?: boolean;
18
12
  }[];
@@ -1,12 +1,5 @@
1
1
  import type { ARIAVersion, ARIARoleInSchema, MLMLSpec, ARIARole } from '../types';
2
2
  import type { NamespaceURI } from '@markuplint/ml-ast';
3
- export declare function getRoleSpec(
4
- specs: Readonly<MLMLSpec>,
5
- roleName: string,
6
- namespace: NamespaceURI,
7
- version: ARIAVersion,
8
- ):
9
- | (ARIARole & {
10
- superClassRoles: ARIARoleInSchema[];
11
- })
12
- | null;
3
+ export declare function getRoleSpec(specs: Readonly<MLMLSpec>, roleName: string, namespace: NamespaceURI, version: ARIAVersion): (ARIARole & {
4
+ superClassRoles: ARIARoleInSchema[];
5
+ }) | null;
@@ -1,6 +1,3 @@
1
1
  import type { MLMLSpec } from '../types';
2
2
  import type { Category } from '../types/permitted-structures';
3
- export declare function getSelectorsByContentModelCategory(
4
- specs: Readonly<MLMLSpec>,
5
- category: Category,
6
- ): ReadonlyArray<string>;
3
+ export declare function getSelectorsByContentModelCategory(specs: Readonly<MLMLSpec>, category: Category): ReadonlyArray<string>;
@@ -1,6 +1,2 @@
1
1
  import type { ElementSpec } from '../types';
2
- export declare function getSpecByTagName<K extends keyof ElementSpec = keyof ElementSpec>(
3
- specs: Readonly<Pick<ElementSpec, 'name' | K>[]>,
4
- localName: string,
5
- namespace: string | null,
6
- ): Pick<ElementSpec, 'name' | K> | null;
2
+ export declare function getSpecByTagName<K extends keyof ElementSpec = keyof ElementSpec>(specs: Readonly<Pick<ElementSpec, 'name' | K>[]>, localName: string, namespace: string | null): Pick<ElementSpec, "name" | K> | null;
@@ -1,9 +1,5 @@
1
1
  import type { MLMLSpec } from '../types';
2
- export declare function isPalpableElement(
3
- el: Element,
4
- specs: Readonly<MLMLSpec>,
5
- options?: {
6
- extendsSvg?: boolean;
7
- extendsExposableElements?: boolean;
8
- },
9
- ): boolean;
2
+ export declare function isPalpableElement(el: Element, specs: Readonly<MLMLSpec>, options?: {
3
+ extendsSvg?: boolean;
4
+ extendsExposableElements?: boolean;
5
+ }): boolean;
@@ -7,7 +7,7 @@ import type { ElementSpec, ExtendedSpec, MLMLSpec } from '../types';
7
7
  * @param schemas `MLDocument.schemas`
8
8
  */
9
9
  export declare function schemaToSpec(schemas: readonly [MLMLSpec, ...ExtendedSpec[]]): {
10
- cites: import('../types').Cites;
11
- def: import('../types').SpecDefs;
12
- specs: ElementSpec[];
10
+ cites: import("../types").Cites;
11
+ def: import("../types").SpecDefs;
12
+ specs: ElementSpec[];
13
13
  };
@@ -10,141 +10,127 @@ export type ImplicitRole = false | string;
10
10
  /**
11
11
  * If `true`, this mean is "Any". If `false`, this mean is "No".
12
12
  */
13
- export type PermittedRoles =
14
- | boolean
15
- | (
16
- | string
17
- | {
18
- name: string;
19
- deprecated?: true;
20
- [k: string]: unknown;
21
- }
22
- )[]
23
- | {
24
- 'core-aam'?: true;
25
- 'graphics-aam'?: true;
26
- };
13
+ export type PermittedRoles = boolean | (string | {
14
+ name: string;
15
+ deprecated?: true;
16
+ [k: string]: unknown;
17
+ })[] | {
18
+ 'core-aam'?: true;
19
+ 'graphics-aam'?: true;
20
+ };
27
21
  /**
28
22
  * If set false:
29
23
  * > No role or aria-* attributes
30
24
  */
31
- export type PermittedARIAProperties =
32
- | false
33
- | {
34
- global?: true;
35
- /**
36
- * Set true if the spec says "and any aria-* attributes applicable to the allowed roles."
37
- */
38
- role?: true | string | [string, ...string[]];
39
- /**
40
- * @minItems 1
41
- */
42
- only?: [
43
- (
44
- | string
45
- | {
46
- name: string;
47
- value?: string;
48
- }
49
- ),
50
- ...(
51
- | string
52
- | {
53
- name: string;
54
- value?: string;
55
- }
56
- )[],
57
- ];
58
- /**
59
- * @minItems 1
60
- */
61
- without?: [
62
- {
63
- type: 'not-recommended' | 'should-not' | 'must-not';
64
- name: string;
65
- value?: string;
66
- alt?: {
67
- method: 'remove-attr' | 'set-attr';
68
- target: string;
69
- };
70
- },
71
- ...{
72
- type: 'not-recommended' | 'should-not' | 'must-not';
73
- name: string;
74
- value?: string;
75
- alt?: {
76
- method: 'remove-attr' | 'set-attr';
77
- target: string;
78
- };
79
- }[],
80
- ];
81
- };
25
+ export type PermittedARIAProperties = false | {
26
+ global?: true;
27
+ /**
28
+ * Set true if the spec says "and any aria-* attributes applicable to the allowed roles."
29
+ */
30
+ role?: true | string | [string, ...string[]];
31
+ /**
32
+ * @minItems 1
33
+ */
34
+ only?: [
35
+ (string | {
36
+ name: string;
37
+ value?: string;
38
+ }),
39
+ ...(string | {
40
+ name: string;
41
+ value?: string;
42
+ })[]
43
+ ];
44
+ /**
45
+ * @minItems 1
46
+ */
47
+ without?: [
48
+ {
49
+ type: 'not-recommended' | 'should-not' | 'must-not';
50
+ name: string;
51
+ value?: string;
52
+ alt?: {
53
+ method: 'remove-attr' | 'set-attr';
54
+ target: string;
55
+ };
56
+ },
57
+ ...{
58
+ type: 'not-recommended' | 'should-not' | 'must-not';
59
+ name: string;
60
+ value?: string;
61
+ alt?: {
62
+ method: 'remove-attr' | 'set-attr';
63
+ target: string;
64
+ };
65
+ }[]
66
+ ];
67
+ };
82
68
  export interface AriaSchema {
83
- _?: ARIA;
84
- [k: string]: unknown;
69
+ _?: ARIA;
70
+ [k: string]: unknown;
85
71
  }
86
72
  export interface ARIA {
87
- implicitRole: ImplicitRole;
88
- permittedRoles: PermittedRoles;
89
- namingProhibited?: true;
90
- implicitProperties?: ImplicitProperties;
91
- properties?: PermittedARIAProperties;
92
- conditions?: {
93
- /**
94
- * This interface was referenced by `undefined`'s JSON-Schema definition
95
- * via the `patternProperty` ".+".
96
- */
97
- [k: string]: {
98
- implicitRole?: ImplicitRole;
99
- permittedRoles?: PermittedRoles;
100
- namingProhibited?: true;
101
- implicitProperties?: ImplicitProperties;
102
- properties?: PermittedARIAProperties;
103
- };
104
- };
105
- '1.2'?: {
106
- implicitRole?: ImplicitRole;
107
- permittedRoles?: PermittedRoles;
108
- namingProhibited?: true;
109
- implicitProperties?: ImplicitProperties;
110
- properties?: PermittedARIAProperties;
111
- conditions?: {
112
- /**
113
- * This interface was referenced by `undefined`'s JSON-Schema definition
114
- * via the `patternProperty` ".+".
115
- */
116
- [k: string]: {
117
- implicitRole?: ImplicitRole;
118
- permittedRoles?: PermittedRoles;
119
- namingProhibited?: true;
120
- implicitProperties?: ImplicitProperties;
121
- properties?: PermittedARIAProperties;
122
- };
123
- };
124
- };
125
- '1.1'?: {
126
- implicitRole?: ImplicitRole;
127
- permittedRoles?: PermittedRoles;
128
- implicitProperties?: ImplicitProperties;
129
- properties?: PermittedARIAProperties;
130
- conditions?: {
131
- /**
132
- * This interface was referenced by `undefined`'s JSON-Schema definition
133
- * via the `patternProperty` ".+".
134
- */
135
- [k: string]: {
136
- implicitRole?: ImplicitRole;
137
- permittedRoles?: PermittedRoles;
138
- implicitProperties?: ImplicitProperties;
139
- properties?: PermittedARIAProperties;
140
- };
141
- };
142
- };
73
+ implicitRole: ImplicitRole;
74
+ permittedRoles: PermittedRoles;
75
+ namingProhibited?: true;
76
+ implicitProperties?: ImplicitProperties;
77
+ properties?: PermittedARIAProperties;
78
+ conditions?: {
79
+ /**
80
+ * This interface was referenced by `undefined`'s JSON-Schema definition
81
+ * via the `patternProperty` ".+".
82
+ */
83
+ [k: string]: {
84
+ implicitRole?: ImplicitRole;
85
+ permittedRoles?: PermittedRoles;
86
+ namingProhibited?: true;
87
+ implicitProperties?: ImplicitProperties;
88
+ properties?: PermittedARIAProperties;
89
+ };
90
+ };
91
+ '1.2'?: {
92
+ implicitRole?: ImplicitRole;
93
+ permittedRoles?: PermittedRoles;
94
+ namingProhibited?: true;
95
+ implicitProperties?: ImplicitProperties;
96
+ properties?: PermittedARIAProperties;
97
+ conditions?: {
98
+ /**
99
+ * This interface was referenced by `undefined`'s JSON-Schema definition
100
+ * via the `patternProperty` ".+".
101
+ */
102
+ [k: string]: {
103
+ implicitRole?: ImplicitRole;
104
+ permittedRoles?: PermittedRoles;
105
+ namingProhibited?: true;
106
+ implicitProperties?: ImplicitProperties;
107
+ properties?: PermittedARIAProperties;
108
+ };
109
+ };
110
+ };
111
+ '1.1'?: {
112
+ implicitRole?: ImplicitRole;
113
+ permittedRoles?: PermittedRoles;
114
+ implicitProperties?: ImplicitProperties;
115
+ properties?: PermittedARIAProperties;
116
+ conditions?: {
117
+ /**
118
+ * This interface was referenced by `undefined`'s JSON-Schema definition
119
+ * via the `patternProperty` ".+".
120
+ */
121
+ [k: string]: {
122
+ implicitRole?: ImplicitRole;
123
+ permittedRoles?: PermittedRoles;
124
+ implicitProperties?: ImplicitProperties;
125
+ properties?: PermittedARIAProperties;
126
+ };
127
+ };
128
+ };
143
129
  }
144
130
  export interface ImplicitProperties {
145
- /**
146
- * This interface was referenced by `ImplicitProperties`'s JSON-Schema definition
147
- * via the `patternProperty` "^aria-.+".
148
- */
149
- [k: string]: string;
131
+ /**
132
+ * This interface was referenced by `ImplicitProperties`'s JSON-Schema definition
133
+ * via the `patternProperty` "^aria-.+".
134
+ */
135
+ [k: string]: string;
150
136
  }