@marko/language-server 1.1.5 → 1.1.7

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,511 +1,541 @@
1
1
  export declare const keyboard: {
2
2
  /**
3
3
  * - Ensures every accesskey attribute value is unique
4
- * - accesskey attribute value should be unique ([url](https://dequeuniversity.com/rules/axe/4.4/accesskeys?application=axeAPI))
4
+ * - accesskey attribute value should be unique ([url](https://dequeuniversity.com/rules/axe/4.8/accesskeys?application=axeAPI))
5
5
  */
6
6
  accesskeys: string;
7
7
  /**
8
8
  * - Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content
9
- * - Page must have means to bypass repeated blocks ([url](https://dequeuniversity.com/rules/axe/4.4/bypass?application=axeAPI))
9
+ * - Page must have means to bypass repeated blocks ([url](https://dequeuniversity.com/rules/axe/4.8/bypass?application=axeAPI))
10
10
  */
11
11
  bypass: string;
12
12
  /**
13
13
  * - Ensures elements in the focus order have a role appropriate for interactive content
14
- * - Elements in the focus order should have an appropriate role ([url](https://dequeuniversity.com/rules/axe/4.4/focus-order-semantics?application=axeAPI))
14
+ * - Elements in the focus order should have an appropriate role ([url](https://dequeuniversity.com/rules/axe/4.8/focus-order-semantics?application=axeAPI))
15
15
  */
16
16
  focusOrderSemantics: string;
17
17
  /**
18
18
  * - Ensures `<frame>` and `<iframe>` elements with focusable content do not have tabindex=-1
19
- * - Frames with focusable content must not have tabindex=-1 ([url](https://dequeuniversity.com/rules/axe/4.4/frame-focusable-content?application=axeAPI))
19
+ * - Frames with focusable content must not have tabindex=-1 ([url](https://dequeuniversity.com/rules/axe/4.8/frame-focusable-content?application=axeAPI))
20
20
  */
21
21
  frameFocusableContent: string;
22
22
  /**
23
23
  * - Ensures interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies
24
- * - Interactive controls must not be nested ([url](https://dequeuniversity.com/rules/axe/4.4/nested-interactive?application=axeAPI))
24
+ * - Interactive controls must not be nested ([url](https://dequeuniversity.com/rules/axe/4.8/nested-interactive?application=axeAPI))
25
25
  */
26
26
  nestedInteractive: string;
27
27
  /**
28
28
  * - Ensures all page content is contained by landmarks
29
- * - All page content should be contained by landmarks ([url](https://dequeuniversity.com/rules/axe/4.4/region?application=axeAPI))
29
+ * - All page content should be contained by landmarks ([url](https://dequeuniversity.com/rules/axe/4.8/region?application=axeAPI))
30
30
  */
31
31
  region: string;
32
32
  /**
33
33
  * - Ensure elements that have scrollable content are accessible by keyboard
34
- * - Scrollable region must have keyboard access ([url](https://dequeuniversity.com/rules/axe/4.4/scrollable-region-focusable?application=axeAPI))
34
+ * - Scrollable region must have keyboard access ([url](https://dequeuniversity.com/rules/axe/4.8/scrollable-region-focusable?application=axeAPI))
35
35
  */
36
36
  scrollableRegionFocusable: string;
37
37
  /**
38
38
  * - Ensure all skip links have a focusable target
39
- * - The skip-link target should exist and be focusable ([url](https://dequeuniversity.com/rules/axe/4.4/skip-link?application=axeAPI))
39
+ * - The skip-link target should exist and be focusable ([url](https://dequeuniversity.com/rules/axe/4.8/skip-link?application=axeAPI))
40
40
  */
41
41
  skipLink: string;
42
42
  /**
43
43
  * - Ensures tabindex attribute values are not greater than 0
44
- * - Elements should not have tabindex greater than zero ([url](https://dequeuniversity.com/rules/axe/4.4/tabindex?application=axeAPI))
44
+ * - Elements should not have tabindex greater than zero ([url](https://dequeuniversity.com/rules/axe/4.8/tabindex?application=axeAPI))
45
45
  */
46
46
  tabindex: string;
47
47
  };
48
48
  export declare const textAlternatives: {
49
49
  /**
50
50
  * - Ensures `<area>` elements of image maps have alternate text
51
- * - Active `<area>` elements must have alternate text ([url](https://dequeuniversity.com/rules/axe/4.4/area-alt?application=axeAPI))
51
+ * - Active `<area>` elements must have alternate text ([url](https://dequeuniversity.com/rules/axe/4.8/area-alt?application=axeAPI))
52
52
  */
53
53
  areaAlt: string;
54
54
  /**
55
55
  * - Ensures each HTML document contains a non-empty `<title>` element
56
- * - Documents must have `<title>` element to aid in navigation ([url](https://dequeuniversity.com/rules/axe/4.4/document-title?application=axeAPI))
56
+ * - Documents must have `<title>` element to aid in navigation ([url](https://dequeuniversity.com/rules/axe/4.8/document-title?application=axeAPI))
57
57
  */
58
58
  documentTitle: string;
59
59
  /**
60
60
  * - Ensures `<iframe>` and `<frame>` elements contain a unique title attribute
61
- * - Frames should have a unique title attribute ([url](https://dequeuniversity.com/rules/axe/4.4/frame-title-unique?application=axeAPI))
61
+ * - Frames must have a unique title attribute ([url](https://dequeuniversity.com/rules/axe/4.8/frame-title-unique?application=axeAPI))
62
62
  */
63
63
  frameTitleUnique: string;
64
64
  /**
65
65
  * - Ensures `<iframe>` and `<frame>` elements have an accessible name
66
- * - Frames must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.4/frame-title?application=axeAPI))
66
+ * - Frames must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.8/frame-title?application=axeAPI))
67
67
  */
68
68
  frameTitle: string;
69
69
  /**
70
70
  * - Ensures `<img>` elements have alternate text or a role of none or presentation
71
- * - Images must have alternate text ([url](https://dequeuniversity.com/rules/axe/4.4/image-alt?application=axeAPI))
71
+ * - Images must have alternate text ([url](https://dequeuniversity.com/rules/axe/4.8/image-alt?application=axeAPI))
72
72
  */
73
73
  imageAlt: string;
74
74
  /**
75
75
  * - Ensure image alternative is not repeated as text
76
- * - Alternative text of images should not be repeated as text ([url](https://dequeuniversity.com/rules/axe/4.4/image-redundant-alt?application=axeAPI))
76
+ * - Alternative text of images should not be repeated as text ([url](https://dequeuniversity.com/rules/axe/4.8/image-redundant-alt?application=axeAPI))
77
77
  */
78
78
  imageRedundantAlt: string;
79
79
  /**
80
80
  * - Ensures `<input type="image">` elements have alternate text
81
- * - Image buttons must have alternate text ([url](https://dequeuniversity.com/rules/axe/4.4/input-image-alt?application=axeAPI))
81
+ * - Image buttons must have alternate text ([url](https://dequeuniversity.com/rules/axe/4.8/input-image-alt?application=axeAPI))
82
82
  */
83
83
  inputImageAlt: string;
84
84
  /**
85
85
  * - Ensures `<object>` elements have alternate text
86
- * - `<object>` elements must have alternate text ([url](https://dequeuniversity.com/rules/axe/4.4/object-alt?application=axeAPI))
86
+ * - `<object>` elements must have alternate text ([url](https://dequeuniversity.com/rules/axe/4.8/object-alt?application=axeAPI))
87
87
  */
88
88
  objectAlt: string;
89
89
  /**
90
- * - Ensures [role='img'] elements have alternate text
91
- * - [role='img'] elements must have an alternative text ([url](https://dequeuniversity.com/rules/axe/4.4/role-img-alt?application=axeAPI))
90
+ * - Ensures [role="img"] elements have alternate text
91
+ * - [role="img"] elements must have an alternative text ([url](https://dequeuniversity.com/rules/axe/4.8/role-img-alt?application=axeAPI))
92
92
  */
93
93
  roleImgAlt: string;
94
94
  /**
95
95
  * - Ensures that server-side image maps are not used
96
- * - Server-side image maps must not be used ([url](https://dequeuniversity.com/rules/axe/4.4/server-side-image-map?application=axeAPI))
96
+ * - Server-side image maps must not be used ([url](https://dequeuniversity.com/rules/axe/4.8/server-side-image-map?application=axeAPI))
97
97
  */
98
98
  serverSideImageMap: string;
99
99
  /**
100
100
  * - Ensures `<svg>` elements with an img, graphics-document or graphics-symbol role have an accessible text
101
- * - `<svg>` elements with an img role must have an alternative text ([url](https://dequeuniversity.com/rules/axe/4.4/svg-img-alt?application=axeAPI))
101
+ * - `<svg>` elements with an img role must have an alternative text ([url](https://dequeuniversity.com/rules/axe/4.8/svg-img-alt?application=axeAPI))
102
102
  */
103
103
  svgImgAlt: string;
104
104
  /**
105
105
  * - Ensures `<video>` elements have captions
106
- * - `<video>` elements must have captions ([url](https://dequeuniversity.com/rules/axe/4.4/video-caption?application=axeAPI))
106
+ * - `<video>` elements must have captions ([url](https://dequeuniversity.com/rules/axe/4.8/video-caption?application=axeAPI))
107
107
  */
108
108
  videoCaption: string;
109
109
  };
110
110
  export declare const aria: {
111
111
  /**
112
- * - Ensures ARIA attributes are allowed for an element's role
113
- * - Elements must only use allowed ARIA attributes ([url](https://dequeuniversity.com/rules/axe/4.4/aria-allowed-attr?application=axeAPI))
112
+ * - Ensures an element's role supports its ARIA attributes
113
+ * - Elements must only use supported ARIA attributes ([url](https://dequeuniversity.com/rules/axe/4.8/aria-allowed-attr?application=axeAPI))
114
114
  */
115
115
  ariaAllowedAttr: string;
116
116
  /**
117
117
  * - Ensures role attribute has an appropriate value for the element
118
- * - ARIA role should be appropriate for the element ([url](https://dequeuniversity.com/rules/axe/4.4/aria-allowed-role?application=axeAPI))
118
+ * - ARIA role should be appropriate for the element ([url](https://dequeuniversity.com/rules/axe/4.8/aria-allowed-role?application=axeAPI))
119
119
  */
120
120
  ariaAllowedRole: string;
121
+ /**
122
+ * - Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent
123
+ * - aria-braille attributes must have a non-braille equivalent ([url](https://dequeuniversity.com/rules/axe/4.8/aria-braille-equivalent?application=axeAPI))
124
+ */
125
+ ariaBrailleEquivalent: string;
121
126
  /**
122
127
  * - Ensures every ARIA button, link and menuitem has an accessible name
123
- * - ARIA commands must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.4/aria-command-name?application=axeAPI))
128
+ * - ARIA commands must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.8/aria-command-name?application=axeAPI))
124
129
  */
125
130
  ariaCommandName: string;
131
+ /**
132
+ * - Ensures ARIA attributes are used as described in the specification of the element's role
133
+ * - ARIA attributes must be used as specified for the element's role ([url](https://dequeuniversity.com/rules/axe/4.8/aria-conditional-attr?application=axeAPI))
134
+ */
135
+ ariaConditionalAttr: string;
136
+ /**
137
+ * - Ensures elements do not use deprecated roles
138
+ * - Deprecated ARIA roles must not be used ([url](https://dequeuniversity.com/rules/axe/4.8/aria-deprecated-role?application=axeAPI))
139
+ */
140
+ ariaDeprecatedRole: string;
126
141
  /**
127
142
  * - Ensures every ARIA dialog and alertdialog node has an accessible name
128
- * - ARIA dialog and alertdialog nodes should have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.4/aria-dialog-name?application=axeAPI))
143
+ * - ARIA dialog and alertdialog nodes should have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.8/aria-dialog-name?application=axeAPI))
129
144
  */
130
145
  ariaDialogName: string;
131
146
  /**
132
- * - Ensures aria-hidden='true' is not present on the document body.
133
- * - aria-hidden='true' must not be present on the document body ([url](https://dequeuniversity.com/rules/axe/4.4/aria-hidden-body?application=axeAPI))
147
+ * - Ensures aria-hidden="true" is not present on the document body.
148
+ * - aria-hidden="true" must not be present on the document body ([url](https://dequeuniversity.com/rules/axe/4.8/aria-hidden-body?application=axeAPI))
134
149
  */
135
150
  ariaHiddenBody: string;
136
151
  /**
137
152
  * - Ensures every ARIA input field has an accessible name
138
- * - ARIA input fields must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.4/aria-input-field-name?application=axeAPI))
153
+ * - ARIA input fields must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.8/aria-input-field-name?application=axeAPI))
139
154
  */
140
155
  ariaInputFieldName: string;
141
156
  /**
142
157
  * - Ensures every ARIA meter node has an accessible name
143
- * - ARIA meter nodes must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.4/aria-meter-name?application=axeAPI))
158
+ * - ARIA meter nodes must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.8/aria-meter-name?application=axeAPI))
144
159
  */
145
160
  ariaMeterName: string;
146
161
  /**
147
162
  * - Ensures every ARIA progressbar node has an accessible name
148
- * - ARIA progressbar nodes must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.4/aria-progressbar-name?application=axeAPI))
163
+ * - ARIA progressbar nodes must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.8/aria-progressbar-name?application=axeAPI))
149
164
  */
150
165
  ariaProgressbarName: string;
166
+ /**
167
+ * - Ensures ARIA attributes are not prohibited for an element's role
168
+ * - Elements must only use permitted ARIA attributes ([url](https://dequeuniversity.com/rules/axe/4.8/aria-prohibited-attr?application=axeAPI))
169
+ */
170
+ ariaProhibitedAttr: string;
151
171
  /**
152
172
  * - Ensures elements with ARIA roles have all required ARIA attributes
153
- * - Required ARIA attributes must be provided ([url](https://dequeuniversity.com/rules/axe/4.4/aria-required-attr?application=axeAPI))
173
+ * - Required ARIA attributes must be provided ([url](https://dequeuniversity.com/rules/axe/4.8/aria-required-attr?application=axeAPI))
154
174
  */
155
175
  ariaRequiredAttr: string;
156
176
  /**
157
177
  * - Ensures elements with an ARIA role that require child roles contain them
158
- * - Certain ARIA roles must contain particular children ([url](https://dequeuniversity.com/rules/axe/4.4/aria-required-children?application=axeAPI))
178
+ * - Certain ARIA roles must contain particular children ([url](https://dequeuniversity.com/rules/axe/4.8/aria-required-children?application=axeAPI))
159
179
  */
160
180
  ariaRequiredChildren: string;
161
181
  /**
162
182
  * - Ensures elements with an ARIA role that require parent roles are contained by them
163
- * - Certain ARIA roles must be contained by particular parents ([url](https://dequeuniversity.com/rules/axe/4.4/aria-required-parent?application=axeAPI))
183
+ * - Certain ARIA roles must be contained by particular parents ([url](https://dequeuniversity.com/rules/axe/4.8/aria-required-parent?application=axeAPI))
164
184
  */
165
185
  ariaRequiredParent: string;
166
186
  /**
167
187
  * - Ensure aria-roledescription is only used on elements with an implicit or explicit role
168
- * - aria-roledescription must be on elements with a semantic role ([url](https://dequeuniversity.com/rules/axe/4.4/aria-roledescription?application=axeAPI))
188
+ * - aria-roledescription must be on elements with a semantic role ([url](https://dequeuniversity.com/rules/axe/4.8/aria-roledescription?application=axeAPI))
169
189
  */
170
190
  ariaRoledescription: string;
171
191
  /**
172
192
  * - Ensures all elements with a role attribute use a valid value
173
- * - ARIA roles used must conform to valid values ([url](https://dequeuniversity.com/rules/axe/4.4/aria-roles?application=axeAPI))
193
+ * - ARIA roles used must conform to valid values ([url](https://dequeuniversity.com/rules/axe/4.8/aria-roles?application=axeAPI))
174
194
  */
175
195
  ariaRoles: string;
176
196
  /**
177
- * - Ensures "role=text" is used on elements with no focusable descendants
178
- * - "role=text" should have no focusable descendants ([url](https://dequeuniversity.com/rules/axe/4.4/aria-text?application=axeAPI))
197
+ * - Ensures role="text" is used on elements with no focusable descendants
198
+ * - "role=text" should have no focusable descendants ([url](https://dequeuniversity.com/rules/axe/4.8/aria-text?application=axeAPI))
179
199
  */
180
200
  ariaText: string;
181
201
  /**
182
202
  * - Ensures every ARIA toggle field has an accessible name
183
- * - ARIA toggle fields must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.4/aria-toggle-field-name?application=axeAPI))
203
+ * - ARIA toggle fields must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.8/aria-toggle-field-name?application=axeAPI))
184
204
  */
185
205
  ariaToggleFieldName: string;
186
206
  /**
187
207
  * - Ensures every ARIA tooltip node has an accessible name
188
- * - ARIA tooltip nodes must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.4/aria-tooltip-name?application=axeAPI))
208
+ * - ARIA tooltip nodes must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.8/aria-tooltip-name?application=axeAPI))
189
209
  */
190
210
  ariaTooltipName: string;
191
211
  /**
192
212
  * - Ensures every ARIA treeitem node has an accessible name
193
- * - ARIA treeitem nodes should have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.4/aria-treeitem-name?application=axeAPI))
213
+ * - ARIA treeitem nodes should have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.8/aria-treeitem-name?application=axeAPI))
194
214
  */
195
215
  ariaTreeitemName: string;
196
216
  /**
197
217
  * - Ensures all ARIA attributes have valid values
198
- * - ARIA attributes must conform to valid values ([url](https://dequeuniversity.com/rules/axe/4.4/aria-valid-attr-value?application=axeAPI))
218
+ * - ARIA attributes must conform to valid values ([url](https://dequeuniversity.com/rules/axe/4.8/aria-valid-attr-value?application=axeAPI))
199
219
  */
200
220
  ariaValidAttrValue: string;
201
221
  /**
202
222
  * - Ensures attributes that begin with aria- are valid ARIA attributes
203
- * - ARIA attributes must conform to valid names ([url](https://dequeuniversity.com/rules/axe/4.4/aria-valid-attr?application=axeAPI))
223
+ * - ARIA attributes must conform to valid names ([url](https://dequeuniversity.com/rules/axe/4.8/aria-valid-attr?application=axeAPI))
204
224
  */
205
225
  ariaValidAttr: string;
206
226
  /**
207
- * - Ensures table headers have discernible text
208
- * - Table header text must not be empty ([url](https://dequeuniversity.com/rules/axe/4.4/empty-table-header?application=axeAPI))
209
- */
210
- emptyTableHeader: string;
211
- /**
212
- * - Flags elements whose role is none or presentation and which cause the role conflict resolution to trigger.
213
- * - Elements of role none or presentation should be flagged ([url](https://dequeuniversity.com/rules/axe/4.4/presentation-role-conflict?application=axeAPI))
227
+ * - Elements marked as presentational should not have global ARIA or tabindex to ensure all screen readers ignore them
228
+ * - Ensure elements marked as presentational are consistently ignored ([url](https://dequeuniversity.com/rules/axe/4.8/presentation-role-conflict?application=axeAPI))
214
229
  */
215
230
  presentationRoleConflict: string;
216
231
  };
217
232
  export declare const nameRoleValue: {
218
233
  /**
219
234
  * - Ensures aria-hidden elements are not focusable nor contain focusable elements
220
- * - ARIA hidden element must not be focusable or contain focusable elements ([url](https://dequeuniversity.com/rules/axe/4.4/aria-hidden-focus?application=axeAPI))
235
+ * - ARIA hidden element must not be focusable or contain focusable elements ([url](https://dequeuniversity.com/rules/axe/4.8/aria-hidden-focus?application=axeAPI))
221
236
  */
222
237
  ariaHiddenFocus: string;
223
238
  /**
224
239
  * - Ensures buttons have discernible text
225
- * - Buttons must have discernible text ([url](https://dequeuniversity.com/rules/axe/4.4/button-name?application=axeAPI))
240
+ * - Buttons must have discernible text ([url](https://dequeuniversity.com/rules/axe/4.8/button-name?application=axeAPI))
226
241
  */
227
242
  buttonName: string;
228
243
  /**
229
244
  * - Ensures headings have discernible text
230
- * - Headings should not be empty ([url](https://dequeuniversity.com/rules/axe/4.4/empty-heading?application=axeAPI))
245
+ * - Headings should not be empty ([url](https://dequeuniversity.com/rules/axe/4.8/empty-heading?application=axeAPI))
231
246
  */
232
247
  emptyHeading: string;
248
+ /**
249
+ * - Ensures table headers have discernible text
250
+ * - Table header text should not be empty ([url](https://dequeuniversity.com/rules/axe/4.8/empty-table-header?application=axeAPI))
251
+ */
252
+ emptyTableHeader: string;
233
253
  /**
234
254
  * - Ensures input buttons have discernible text
235
- * - Input buttons must have discernible text ([url](https://dequeuniversity.com/rules/axe/4.4/input-button-name?application=axeAPI))
255
+ * - Input buttons must have discernible text ([url](https://dequeuniversity.com/rules/axe/4.8/input-button-name?application=axeAPI))
236
256
  */
237
257
  inputButtonName: string;
238
258
  /**
239
259
  * - Ensures links have discernible text
240
- * - Links must have discernible text ([url](https://dequeuniversity.com/rules/axe/4.4/link-name?application=axeAPI))
260
+ * - Links must have discernible text ([url](https://dequeuniversity.com/rules/axe/4.8/link-name?application=axeAPI))
241
261
  */
242
262
  linkName: string;
243
263
  };
244
264
  export declare const timeAndMedia: {
245
265
  /**
246
266
  * - Ensures `<audio>` elements have captions
247
- * - `<audio>` elements must have a captions track ([url](https://dequeuniversity.com/rules/axe/4.4/audio-caption?application=axeAPI))
267
+ * - `<audio>` elements must have a captions track ([url](https://dequeuniversity.com/rules/axe/4.8/audio-caption?application=axeAPI))
248
268
  */
249
269
  audioCaption: string;
250
270
  /**
251
271
  * - Ensures `<blink>` elements are not used
252
- * - `<blink>` elements are deprecated and must not be used ([url](https://dequeuniversity.com/rules/axe/4.4/blink?application=axeAPI))
272
+ * - `<blink>` elements are deprecated and must not be used ([url](https://dequeuniversity.com/rules/axe/4.8/blink?application=axeAPI))
253
273
  */
254
274
  blink: string;
255
275
  /**
256
- * - Ensures `<meta http-equiv="refresh">` is not used
257
- * - Timed refresh must not exist ([url](https://dequeuniversity.com/rules/axe/4.4/meta-refresh?application=axeAPI))
276
+ * - Ensures `<meta http-equiv="refresh">` is not used for delayed refresh
277
+ * - Delayed refresh must not be used ([url](https://dequeuniversity.com/rules/axe/4.8/meta-refresh-no-exceptions?application=axeAPI))
278
+ */
279
+ metaRefreshNoExceptions: string;
280
+ /**
281
+ * - Ensures `<meta http-equiv="refresh">` is not used for delayed refresh
282
+ * - Delayed refresh under 20 hours must not be used ([url](https://dequeuniversity.com/rules/axe/4.8/meta-refresh?application=axeAPI))
258
283
  */
259
284
  metaRefresh: string;
260
285
  /**
261
286
  * - Ensures `<video>` or `<audio>` elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio
262
- * - `<video>` or `<audio>` elements must not play automatically ([url](https://dequeuniversity.com/rules/axe/4.4/no-autoplay-audio?application=axeAPI))
287
+ * - `<video>` or `<audio>` elements must not play automatically ([url](https://dequeuniversity.com/rules/axe/4.8/no-autoplay-audio?application=axeAPI))
263
288
  */
264
289
  noAutoplayAudio: string;
265
290
  };
266
291
  export declare const forms: {
267
292
  /**
268
293
  * - Ensure the autocomplete attribute is correct and suitable for the form field
269
- * - autocomplete attribute must be used correctly ([url](https://dequeuniversity.com/rules/axe/4.4/autocomplete-valid?application=axeAPI))
294
+ * - autocomplete attribute must be used correctly ([url](https://dequeuniversity.com/rules/axe/4.8/autocomplete-valid?application=axeAPI))
270
295
  */
271
296
  autocompleteValid: string;
272
297
  /**
273
298
  * - Ensures form field does not have multiple label elements
274
- * - Form field must not have multiple label elements ([url](https://dequeuniversity.com/rules/axe/4.4/form-field-multiple-labels?application=axeAPI))
299
+ * - Form field must not have multiple label elements ([url](https://dequeuniversity.com/rules/axe/4.8/form-field-multiple-labels?application=axeAPI))
275
300
  */
276
301
  formFieldMultipleLabels: string;
277
302
  /**
278
303
  * - Ensures that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes
279
- * - Form elements should have a visible label ([url](https://dequeuniversity.com/rules/axe/4.4/label-title-only?application=axeAPI))
304
+ * - Form elements should have a visible label ([url](https://dequeuniversity.com/rules/axe/4.8/label-title-only?application=axeAPI))
280
305
  */
281
306
  labelTitleOnly: string;
282
307
  /**
283
308
  * - Ensures every form element has a label
284
- * - Form elements must have labels ([url](https://dequeuniversity.com/rules/axe/4.4/label?application=axeAPI))
309
+ * - Form elements must have labels ([url](https://dequeuniversity.com/rules/axe/4.8/label?application=axeAPI))
285
310
  */
286
311
  label: string;
287
312
  /**
288
313
  * - Ensures select element has an accessible name
289
- * - Select element must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.4/select-name?application=axeAPI))
314
+ * - Select element must have an accessible name ([url](https://dequeuniversity.com/rules/axe/4.8/select-name?application=axeAPI))
290
315
  */
291
316
  selectName: string;
292
317
  };
293
318
  export declare const structure: {
294
319
  /**
295
320
  * - Ensure that text spacing set through style attributes can be adjusted with custom stylesheets
296
- * - Inline text spacing must be adjustable with custom stylesheets ([url](https://dequeuniversity.com/rules/axe/4.4/avoid-inline-spacing?application=axeAPI))
321
+ * - Inline text spacing must be adjustable with custom stylesheets ([url](https://dequeuniversity.com/rules/axe/4.8/avoid-inline-spacing?application=axeAPI))
297
322
  */
298
323
  avoidInlineSpacing: string;
299
324
  /**
300
325
  * - Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations
301
- * - CSS Media queries must not lock display orientation ([url](https://dequeuniversity.com/rules/axe/4.4/css-orientation-lock?application=axeAPI))
326
+ * - CSS Media queries must not lock display orientation ([url](https://dequeuniversity.com/rules/axe/4.8/css-orientation-lock?application=axeAPI))
302
327
  */
303
328
  cssOrientationLock: string;
304
329
  /**
305
330
  * - Ensures `<dl>` elements are structured correctly
306
- * - `<dl>` elements must only directly contain properly-ordered `<dt>` and `<dd>` groups, `<script>`, `<template>` or `<div>` elements ([url](https://dequeuniversity.com/rules/axe/4.4/definition-list?application=axeAPI))
331
+ * - `<dl>` elements must only directly contain properly-ordered `<dt>` and `<dd>` groups, `<script>`, `<template>` or `<div>` elements ([url](https://dequeuniversity.com/rules/axe/4.8/definition-list?application=axeAPI))
307
332
  */
308
333
  definitionList: string;
309
334
  /**
310
335
  * - Ensures `<dt>` and `<dd>` elements are contained by a `<dl>`
311
- * - `<dt>` and `<dd>` elements must be contained by a `<dl>` ([url](https://dequeuniversity.com/rules/axe/4.4/dlitem?application=axeAPI))
336
+ * - `<dt>` and `<dd>` elements must be contained by a `<dl>` ([url](https://dequeuniversity.com/rules/axe/4.8/dlitem?application=axeAPI))
312
337
  */
313
338
  dlitem: string;
314
339
  /**
315
340
  * - Ensures `<iframe>` and `<frame>` elements contain the axe-core script
316
- * - Frames should be tested with axe-core ([url](https://dequeuniversity.com/rules/axe/4.4/frame-tested?application=axeAPI))
341
+ * - Frames should be tested with axe-core ([url](https://dequeuniversity.com/rules/axe/4.8/frame-tested?application=axeAPI))
317
342
  */
318
343
  frameTested: string;
319
344
  /**
320
345
  * - Informs users about hidden content.
321
- * - Hidden content on the page should be analyzed ([url](https://dequeuniversity.com/rules/axe/4.4/hidden-content?application=axeAPI))
346
+ * - Hidden content on the page should be analyzed ([url](https://dequeuniversity.com/rules/axe/4.8/hidden-content?application=axeAPI))
322
347
  */
323
348
  hiddenContent: string;
324
349
  /**
325
350
  * - Ensures that lists are structured correctly
326
- * - `<ul>` and `<ol>` must only directly contain `<li>`, `<script>` or `<template>` elements ([url](https://dequeuniversity.com/rules/axe/4.4/list?application=axeAPI))
351
+ * - `<ul>` and `<ol>` must only directly contain `<li>`, `<script>` or `<template>` elements ([url](https://dequeuniversity.com/rules/axe/4.8/list?application=axeAPI))
327
352
  */
328
353
  list: string;
329
354
  /**
330
355
  * - Ensures `<li>` elements are used semantically
331
- * - `<li>` elements must be contained in a `<ul>` or `<ol>` ([url](https://dequeuniversity.com/rules/axe/4.4/listitem?application=axeAPI))
356
+ * - `<li>` elements must be contained in a `<ul>` or `<ol>` ([url](https://dequeuniversity.com/rules/axe/4.8/listitem?application=axeAPI))
332
357
  */
333
358
  listitem: string;
334
359
  };
335
360
  export declare const color: {
336
361
  /**
337
- * - Ensures the contrast between foreground and background colors meets WCAG 2 AAA contrast ratio thresholds
338
- * - Elements must have sufficient color contrast ([url](https://dequeuniversity.com/rules/axe/4.4/color-contrast-enhanced?application=axeAPI))
362
+ * - Ensures the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds
363
+ * - Elements must meet enhanced color contrast ratio thresholds ([url](https://dequeuniversity.com/rules/axe/4.8/color-contrast-enhanced?application=axeAPI))
339
364
  */
340
365
  colorContrastEnhanced: string;
341
366
  /**
342
- * - Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds
343
- * - Elements must have sufficient color contrast ([url](https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI))
367
+ * - Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds
368
+ * - Elements must meet minimum color contrast ratio thresholds ([url](https://dequeuniversity.com/rules/axe/4.8/color-contrast?application=axeAPI))
344
369
  */
345
370
  colorContrast: string;
346
371
  /**
347
372
  * - Ensure links are distinguished from surrounding text in a way that does not rely on color
348
- * - Links must be distinguishable without relying on color ([url](https://dequeuniversity.com/rules/axe/4.4/link-in-text-block?application=axeAPI))
373
+ * - Links must be distinguishable without relying on color ([url](https://dequeuniversity.com/rules/axe/4.8/link-in-text-block?application=axeAPI))
349
374
  */
350
375
  linkInTextBlock: string;
351
376
  };
352
377
  export declare const parsing: {
353
378
  /**
354
379
  * - Ensures every id attribute value of active elements is unique
355
- * - IDs of active elements must be unique ([url](https://dequeuniversity.com/rules/axe/4.4/duplicate-id-active?application=axeAPI))
380
+ * - IDs of active elements must be unique ([url](https://dequeuniversity.com/rules/axe/4.8/duplicate-id-active?application=axeAPI))
356
381
  */
357
382
  duplicateIdActive: string;
358
383
  /**
359
384
  * - Ensures every id attribute value used in ARIA and in labels is unique
360
- * - IDs used in ARIA and labels must be unique ([url](https://dequeuniversity.com/rules/axe/4.4/duplicate-id-aria?application=axeAPI))
385
+ * - IDs used in ARIA and labels must be unique ([url](https://dequeuniversity.com/rules/axe/4.8/duplicate-id-aria?application=axeAPI))
361
386
  */
362
387
  duplicateIdAria: string;
363
388
  /**
364
389
  * - Ensures every id attribute value is unique
365
- * - id attribute value must be unique ([url](https://dequeuniversity.com/rules/axe/4.4/duplicate-id?application=axeAPI))
390
+ * - id attribute value must be unique ([url](https://dequeuniversity.com/rules/axe/4.8/duplicate-id?application=axeAPI))
366
391
  */
367
392
  duplicateId: string;
368
393
  /**
369
394
  * - Ensures `<marquee>` elements are not used
370
- * - `<marquee>` elements are deprecated and must not be used ([url](https://dequeuniversity.com/rules/axe/4.4/marquee?application=axeAPI))
395
+ * - `<marquee>` elements are deprecated and must not be used ([url](https://dequeuniversity.com/rules/axe/4.8/marquee?application=axeAPI))
371
396
  */
372
397
  marquee: string;
373
398
  };
374
399
  export declare const semantics: {
375
400
  /**
376
401
  * - Ensures the order of headings is semantically correct
377
- * - Heading levels should only increase by one ([url](https://dequeuniversity.com/rules/axe/4.4/heading-order?application=axeAPI))
402
+ * - Heading levels should only increase by one ([url](https://dequeuniversity.com/rules/axe/4.8/heading-order?application=axeAPI))
378
403
  */
379
404
  headingOrder: string;
380
405
  /**
381
406
  * - Ensure that links with the same accessible name serve a similar purpose
382
- * - Links with the same name must have a similar purpose ([url](https://dequeuniversity.com/rules/axe/4.4/identical-links-same-purpose?application=axeAPI))
407
+ * - Links with the same name must have a similar purpose ([url](https://dequeuniversity.com/rules/axe/4.8/identical-links-same-purpose?application=axeAPI))
383
408
  */
384
409
  identicalLinksSamePurpose: string;
385
410
  /**
386
411
  * - Ensures that elements labelled through their content must have their visible text as part of their accessible name
387
- * - Elements must have their visible text as part of their accessible name ([url](https://dequeuniversity.com/rules/axe/4.4/label-content-name-mismatch?application=axeAPI))
412
+ * - Elements must have their visible text as part of their accessible name ([url](https://dequeuniversity.com/rules/axe/4.8/label-content-name-mismatch?application=axeAPI))
388
413
  */
389
414
  labelContentNameMismatch: string;
390
415
  /**
391
416
  * - Ensures the banner landmark is at top level
392
- * - Banner landmark should not be contained in another landmark ([url](https://dequeuniversity.com/rules/axe/4.4/landmark-banner-is-top-level?application=axeAPI))
417
+ * - Banner landmark should not be contained in another landmark ([url](https://dequeuniversity.com/rules/axe/4.8/landmark-banner-is-top-level?application=axeAPI))
393
418
  */
394
419
  landmarkBannerIsTopLevel: string;
395
420
  /**
396
421
  * - Ensures the complementary landmark or aside is at top level
397
- * - Aside should not be contained in another landmark ([url](https://dequeuniversity.com/rules/axe/4.4/landmark-complementary-is-top-level?application=axeAPI))
422
+ * - Aside should not be contained in another landmark ([url](https://dequeuniversity.com/rules/axe/4.8/landmark-complementary-is-top-level?application=axeAPI))
398
423
  */
399
424
  landmarkComplementaryIsTopLevel: string;
400
425
  /**
401
426
  * - Ensures the contentinfo landmark is at top level
402
- * - Contentinfo landmark should not be contained in another landmark ([url](https://dequeuniversity.com/rules/axe/4.4/landmark-contentinfo-is-top-level?application=axeAPI))
427
+ * - Contentinfo landmark should not be contained in another landmark ([url](https://dequeuniversity.com/rules/axe/4.8/landmark-contentinfo-is-top-level?application=axeAPI))
403
428
  */
404
429
  landmarkContentinfoIsTopLevel: string;
405
430
  /**
406
431
  * - Ensures the main landmark is at top level
407
- * - Main landmark should not be contained in another landmark ([url](https://dequeuniversity.com/rules/axe/4.4/landmark-main-is-top-level?application=axeAPI))
432
+ * - Main landmark should not be contained in another landmark ([url](https://dequeuniversity.com/rules/axe/4.8/landmark-main-is-top-level?application=axeAPI))
408
433
  */
409
434
  landmarkMainIsTopLevel: string;
410
435
  /**
411
436
  * - Ensures the document has at most one banner landmark
412
- * - Document should not have more than one banner landmark ([url](https://dequeuniversity.com/rules/axe/4.4/landmark-no-duplicate-banner?application=axeAPI))
437
+ * - Document should not have more than one banner landmark ([url](https://dequeuniversity.com/rules/axe/4.8/landmark-no-duplicate-banner?application=axeAPI))
413
438
  */
414
439
  landmarkNoDuplicateBanner: string;
415
440
  /**
416
441
  * - Ensures the document has at most one contentinfo landmark
417
- * - Document should not have more than one contentinfo landmark ([url](https://dequeuniversity.com/rules/axe/4.4/landmark-no-duplicate-contentinfo?application=axeAPI))
442
+ * - Document should not have more than one contentinfo landmark ([url](https://dequeuniversity.com/rules/axe/4.8/landmark-no-duplicate-contentinfo?application=axeAPI))
418
443
  */
419
444
  landmarkNoDuplicateContentinfo: string;
420
445
  /**
421
446
  * - Ensures the document has at most one main landmark
422
- * - Document should not have more than one main landmark ([url](https://dequeuniversity.com/rules/axe/4.4/landmark-no-duplicate-main?application=axeAPI))
447
+ * - Document should not have more than one main landmark ([url](https://dequeuniversity.com/rules/axe/4.8/landmark-no-duplicate-main?application=axeAPI))
423
448
  */
424
449
  landmarkNoDuplicateMain: string;
425
450
  /**
426
451
  * - Ensures the document has a main landmark
427
- * - Document should have one main landmark ([url](https://dequeuniversity.com/rules/axe/4.4/landmark-one-main?application=axeAPI))
452
+ * - Document should have one main landmark ([url](https://dequeuniversity.com/rules/axe/4.8/landmark-one-main?application=axeAPI))
428
453
  */
429
454
  landmarkOneMain: string;
430
455
  /**
431
456
  * - Landmarks should have a unique role or role/label/title (i.e. accessible name) combination
432
- * - Ensures landmarks are unique ([url](https://dequeuniversity.com/rules/axe/4.4/landmark-unique?application=axeAPI))
457
+ * - Ensures landmarks are unique ([url](https://dequeuniversity.com/rules/axe/4.8/landmark-unique?application=axeAPI))
433
458
  */
434
459
  landmarkUnique: string;
435
460
  /**
436
461
  * - Ensure bold, italic text and font-size is not used to style `<p>` elements as a heading
437
- * - Styled `<p>` elements must not be used as headings ([url](https://dequeuniversity.com/rules/axe/4.4/p-as-heading?application=axeAPI))
462
+ * - Styled `<p>` elements must not be used as headings ([url](https://dequeuniversity.com/rules/axe/4.8/p-as-heading?application=axeAPI))
438
463
  */
439
464
  pAsHeading: string;
440
465
  /**
441
466
  * - Ensure that the page, or at least one of its frames contains a level-one heading
442
- * - Page should contain a level-one heading ([url](https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI))
467
+ * - Page should contain a level-one heading ([url](https://dequeuniversity.com/rules/axe/4.8/page-has-heading-one?application=axeAPI))
443
468
  */
444
469
  pageHasHeadingOne: string;
445
470
  };
446
471
  export declare const language: {
447
472
  /**
448
473
  * - Ensures every HTML document has a lang attribute
449
- * - `<html>` element must have a lang attribute ([url](https://dequeuniversity.com/rules/axe/4.4/html-has-lang?application=axeAPI))
474
+ * - `<html>` element must have a lang attribute ([url](https://dequeuniversity.com/rules/axe/4.8/html-has-lang?application=axeAPI))
450
475
  */
451
476
  htmlHasLang: string;
452
477
  /**
453
478
  * - Ensures the lang attribute of the `<html>` element has a valid value
454
- * - `<html>` element must have a valid value for the lang attribute ([url](https://dequeuniversity.com/rules/axe/4.4/html-lang-valid?application=axeAPI))
479
+ * - `<html>` element must have a valid value for the lang attribute ([url](https://dequeuniversity.com/rules/axe/4.8/html-lang-valid?application=axeAPI))
455
480
  */
456
481
  htmlLangValid: string;
457
482
  /**
458
483
  * - Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page
459
- * - HTML elements with lang and xml:lang must have the same base language ([url](https://dequeuniversity.com/rules/axe/4.4/html-xml-lang-mismatch?application=axeAPI))
484
+ * - HTML elements with lang and xml:lang must have the same base language ([url](https://dequeuniversity.com/rules/axe/4.8/html-xml-lang-mismatch?application=axeAPI))
460
485
  */
461
486
  htmlXmlLangMismatch: string;
462
487
  /**
463
488
  * - Ensures lang attributes have valid values
464
- * - lang attribute must have a valid value ([url](https://dequeuniversity.com/rules/axe/4.4/valid-lang?application=axeAPI))
489
+ * - lang attribute must have a valid value ([url](https://dequeuniversity.com/rules/axe/4.8/valid-lang?application=axeAPI))
465
490
  */
466
491
  validLang: string;
467
492
  };
468
493
  export declare const sensoryAndVisualCues: {
469
494
  /**
470
495
  * - Ensures `<meta name="viewport">` can scale a significant amount
471
- * - Users should be able to zoom and scale the text up to 500% ([url](https://dequeuniversity.com/rules/axe/4.4/meta-viewport-large?application=axeAPI))
496
+ * - Users should be able to zoom and scale the text up to 500% ([url](https://dequeuniversity.com/rules/axe/4.8/meta-viewport-large?application=axeAPI))
472
497
  */
473
498
  metaViewportLarge: string;
474
499
  /**
475
500
  * - Ensures `<meta name="viewport">` does not disable text scaling and zooming
476
- * - Zooming and scaling should not be disabled ([url](https://dequeuniversity.com/rules/axe/4.4/meta-viewport?application=axeAPI))
501
+ * - Zooming and scaling must not be disabled ([url](https://dequeuniversity.com/rules/axe/4.8/meta-viewport?application=axeAPI))
477
502
  */
478
503
  metaViewport: string;
504
+ /**
505
+ * - Ensure touch target have sufficient size and space
506
+ * - All touch targets must be 24px large, or leave sufficient space ([url](https://dequeuniversity.com/rules/axe/4.8/target-size?application=axeAPI))
507
+ */
508
+ targetSize: string;
479
509
  };
480
510
  export declare const tables: {
481
511
  /**
482
512
  * - Ensures the scope attribute is used correctly on tables
483
- * - scope attribute should be used correctly ([url](https://dequeuniversity.com/rules/axe/4.4/scope-attr-valid?application=axeAPI))
513
+ * - scope attribute should be used correctly ([url](https://dequeuniversity.com/rules/axe/4.8/scope-attr-valid?application=axeAPI))
484
514
  */
485
515
  scopeAttrValid: string;
486
516
  /**
487
517
  * - Ensure the `<caption>` element does not contain the same text as the summary attribute
488
- * - tables should not have the same summary and caption ([url](https://dequeuniversity.com/rules/axe/4.4/table-duplicate-name?application=axeAPI))
518
+ * - tables should not have the same summary and caption ([url](https://dequeuniversity.com/rules/axe/4.8/table-duplicate-name?application=axeAPI))
489
519
  */
490
520
  tableDuplicateName: string;
491
521
  /**
492
522
  * - Ensure that tables with a caption use the `<caption>` element.
493
- * - Data or header cells must not be used to give caption to a data table. ([url](https://dequeuniversity.com/rules/axe/4.4/table-fake-caption?application=axeAPI))
523
+ * - Data or header cells must not be used to give caption to a data table. ([url](https://dequeuniversity.com/rules/axe/4.8/table-fake-caption?application=axeAPI))
494
524
  */
495
525
  tableFakeCaption: string;
496
526
  /**
497
527
  * - Ensure that each non-empty data cell in a `<table>` larger than 3 by 3 has one or more table headers
498
- * - Non-empty `<td>` elements in larger `<table>` must have an associated table header ([url](https://dequeuniversity.com/rules/axe/4.4/td-has-header?application=axeAPI))
528
+ * - Non-empty `<td>` elements in larger `<table>` must have an associated table header ([url](https://dequeuniversity.com/rules/axe/4.8/td-has-header?application=axeAPI))
499
529
  */
500
530
  tdHasHeader: string;
501
531
  /**
502
532
  * - Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table
503
- * - Table cells that use the headers attribute must only refer to cells in the same table ([url](https://dequeuniversity.com/rules/axe/4.4/td-headers-attr?application=axeAPI))
533
+ * - Table cells that use the headers attribute must only refer to cells in the same table ([url](https://dequeuniversity.com/rules/axe/4.8/td-headers-attr?application=axeAPI))
504
534
  */
505
535
  tdHeadersAttr: string;
506
536
  /**
507
537
  * - Ensure that `<th>` elements and elements with role=columnheader/rowheader have data cells they describe
508
- * - Table headers in a data table must refer to data cells ([url](https://dequeuniversity.com/rules/axe/4.4/th-has-data-cells?application=axeAPI))
538
+ * - Table headers in a data table must refer to data cells ([url](https://dequeuniversity.com/rules/axe/4.8/th-has-data-cells?application=axeAPI))
509
539
  */
510
540
  thHasDataCells: string;
511
541
  };