-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathcollect.e2e.test.ts.snap
More file actions
1058 lines (1057 loc) · 38.9 KB
/
collect.e2e.test.ts.snap
File metadata and controls
1058 lines (1057 loc) · 38.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`PLUGIN collect report with axe-plugin NPM package > should run plugin over CLI and create report.json 1`] = `
{
"packageName": "@code-pushup/core",
"plugins": [
{
"audits": [
{
"description": "Ensure \`<area>\` elements of image maps have alternative text",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/area-alt?application=axeAPI",
"score": 1,
"slug": "area-alt",
"title": "Active \`<area>\` elements must have alternative text",
"value": 0,
},
{
"description": "Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-braille-equivalent?application=axeAPI",
"score": 1,
"slug": "aria-braille-equivalent",
"title": "aria-braille attributes must have a non-braille equivalent",
"value": 0,
},
{
"description": "Ensure aria-hidden elements are not focusable nor contain focusable elements",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-hidden-focus?application=axeAPI",
"score": 1,
"slug": "aria-hidden-focus",
"title": "ARIA hidden element must not be focusable or contain focusable elements",
"value": 0,
},
{
"description": "Ensure every ARIA input field has an accessible name",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-input-field-name?application=axeAPI",
"score": 1,
"slug": "aria-input-field-name",
"title": "ARIA input fields must have an accessible name",
"value": 0,
},
{
"description": "Ensure every ARIA meter node has an accessible name",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-meter-name?application=axeAPI",
"score": 1,
"slug": "aria-meter-name",
"title": "ARIA meter nodes must have an accessible name",
"value": 0,
},
{
"description": "Ensure every ARIA progressbar node has an accessible name",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-progressbar-name?application=axeAPI",
"score": 1,
"slug": "aria-progressbar-name",
"title": "ARIA progressbar nodes must have an accessible name",
"value": 0,
},
{
"description": "Ensure elements with an ARIA role that require child roles contain them",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-required-children?application=axeAPI",
"score": 1,
"slug": "aria-required-children",
"title": "Certain ARIA roles must contain particular children",
"value": 0,
},
{
"description": "Ensure elements with an ARIA role that require parent roles are contained by them",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-required-parent?application=axeAPI",
"score": 1,
"slug": "aria-required-parent",
"title": "Certain ARIA roles must be contained by particular parents",
"value": 0,
},
{
"description": "Ensure aria-roledescription is only used on elements with an implicit or explicit role",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-roledescription?application=axeAPI",
"score": 1,
"slug": "aria-roledescription",
"title": "aria-roledescription must be on elements with a semantic role",
"value": 0,
},
{
"description": "Ensure every ARIA toggle field has an accessible name",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-toggle-field-name?application=axeAPI",
"score": 1,
"slug": "aria-toggle-field-name",
"title": "ARIA toggle fields must have an accessible name",
"value": 0,
},
{
"description": "Ensure every ARIA tooltip node has an accessible name",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-tooltip-name?application=axeAPI",
"score": 1,
"slug": "aria-tooltip-name",
"title": "ARIA tooltip nodes must have an accessible name",
"value": 0,
},
{
"description": "Ensure \`<audio>\` elements have captions",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/audio-caption?application=axeAPI",
"score": 1,
"slug": "audio-caption",
"title": "\`<audio>\` elements must have a captions track",
"value": 0,
},
{
"description": "Ensure the autocomplete attribute is correct and suitable for the form field",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/autocomplete-valid?application=axeAPI",
"score": 1,
"slug": "autocomplete-valid",
"title": "autocomplete attribute must be used correctly",
"value": 0,
},
{
"description": "Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/avoid-inline-spacing?application=axeAPI",
"score": 1,
"slug": "avoid-inline-spacing",
"title": "Inline text spacing must be adjustable with custom stylesheets",
"value": 0,
},
{
"description": "Ensure \`<blink>\` elements are not used",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/blink?application=axeAPI",
"score": 1,
"slug": "blink",
"title": "\`<blink>\` elements are deprecated and must not be used",
"value": 0,
},
{
"description": "Ensure \`<dl>\` elements are structured correctly",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/definition-list?application=axeAPI",
"score": 1,
"slug": "definition-list",
"title": "\`<dl>\` elements must only directly contain properly-ordered \`<dt>\` and \`<dd>\` groups, \`<script>\`, \`<template>\` or \`<div>\` elements",
"value": 0,
},
{
"description": "Ensure \`<dt>\` and \`<dd>\` elements are contained by a \`<dl>\`",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/dlitem?application=axeAPI",
"score": 1,
"slug": "dlitem",
"title": "\`<dt>\` and \`<dd>\` elements must be contained by a \`<dl>\`",
"value": 0,
},
{
"description": "Ensure every id attribute value used in ARIA and in labels is unique",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/duplicate-id-aria?application=axeAPI",
"score": 1,
"slug": "duplicate-id-aria",
"title": "IDs used in ARIA and labels must be unique",
"value": 0,
},
{
"description": "Ensure \`<frame>\` and \`<iframe>\` elements with focusable content do not have tabindex=-1",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/frame-focusable-content?application=axeAPI",
"score": 1,
"slug": "frame-focusable-content",
"title": "Frames with focusable content must not have tabindex=-1",
"value": 0,
},
{
"description": "Ensure \`<iframe>\` and \`<frame>\` elements contain a unique title attribute",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/frame-title-unique?application=axeAPI",
"score": 1,
"slug": "frame-title-unique",
"title": "Frames must have a unique title attribute",
"value": 0,
},
{
"description": "Ensure \`<iframe>\` and \`<frame>\` elements have an accessible name",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/frame-title?application=axeAPI",
"score": 1,
"slug": "frame-title",
"title": "Frames must have an accessible name",
"value": 0,
},
{
"description": "Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/html-xml-lang-mismatch?application=axeAPI",
"score": 1,
"slug": "html-xml-lang-mismatch",
"title": "HTML elements with lang and xml:lang must have the same base language",
"value": 0,
},
{
"description": "Ensure input buttons have discernible text",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/input-button-name?application=axeAPI",
"score": 1,
"slug": "input-button-name",
"title": "Input buttons must have discernible text",
"value": 0,
},
{
"description": "Ensure \`<input type="image">\` elements have alternative text",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/input-image-alt?application=axeAPI",
"score": 1,
"slug": "input-image-alt",
"title": "Image buttons must have alternative text",
"value": 0,
},
{
"description": "Ensure that elements labelled through their content must have their visible text as part of their accessible name",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/label-content-name-mismatch?application=axeAPI",
"score": 1,
"slug": "label-content-name-mismatch",
"title": "Elements must have their visible text as part of their accessible name",
"value": 0,
},
{
"description": "Ensure links are distinguished from surrounding text in a way that does not rely on color",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/link-in-text-block?application=axeAPI",
"score": 1,
"slug": "link-in-text-block",
"title": "Links must be distinguishable without relying on color",
"value": 0,
},
{
"description": "Ensure that lists are structured correctly",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/list?application=axeAPI",
"score": 1,
"slug": "list",
"title": "\`<ul>\` and \`<ol>\` must only directly contain \`<li>\`, \`<script>\` or \`<template>\` elements",
"value": 0,
},
{
"description": "Ensure \`<li>\` elements are used semantically",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/listitem?application=axeAPI",
"score": 1,
"slug": "listitem",
"title": "\`<li>\` elements must be contained in a \`<ul>\` or \`<ol>\`",
"value": 0,
},
{
"description": "Ensure \`<marquee>\` elements are not used",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/marquee?application=axeAPI",
"score": 1,
"slug": "marquee",
"title": "\`<marquee>\` elements are deprecated and must not be used",
"value": 0,
},
{
"description": "Ensure \`<meta http-equiv="refresh">\` is not used for delayed refresh",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/meta-refresh?application=axeAPI",
"score": 1,
"slug": "meta-refresh",
"title": "Delayed refresh under 20 hours must not be used",
"value": 0,
},
{
"description": "Ensure \`<object>\` elements have alternative text",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/object-alt?application=axeAPI",
"score": 1,
"slug": "object-alt",
"title": "\`<object>\` elements must have alternative text",
"value": 0,
},
{
"description": "Ensure bold, italic text and font-size is not used to style \`<p>\` elements as a heading",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/p-as-heading?application=axeAPI",
"score": 1,
"slug": "p-as-heading",
"title": "Styled \`<p>\` elements must not be used as headings",
"value": 0,
},
{
"description": "Ensure [role="img"] elements have alternative text",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/role-img-alt?application=axeAPI",
"score": 1,
"slug": "role-img-alt",
"title": "[role="img"] elements must have alternative text",
"value": 0,
},
{
"description": "Ensure elements that have scrollable content are accessible by keyboard in Safari",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/scrollable-region-focusable?application=axeAPI",
"score": 1,
"slug": "scrollable-region-focusable",
"title": "Scrollable region must have keyboard access",
"value": 0,
},
{
"description": "Ensure select element has an accessible name",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/select-name?application=axeAPI",
"score": 1,
"slug": "select-name",
"title": "Select element must have an accessible name",
"value": 0,
},
{
"description": "Ensure that server-side image maps are not used",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/server-side-image-map?application=axeAPI",
"score": 1,
"slug": "server-side-image-map",
"title": "Server-side image maps must not be used",
"value": 0,
},
{
"description": "Ensure summary elements have discernible text",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/summary-name?application=axeAPI",
"score": 1,
"slug": "summary-name",
"title": "Summary elements must have discernible text",
"value": 0,
},
{
"description": "Ensure \`<svg>\` elements with an img, graphics-document or graphics-symbol role have accessible text",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/svg-img-alt?application=axeAPI",
"score": 1,
"slug": "svg-img-alt",
"title": "\`<svg>\` elements with an img role must have alternative text",
"value": 0,
},
{
"description": "Ensure that tables with a caption use the \`<caption>\` element.",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/table-fake-caption?application=axeAPI",
"score": 1,
"slug": "table-fake-caption",
"title": "Data or header cells must not be used to give caption to a data table.",
"value": 0,
},
{
"description": "Ensure that each non-empty data cell in a \`<table>\` larger than 3 by 3 has one or more table headers",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/td-has-header?application=axeAPI",
"score": 1,
"slug": "td-has-header",
"title": "Non-empty \`<td>\` elements in larger \`<table>\` must have an associated table header",
"value": 0,
},
{
"description": "Ensure that each cell in a table that uses the headers attribute refers only to other \`<th>\` elements in that table",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/td-headers-attr?application=axeAPI",
"score": 1,
"slug": "td-headers-attr",
"title": "Table cell headers attributes must refer to other \`<th>\` elements in the same table",
"value": 0,
},
{
"description": "Ensure that \`<th>\` elements and elements with role=columnheader/rowheader have data cells they describe",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/th-has-data-cells?application=axeAPI",
"score": 1,
"slug": "th-has-data-cells",
"title": "Table headers in a data table must refer to data cells",
"value": 0,
},
{
"description": "Ensure lang attributes have valid values",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/valid-lang?application=axeAPI",
"score": 1,
"slug": "valid-lang",
"title": "lang attribute must have a valid value",
"value": 0,
},
{
"description": "Ensure \`<video>\` elements have captions",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/video-caption?application=axeAPI",
"score": 1,
"slug": "video-caption",
"title": "\`<video>\` elements must have captions",
"value": 0,
},
{
"description": "Ensure \`<video>\` or \`<audio>\` elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",
"displayValue": "0 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/no-autoplay-audio?application=axeAPI",
"score": 1,
"slug": "no-autoplay-audio",
"title": "\`<video>\` or \`<audio>\` elements must not play automatically",
"value": 0,
},
{
"description": "Ensure an element's role supports its ARIA attributes",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-allowed-attr?application=axeAPI",
"score": 1,
"slug": "aria-allowed-attr",
"title": "Elements must only use supported ARIA attributes",
"value": 1,
},
{
"description": "Ensure every ARIA button, link and menuitem has an accessible name",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-command-name?application=axeAPI",
"score": 1,
"slug": "aria-command-name",
"title": "ARIA commands must have an accessible name",
"value": 1,
},
{
"description": "Ensure ARIA attributes are used as described in the specification of the element's role",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-conditional-attr?application=axeAPI",
"score": 1,
"slug": "aria-conditional-attr",
"title": "ARIA attributes must be used as specified for the element's role",
"value": 1,
},
{
"description": "Ensure elements do not use deprecated roles",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-deprecated-role?application=axeAPI",
"score": 1,
"slug": "aria-deprecated-role",
"title": "Deprecated ARIA roles must not be used",
"value": 1,
},
{
"description": "Ensure aria-hidden="true" is not present on the document body.",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-hidden-body?application=axeAPI",
"score": 1,
"slug": "aria-hidden-body",
"title": "aria-hidden="true" must not be present on the document body",
"value": 1,
},
{
"description": "Ensure ARIA attributes are not prohibited for an element's role",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-prohibited-attr?application=axeAPI",
"score": 1,
"slug": "aria-prohibited-attr",
"title": "Elements must only use permitted ARIA attributes",
"value": 1,
},
{
"description": "Ensure elements with ARIA roles have all required ARIA attributes",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-required-attr?application=axeAPI",
"score": 1,
"slug": "aria-required-attr",
"title": "Required ARIA attributes must be provided",
"value": 1,
},
{
"description": "Ensure all elements with a role attribute use a valid value",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-roles?application=axeAPI",
"score": 1,
"slug": "aria-roles",
"title": "ARIA roles used must conform to valid values",
"value": 1,
},
{
"description": "Ensure all ARIA attributes have valid values",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-valid-attr-value?application=axeAPI",
"score": 1,
"slug": "aria-valid-attr-value",
"title": "ARIA attributes must conform to valid values",
"value": 1,
},
{
"description": "Ensure buttons have discernible text",
"details": {
"issues": [
{
"message": "Element does not have inner text that is visible to screen readers",
"severity": "error",
"source": {
"selector": "body > button",
"snippet": "<button></button>",
"url": "file:///<TEST_DIR>/index.html",
},
},
],
},
"displayValue": "1 error",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/button-name?application=axeAPI",
"score": 0,
"slug": "button-name",
"title": "Buttons must have discernible text",
"value": 1,
},
{
"description": "Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/bypass?application=axeAPI",
"score": 1,
"slug": "bypass",
"title": "Page must have means to bypass repeated blocks",
"value": 1,
},
{
"description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
"details": {
"issues": [
{
"message": "Element has insufficient color contrast of 1.57 (foreground color: #777777, background color: #999999, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
"severity": "error",
"source": {
"selector": ".low-contrast",
"snippet": "<div class="low-contrast">
This text has poor color contrast and may be hard to read.
</div>",
"url": "file:///<TEST_DIR>/index.html",
},
},
],
},
"displayValue": "1 error",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/color-contrast?application=axeAPI",
"score": 0,
"slug": "color-contrast",
"title": "Elements must meet minimum color contrast ratio thresholds",
"value": 1,
},
{
"description": "Ensure each HTML document contains a non-empty \`<title>\` element",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/document-title?application=axeAPI",
"score": 1,
"slug": "document-title",
"title": "Documents must have \`<title>\` element to aid in navigation",
"value": 1,
},
{
"description": "Ensure form field does not have multiple label elements",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/form-field-multiple-labels?application=axeAPI",
"score": 1,
"slug": "form-field-multiple-labels",
"title": "Form field must not have multiple label elements",
"value": 1,
},
{
"description": "Ensure every HTML document has a lang attribute",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/html-has-lang?application=axeAPI",
"score": 1,
"slug": "html-has-lang",
"title": "\`<html>\` element must have a lang attribute",
"value": 1,
},
{
"description": "Ensure the lang attribute of the \`<html>\` element has a valid value",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/html-lang-valid?application=axeAPI",
"score": 1,
"slug": "html-lang-valid",
"title": "\`<html>\` element must have a valid value for the lang attribute",
"value": 1,
},
{
"description": "Ensure every form element has a label",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/label?application=axeAPI",
"score": 1,
"slug": "label",
"title": "Form elements must have labels",
"value": 1,
},
{
"description": "Ensure \`<meta name="viewport">\` does not disable text scaling and zooming",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/meta-viewport?application=axeAPI",
"score": 1,
"slug": "meta-viewport",
"title": "Zooming and scaling must not be disabled",
"value": 1,
},
{
"description": "Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",
"displayValue": "4 elements",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/nested-interactive?application=axeAPI",
"score": 1,
"slug": "nested-interactive",
"title": "Interactive controls must not be nested",
"value": 4,
},
{
"description": "Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",
"displayValue": "1 element",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/css-orientation-lock?application=axeAPI",
"score": 1,
"slug": "css-orientation-lock",
"title": "CSS Media queries must not lock display orientation",
"value": 1,
},
{
"description": "Ensure attributes that begin with aria- are valid ARIA attributes",
"details": {
"issues": [
{
"message": "Invalid ARIA attribute name: aria-invalid-attribute",
"severity": "error",
"source": {
"selector": "div[role="button"]",
"snippet": "<div role="button" aria-invalid-attribute="true">
Button with invalid ARIA attribute
</div>",
"url": "file:///<TEST_DIR>/index.html",
},
},
],
},
"displayValue": "1 error",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-valid-attr?application=axeAPI",
"score": 0,
"slug": "aria-valid-attr",
"title": "ARIA attributes must conform to valid names",
"value": 1,
},
{
"description": "Ensure \`<img>\` elements have alternative text or a role of none or presentation",
"details": {
"issues": [
{
"message": "Element does not have an alt attribute",
"severity": "error",
"source": {
"selector": "img",
"snippet": "<img src="test-image.jpg" width="200" height="150">",
"url": "file:///<TEST_DIR>/index.html",
},
},
],
},
"displayValue": "1 error",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/image-alt?application=axeAPI",
"score": 0,
"slug": "image-alt",
"title": "Images must have alternative text",
"value": 1,
},
{
"description": "Ensure links have discernible text",
"details": {
"issues": [
{
"message": "Element is in tab order and does not have accessible text",
"severity": "error",
"source": {
"selector": "a",
"snippet": "<a href="#"></a>",
"url": "file:///<TEST_DIR>/index.html",
},
},
],
},
"displayValue": "1 error",
"docsUrl": "https://dequeuniversity.com/rules/axe/4.11/link-name?application=axeAPI",
"score": 0,
"slug": "link-name",
"title": "Links must have discernible text",
"value": 1,
},
],
"context": {
"urlCount": 1,
"weights": {
"1": 1,
},
},
"description": "Official Code PushUp Axe plugin for automated accessibility testing",
"docsUrl": "https://www.npmjs.com/package/@code-pushup/axe-plugin",
"groups": [
{
"refs": [
{
"slug": "aria-allowed-attr",
"weight": 1,
},
{
"slug": "aria-braille-equivalent",
"weight": 1,
},
{
"slug": "aria-command-name",
"weight": 1,
},
{
"slug": "aria-conditional-attr",
"weight": 1,
},
{
"slug": "aria-deprecated-role",
"weight": 1,
},
{
"slug": "aria-hidden-body",
"weight": 1,
},
{
"slug": "aria-input-field-name",
"weight": 1,
},
{
"slug": "aria-meter-name",
"weight": 1,
},
{
"slug": "aria-progressbar-name",
"weight": 1,
},
{
"slug": "aria-prohibited-attr",
"weight": 1,
},
{
"slug": "aria-required-attr",
"weight": 1,
},
{
"slug": "aria-required-children",
"weight": 1,
},
{
"slug": "aria-required-parent",
"weight": 1,
},
{
"slug": "aria-roledescription",
"weight": 1,
},
{
"slug": "aria-roles",
"weight": 1,
},
{
"slug": "aria-toggle-field-name",
"weight": 1,
},
{
"slug": "aria-tooltip-name",
"weight": 1,
},
{
"slug": "aria-valid-attr-value",
"weight": 1,
},
{
"slug": "aria-valid-attr",
"weight": 1,
},
],
"slug": "aria",
"title": "ARIA",
},
{
"refs": [
{
"slug": "color-contrast",
"weight": 1,
},
{
"slug": "link-in-text-block",
"weight": 1,
},
],
"slug": "color",
"title": "Color & Contrast",
},
{
"refs": [
{
"slug": "autocomplete-valid",
"weight": 1,
},
{
"slug": "form-field-multiple-labels",
"weight": 1,
},
{
"slug": "label",
"weight": 1,
},
{
"slug": "select-name",
"weight": 1,
},
],
"slug": "forms",
"title": "Forms",
},
{
"refs": [
{
"slug": "bypass",
"weight": 1,
},
{
"slug": "frame-focusable-content",
"weight": 1,
},
{
"slug": "nested-interactive",
"weight": 1,
},
{
"slug": "scrollable-region-focusable",
"weight": 1,
},
],
"slug": "keyboard",
"title": "Keyboard",
},
{
"refs": [
{
"slug": "html-has-lang",
"weight": 1,
},
{
"slug": "html-lang-valid",
"weight": 1,
},
{
"slug": "html-xml-lang-mismatch",
"weight": 1,
},
{
"slug": "valid-lang",
"weight": 1,
},
],
"slug": "language",
"title": "Language",
},
{
"refs": [
{
"slug": "aria-hidden-focus",
"weight": 1,
},
{
"slug": "button-name",
"weight": 1,
},
{
"slug": "input-button-name",
"weight": 1,
},
{
"slug": "link-name",
"weight": 1,
},
{
"slug": "summary-name",
"weight": 1,
},
],
"slug": "name-role-value",
"title": "Names & Labels",
},
{
"refs": [
{
"slug": "duplicate-id-aria",
"weight": 1,
},
{
"slug": "marquee",
"weight": 1,
},
],
"slug": "parsing",
"title": "Parsing",
},
{
"refs": [
{
"slug": "label-content-name-mismatch",
"weight": 1,
},
{
"slug": "p-as-heading",
"weight": 1,
},
],
"slug": "semantics",
"title": "Semantics",
},
{
"refs": [
{
"slug": "meta-viewport",
"weight": 1,
},
],
"slug": "sensory-and-visual-cues",
"title": "Visual Cues",
},
{
"refs": [
{
"slug": "avoid-inline-spacing",
"weight": 1,
},
{
"slug": "css-orientation-lock",
"weight": 1,
},
{
"slug": "definition-list",
"weight": 1,
},
{
"slug": "dlitem",
"weight": 1,
},
{
"slug": "list",
"weight": 1,
},
{
"slug": "listitem",
"weight": 1,
},
],
"slug": "structure",
"title": "Structure",
},
{
"refs": [
{
"slug": "table-fake-caption",
"weight": 1,
},
{
"slug": "td-has-header",
"weight": 1,
},
{
"slug": "td-headers-attr",
"weight": 1,
},
{
"slug": "th-has-data-cells",
"weight": 1,
},
],
"slug": "tables",
"title": "Tables",
},
{
"refs": [
{
"slug": "area-alt",
"weight": 1,
},
{
"slug": "document-title",
"weight": 1,
},
{
"slug": "frame-title-unique",
"weight": 1,
},
{
"slug": "frame-title",
"weight": 1,
},
{
"slug": "image-alt",
"weight": 1,
},
{