@kinti/a11y-toolkit 5.22.0 → 5.22.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.
Files changed (39) hide show
  1. package/a11y_toolkit/__init__.py +5 -0
  2. package/a11y_toolkit/a11y.py +115 -0
  3. package/a11y_toolkit/a11yact.py +167 -0
  4. package/a11y_toolkit/a11yaudit.py +1951 -0
  5. package/a11y_toolkit/a11ybadge.py +102 -0
  6. package/a11y_toolkit/a11ybudget.py +122 -0
  7. package/a11y_toolkit/a11ycrit.py +1017 -0
  8. package/a11y_toolkit/a11ydiff.py +192 -0
  9. package/a11y_toolkit/a11ydisprove.py +175 -0
  10. package/a11y_toolkit/a11ydocx.py +132 -0
  11. package/a11y_toolkit/a11ydom.py +1831 -0
  12. package/a11y_toolkit/a11yevidence.py +272 -0
  13. package/a11y_toolkit/a11yfix.py +330 -0
  14. package/a11y_toolkit/a11yi18n.py +100 -0
  15. package/a11y_toolkit/a11yinit.py +113 -0
  16. package/a11y_toolkit/a11yjourney.py +284 -0
  17. package/a11y_toolkit/a11yledger.py +210 -0
  18. package/a11y_toolkit/a11ymutants.py +406 -0
  19. package/a11y_toolkit/a11yopenacr.py +207 -0
  20. package/a11y_toolkit/a11ypdf.py +273 -0
  21. package/a11y_toolkit/a11yroute.py +378 -0
  22. package/a11y_toolkit/a11ysarif.py +139 -0
  23. package/a11y_toolkit/a11yscroll.py +212 -0
  24. package/a11y_toolkit/a11ystatement.py +158 -0
  25. package/a11y_toolkit/a11yvalidate.py +127 -0
  26. package/a11y_toolkit/a11yvpat.py +238 -0
  27. package/a11y_toolkit/a11yvtt.py +136 -0
  28. package/a11y_toolkit/a11ywcag3.py +262 -0
  29. package/a11y_toolkit/arialive.js +107 -0
  30. package/a11y_toolkit/arialive_js.py +113 -0
  31. package/a11y_toolkit/contrast.py +536 -0
  32. package/a11y_toolkit/locales/_template.json +468 -0
  33. package/a11y_toolkit/locales/en.json +525 -0
  34. package/a11y_toolkit/locales/es.json +525 -0
  35. package/a11y_toolkit/server.py +1529 -0
  36. package/bin/a11y-toolkit-mcp.cjs +2 -2
  37. package/bin/a11y-toolkit.cjs +2 -2
  38. package/lib/runner.cjs +30 -22
  39. package/package.json +2 -1
@@ -0,0 +1,468 @@
1
+ {
2
+ "_meta": {
3
+ "dir": "ltr or rtl",
4
+ "name": "Language name in English",
5
+ "native": "Native endonym",
6
+ "plural": "CLDR rule over n; True → 'one', False → 'other'; English/Spanish: 'n == 1'"
7
+ },
8
+ "audit": {
9
+ "accesskey_dup": "",
10
+ "accesskey_dup_rem": "",
11
+ "aria_hidden_focusable": "",
12
+ "aria_hidden_focusable_rem": "",
13
+ "aria_ref_missing": "",
14
+ "aria_ref_missing_rem": "",
15
+ "aria_value_invalid": "",
16
+ "aria_value_invalid_rem": "",
17
+ "audio_desc_missing": "",
18
+ "audio_desc_missing_rem": "",
19
+ "autocomplete": "",
20
+ "autocomplete_invalid": "",
21
+ "autocomplete_invalid_rem": "",
22
+ "autocomplete_rem": "",
23
+ "blank_no_warning": "",
24
+ "blank_no_warning_rem": "",
25
+ "captcha": "",
26
+ "captcha_rem": "",
27
+ "char_shortcut": "",
28
+ "char_shortcut_rem": "",
29
+ "click_nonfocusable": "",
30
+ "click_nonfocusable_rem": "",
31
+ "color_only_link": "",
32
+ "color_only_link_rem": "",
33
+ "ctrl_name": "",
34
+ "ctrl_name_rem": "",
35
+ "dom_visual_order": "",
36
+ "dom_visual_order_rem": "",
37
+ "down_event": "",
38
+ "down_event_rem": "",
39
+ "drag_no_alt": "",
40
+ "drag_no_alt_rem": "",
41
+ "dup_ids": "",
42
+ "dup_ids_rem": "",
43
+ "element_lang_invalid": "",
44
+ "element_lang_invalid_rem": "",
45
+ "empty_heading": "",
46
+ "empty_heading_rem": "",
47
+ "fetch_error": "",
48
+ "field_label": "",
49
+ "field_label_rem": "",
50
+ "fieldset_missing": "",
51
+ "fieldset_missing_rem": "",
52
+ "financial_no_confirm": "",
53
+ "financial_no_confirm_rem": "",
54
+ "forced_colors_svg": "",
55
+ "forced_colors_svg_rem": "",
56
+ "generic_link": "",
57
+ "generic_link_rem": "",
58
+ "gesture_no_click": "",
59
+ "gesture_no_click_rem": "",
60
+ "heading_quality": "",
61
+ "heading_quality_rem": "",
62
+ "heading_skips": "",
63
+ "heading_skips_rem": "",
64
+ "help_inconsistent": "",
65
+ "help_inconsistent_rem": "",
66
+ "iframe_title": "",
67
+ "iframe_title_rem": "",
68
+ "images_of_text": "",
69
+ "images_of_text_rem": "",
70
+ "img_no_alt": "",
71
+ "img_no_alt_rem": "",
72
+ "input_img_alt": "",
73
+ "input_img_alt_rem": "",
74
+ "label_in_name": "",
75
+ "label_in_name_rem": "",
76
+ "label_orphan": "",
77
+ "label_orphan_rem": "",
78
+ "label_vague": "",
79
+ "label_vague_rem": "",
80
+ "landmark_dup": "",
81
+ "landmark_dup_rem": "",
82
+ "lang_invalid": "",
83
+ "lang_invalid_rem": "",
84
+ "lang_missing": "",
85
+ "lang_missing_rem": "",
86
+ "lang_region_invalid": "",
87
+ "lang_region_invalid_rem": "",
88
+ "limits": "",
89
+ "list_structure": "",
90
+ "list_structure_rem": "",
91
+ "meta_refresh": "",
92
+ "meta_refresh_rem": "",
93
+ "motion_actuation": "",
94
+ "motion_actuation_rem": "",
95
+ "motion_moving": "",
96
+ "motion_moving_rem": "",
97
+ "multi_h1": "",
98
+ "multi_h1_rem": "",
99
+ "multi_label": "",
100
+ "multi_label_rem": "",
101
+ "nav_inconsistent": "",
102
+ "nav_inconsistent_rem": "",
103
+ "no_bypass": "",
104
+ "no_bypass_rem": "",
105
+ "no_h1": "",
106
+ "no_h1_rem": "",
107
+ "no_headings": "",
108
+ "no_headings_rem": "",
109
+ "no_multiple_ways": "",
110
+ "no_multiple_ways_rem": "",
111
+ "no_status_regions": "",
112
+ "no_status_regions_rem": "",
113
+ "orientation_lock": "",
114
+ "orientation_lock_rem": "",
115
+ "placeholder_only": "",
116
+ "placeholder_only_rem": "",
117
+ "reduced_motion_ignored": "",
118
+ "reduced_motion_ignored_rem": "",
119
+ "required_no_indication": "",
120
+ "required_no_indication_rem": "",
121
+ "role_required_attr": "",
122
+ "role_required_attr_rem": "",
123
+ "role_unknown": "",
124
+ "role_unknown_rem": "",
125
+ "same_name_links": {
126
+ "one": "",
127
+ "other": ""
128
+ },
129
+ "same_name_links_rem": "",
130
+ "score_note": "",
131
+ "sensory_text": "",
132
+ "sensory_text_rem": "",
133
+ "tabindex_pos": "",
134
+ "tabindex_pos_rem": "",
135
+ "table_no_th": "",
136
+ "table_no_th_rem": "",
137
+ "text_spacing_clip": "",
138
+ "text_spacing_clip_rem": "",
139
+ "title_generic": "",
140
+ "title_generic_rem": "",
141
+ "title_missing": "",
142
+ "title_missing_rem": "",
143
+ "video_autoplay": "",
144
+ "video_autoplay_rem": "",
145
+ "video_captions": "",
146
+ "video_captions_rem": "",
147
+ "zoom_max": "",
148
+ "zoom_max_rem": "",
149
+ "zoom_no": "",
150
+ "zoom_no_rem": ""
151
+ },
152
+ "badge": {
153
+ "name": "",
154
+ "scope": "",
155
+ "title": ""
156
+ },
157
+ "contrast": {
158
+ "criteria": [
159
+ "",
160
+ "",
161
+ "",
162
+ "",
163
+ ""
164
+ ],
165
+ "darkening": "",
166
+ "interp": "",
167
+ "invalid_color": "",
168
+ "invalid_region": "",
169
+ "lightening": "",
170
+ "load_error": "",
171
+ "no_box": "",
172
+ "no_pixels": "",
173
+ "no_post_copy": "",
174
+ "opaque_text": "",
175
+ "region_outside": "",
176
+ "selector_missing": ""
177
+ },
178
+ "docx": {
179
+ "docx_fake_headings": "",
180
+ "docx_fake_headings_rem": "",
181
+ "docx_no_alt": "",
182
+ "docx_no_alt_rem": "",
183
+ "docx_no_lang": "",
184
+ "docx_no_lang_rem": "",
185
+ "docx_table_no_header": "",
186
+ "docx_table_no_header_rem": "",
187
+ "limits": ""
188
+ },
189
+ "dom": {
190
+ "contrast_fail": "",
191
+ "contrast_fail_rem": "",
192
+ "contrast_image_fail": "",
193
+ "contrast_image_fail_rem": "",
194
+ "contrast_review": "",
195
+ "contrast_review_rem": "",
196
+ "focus_invisible": "",
197
+ "focus_invisible_rem": "",
198
+ "focus_navigates": "",
199
+ "focus_navigates_rem": "",
200
+ "focus_not_focusable": "",
201
+ "focus_not_focusable_rem": "",
202
+ "focus_obscured": "",
203
+ "focus_obscured_rem": "",
204
+ "forced_colors_svg": "",
205
+ "forced_colors_svg_rem": "",
206
+ "form_error_missing": "",
207
+ "form_error_missing_rem": "",
208
+ "form_error_no_suggestion": "",
209
+ "form_error_no_suggestion_rem": "",
210
+ "form_navigated": "",
211
+ "form_navigated_rem": "",
212
+ "hover_not_dismissible": "",
213
+ "hover_not_dismissible_rem": "",
214
+ "input_navigates": "",
215
+ "input_navigates_rem": "",
216
+ "kbd_trap": "",
217
+ "kbd_trap_rem": "",
218
+ "limits": "",
219
+ "reduced_motion_ignored": "",
220
+ "reduced_motion_ignored_rem": "",
221
+ "reflow_fail": "",
222
+ "reflow_fail_rem": "",
223
+ "state_contrast": "",
224
+ "state_contrast_rem": "",
225
+ "target_small": "",
226
+ "target_small_rem": ""
227
+ },
228
+ "evidence": {
229
+ "manual_remaining": "",
230
+ "no_signal": "",
231
+ "not_flagged": "",
232
+ "notice": "",
233
+ "reviewer_note": "",
234
+ "verified": ""
235
+ },
236
+ "fix": {
237
+ "between": "",
238
+ "email": "",
239
+ "num": "",
240
+ "pattern": "",
241
+ "req": "",
242
+ "short": "",
243
+ "url": ""
244
+ },
245
+ "journey": {
246
+ "journey_dialog_trap": [
247
+ "",
248
+ "",
249
+ "",
250
+ ""
251
+ ],
252
+ "journey_duplicate_targets": [
253
+ "",
254
+ "",
255
+ "",
256
+ ""
257
+ ],
258
+ "journey_dynamic_stale": [
259
+ "",
260
+ "",
261
+ "",
262
+ ""
263
+ ],
264
+ "journey_error_silent": [
265
+ "",
266
+ "",
267
+ "",
268
+ ""
269
+ ],
270
+ "journey_focus_lost": [
271
+ "",
272
+ "",
273
+ "",
274
+ ""
275
+ ],
276
+ "journey_generic_link": [
277
+ "",
278
+ "",
279
+ "",
280
+ ""
281
+ ],
282
+ "journey_heading_nav_broken": [
283
+ "",
284
+ "",
285
+ "",
286
+ ""
287
+ ],
288
+ "journey_hidden_in_tree": [
289
+ "",
290
+ "",
291
+ "",
292
+ ""
293
+ ],
294
+ "journey_landmark_missing": [
295
+ "",
296
+ "",
297
+ "",
298
+ ""
299
+ ],
300
+ "journey_mode_confusion": [
301
+ "",
302
+ "",
303
+ "",
304
+ ""
305
+ ],
306
+ "journey_no_instruction": [
307
+ "",
308
+ "",
309
+ "",
310
+ ""
311
+ ],
312
+ "journey_reach_fail": [
313
+ "",
314
+ "",
315
+ "",
316
+ ""
317
+ ],
318
+ "journey_status_silent": [
319
+ "",
320
+ "",
321
+ "",
322
+ ""
323
+ ],
324
+ "journey_timeout_confusion": [
325
+ "",
326
+ "",
327
+ "",
328
+ ""
329
+ ],
330
+ "journey_unnamed_control": [
331
+ "",
332
+ "",
333
+ "",
334
+ ""
335
+ ]
336
+ },
337
+ "pdf": {
338
+ "limits": "",
339
+ "pdf_encrypted": "",
340
+ "pdf_encrypted_rem": "",
341
+ "pdf_fake_link": "",
342
+ "pdf_fake_link_rem": "",
343
+ "pdf_low_contrast": "",
344
+ "pdf_low_contrast_rem": "",
345
+ "pdf_no_alt": "",
346
+ "pdf_no_alt_rem": "",
347
+ "pdf_no_lang": "",
348
+ "pdf_no_lang_rem": "",
349
+ "pdf_no_outline": "",
350
+ "pdf_no_outline_rem": "",
351
+ "pdf_no_title": "",
352
+ "pdf_no_title_rem": "",
353
+ "pdf_scanned": "",
354
+ "pdf_scanned_rem": "",
355
+ "pdf_untagged": "",
356
+ "pdf_untagged_rem": ""
357
+ },
358
+ "scroll": {
359
+ "limits": "",
360
+ "scroll_focus": "",
361
+ "scroll_focus_rem": "",
362
+ "scroll_no_announce": "",
363
+ "scroll_no_announce_rem": "",
364
+ "scroll_no_end": "",
365
+ "scroll_no_end_rem": "",
366
+ "scroll_no_feed": "",
367
+ "scroll_no_feed_rem": ""
368
+ },
369
+ "statement_states": {
370
+ "full": [
371
+ "",
372
+ ""
373
+ ],
374
+ "not_conformant": [
375
+ "",
376
+ ""
377
+ ],
378
+ "partial": [
379
+ "",
380
+ ""
381
+ ]
382
+ },
383
+ "statement_txt": {
384
+ "complaints": {
385
+ "eaa": "",
386
+ "rd1112": ""
387
+ },
388
+ "contact": "",
389
+ "error_inconsistent": "",
390
+ "error_status": "",
391
+ "feedback_default": "",
392
+ "h_alt_access": "",
393
+ "h_contact": "",
394
+ "h_inaccessible": "",
395
+ "h_preparation": "",
396
+ "h_status": "",
397
+ "inaccessible_empty": "",
398
+ "inaccessible_intro": "",
399
+ "intro": {
400
+ "eaa": "",
401
+ "rd1112": ""
402
+ },
403
+ "l_declared": "",
404
+ "l_evaluation": "",
405
+ "l_method": "",
406
+ "l_review": "",
407
+ "method_default": "",
408
+ "title": {
409
+ "eaa": "",
410
+ "rd1112": ""
411
+ }
412
+ },
413
+ "vpat_levels": {
414
+ "does_not_support": "",
415
+ "not_applicable": "",
416
+ "not_evaluated": "",
417
+ "partially_supports": "",
418
+ "supports": ""
419
+ },
420
+ "vpat_txt": {
421
+ "col_criteria": "",
422
+ "col_level": "",
423
+ "col_remarks": "",
424
+ "contact": "",
425
+ "credential": "",
426
+ "date": "",
427
+ "description": "",
428
+ "draft": "",
429
+ "error_level": "",
430
+ "error_no_pack": "",
431
+ "iti_note": "",
432
+ "legend": [
433
+ "",
434
+ "",
435
+ "",
436
+ "",
437
+ ""
438
+ ],
439
+ "legend_title": "",
440
+ "method_default": "",
441
+ "methods": "",
442
+ "notes": "",
443
+ "product": "",
444
+ "signature": "",
445
+ "signature_empty": "",
446
+ "signature_title": "",
447
+ "standard": "",
448
+ "standards_section": "",
449
+ "table_caption": "",
450
+ "title": "",
451
+ "version": ""
452
+ },
453
+ "vtt": {
454
+ "limits": "",
455
+ "vtt_coverage": "",
456
+ "vtt_coverage_rem": "",
457
+ "vtt_empty_cue": "",
458
+ "vtt_empty_cue_rem": "",
459
+ "vtt_malformed": "",
460
+ "vtt_malformed_rem": "",
461
+ "vtt_no_cues": "",
462
+ "vtt_no_cues_rem": "",
463
+ "vtt_overlap": "",
464
+ "vtt_overlap_rem": "",
465
+ "vtt_too_fast": "",
466
+ "vtt_too_fast_rem": ""
467
+ }
468
+ }