testaro-issues 0.3.0 → 0.4.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.
- package/dist/index.cjs +84 -73
- package/dist/index.d.cts +73 -73
- package/dist/index.d.mts +73 -73
- package/dist/index.mjs +84 -73
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@ const issuesData = {
|
|
|
9
9
|
},
|
|
10
10
|
"duplicateAttribute": {
|
|
11
11
|
"summary": "duplicate attribute",
|
|
12
|
-
"why": "Browser processes the
|
|
12
|
+
"why": "Browser processes the page improperly",
|
|
13
13
|
"wcag": "4.1.1",
|
|
14
14
|
"weight": 2
|
|
15
15
|
},
|
|
@@ -39,7 +39,7 @@ const issuesData = {
|
|
|
39
39
|
},
|
|
40
40
|
"regionNoText": {
|
|
41
41
|
"summary": "region not named",
|
|
42
|
-
"why": "User cannot get help surveying the parts of the
|
|
42
|
+
"why": "User cannot get help surveying the parts of the page",
|
|
43
43
|
"wcag": "4.1.2",
|
|
44
44
|
"weight": 4
|
|
45
45
|
},
|
|
@@ -152,7 +152,7 @@ const issuesData = {
|
|
|
152
152
|
"weight": 4
|
|
153
153
|
},
|
|
154
154
|
"gapBad": {
|
|
155
|
-
"summary": "CSS
|
|
155
|
+
"summary": "CSS gap invalid",
|
|
156
156
|
"why": "Content is displayed improperly",
|
|
157
157
|
"wcag": "4.1",
|
|
158
158
|
"weight": 4
|
|
@@ -213,14 +213,14 @@ const issuesData = {
|
|
|
213
213
|
},
|
|
214
214
|
"pageLanguage": {
|
|
215
215
|
"summary": "page language missing",
|
|
216
|
-
"why": "Speaking helper may mispronounce the
|
|
216
|
+
"why": "Speaking helper may mispronounce the page text",
|
|
217
217
|
"wcag": "3.1.1",
|
|
218
218
|
"weight": 4,
|
|
219
219
|
"max": 1
|
|
220
220
|
},
|
|
221
221
|
"pageLanguageBad": {
|
|
222
222
|
"summary": "page language invalid",
|
|
223
|
-
"why": "Speaking helper may mispronounce the
|
|
223
|
+
"why": "Speaking helper may mispronounce the page text",
|
|
224
224
|
"wcag": "3.1.1",
|
|
225
225
|
"weight": 4,
|
|
226
226
|
"max": 1
|
|
@@ -299,7 +299,7 @@ const issuesData = {
|
|
|
299
299
|
},
|
|
300
300
|
"internalLinkBroken": {
|
|
301
301
|
"summary": "internal link broken",
|
|
302
|
-
"why": "User cannot reach a promised
|
|
302
|
+
"why": "User cannot reach a promised page location",
|
|
303
303
|
"wcag": "1.3.1",
|
|
304
304
|
"weight": 4
|
|
305
305
|
},
|
|
@@ -497,7 +497,7 @@ const issuesData = {
|
|
|
497
497
|
},
|
|
498
498
|
"pageNewWindow": {
|
|
499
499
|
"summary": "page immediately opens window",
|
|
500
|
-
"why": "User promised a
|
|
500
|
+
"why": "User promised a page gets another page, too",
|
|
501
501
|
"wcag": "3.2.5",
|
|
502
502
|
"weight": 3,
|
|
503
503
|
"max": 1
|
|
@@ -607,7 +607,7 @@ const issuesData = {
|
|
|
607
607
|
},
|
|
608
608
|
"metaBansZoom": {
|
|
609
609
|
"summary": "meta bans zoom",
|
|
610
|
-
"why": "User cannot adjust the
|
|
610
|
+
"why": "User cannot adjust the page size for readability",
|
|
611
611
|
"wcag": "1.4.4",
|
|
612
612
|
"weight": 4,
|
|
613
613
|
"max": 1
|
|
@@ -691,7 +691,7 @@ const issuesData = {
|
|
|
691
691
|
"weight": 4
|
|
692
692
|
},
|
|
693
693
|
"linkElementMisplaced": {
|
|
694
|
-
"summary": "link element
|
|
694
|
+
"summary": "link element misplaced",
|
|
695
695
|
"why": "Document fails to get a needed external resource",
|
|
696
696
|
"wcag": "1.3.1",
|
|
697
697
|
"weight": 4
|
|
@@ -740,25 +740,25 @@ const issuesData = {
|
|
|
740
740
|
},
|
|
741
741
|
"stylesheetBanned": {
|
|
742
742
|
"summary": "stylesheet prohibited",
|
|
743
|
-
"why": "Browser displays the
|
|
743
|
+
"why": "Browser displays the page improperly",
|
|
744
744
|
"wcag": "1.4",
|
|
745
745
|
"weight": 3
|
|
746
746
|
},
|
|
747
747
|
"scriptNotDeferrable": {
|
|
748
748
|
"summary": "script element invalidly deferred",
|
|
749
|
-
"why": "Browser processes the
|
|
749
|
+
"why": "Browser processes the page improperly",
|
|
750
750
|
"wcag": "1.3.1",
|
|
751
751
|
"weight": 4
|
|
752
752
|
},
|
|
753
753
|
"scriptBanned": {
|
|
754
754
|
"summary": "script prohibited",
|
|
755
|
-
"why": "Browser processes the
|
|
755
|
+
"why": "Browser processes the page improperly",
|
|
756
756
|
"wcag": "4.1",
|
|
757
757
|
"weight": 3
|
|
758
758
|
},
|
|
759
759
|
"scriptElementBad": {
|
|
760
760
|
"summary": "script element invalid",
|
|
761
|
-
"why": "Browser processes the
|
|
761
|
+
"why": "Browser processes the page improperly",
|
|
762
762
|
"wcag": "1.3.1",
|
|
763
763
|
"weight": 4
|
|
764
764
|
},
|
|
@@ -782,7 +782,7 @@ const issuesData = {
|
|
|
782
782
|
},
|
|
783
783
|
"iframeTitleBad": {
|
|
784
784
|
"summary": "iframe not named",
|
|
785
|
-
"why": "User cannot get help on the topic of an embedded
|
|
785
|
+
"why": "User cannot get help on the topic of an embedded page",
|
|
786
786
|
"wcag": "4.1.2",
|
|
787
787
|
"weight": 4
|
|
788
788
|
},
|
|
@@ -980,13 +980,13 @@ const issuesData = {
|
|
|
980
980
|
},
|
|
981
981
|
"headingEmpty": {
|
|
982
982
|
"summary": "heading empty",
|
|
983
|
-
"why": "User cannot get help on the topic of a part of the
|
|
983
|
+
"why": "User cannot get help on the topic of a part of the page",
|
|
984
984
|
"wcag": "2.4.6",
|
|
985
985
|
"weight": 3
|
|
986
986
|
},
|
|
987
987
|
"headingOfNothing": {
|
|
988
988
|
"summary": "heading heads nothing",
|
|
989
|
-
"why": "Helper misdescribes the
|
|
989
|
+
"why": "Helper misdescribes the page",
|
|
990
990
|
"wcag": "1.3.1",
|
|
991
991
|
"weight": 2
|
|
992
992
|
},
|
|
@@ -1028,112 +1028,112 @@ const issuesData = {
|
|
|
1028
1028
|
},
|
|
1029
1029
|
"docTypeMissing": {
|
|
1030
1030
|
"summary": "DOCTYPE missing",
|
|
1031
|
-
"why": "Browser processes the
|
|
1031
|
+
"why": "Browser processes the page improperly",
|
|
1032
1032
|
"wcag": "1.3.1",
|
|
1033
1033
|
"weight": 4,
|
|
1034
1034
|
"max": 1
|
|
1035
1035
|
},
|
|
1036
1036
|
"docTypeMisplaced": {
|
|
1037
1037
|
"summary": "DOCTYPE in invalid location",
|
|
1038
|
-
"why": "Browser processes the
|
|
1038
|
+
"why": "Browser processes the page improperly",
|
|
1039
1039
|
"wcag": "1.3.1",
|
|
1040
1040
|
"weight": 4,
|
|
1041
1041
|
"max": 1
|
|
1042
1042
|
},
|
|
1043
1043
|
"docTypeBad": {
|
|
1044
1044
|
"summary": "DOCTYPE invalid",
|
|
1045
|
-
"why": "Browser processes the
|
|
1045
|
+
"why": "Browser processes the page improperly",
|
|
1046
1046
|
"wcag": "1.3.1",
|
|
1047
1047
|
"weight": 3,
|
|
1048
1048
|
"max": 1
|
|
1049
1049
|
},
|
|
1050
1050
|
"pageTitleBad": {
|
|
1051
1051
|
"summary": "page title invalid",
|
|
1052
|
-
"why": "Browser processes the
|
|
1052
|
+
"why": "Browser processes the page improperly",
|
|
1053
1053
|
"wcag": "1.3.1",
|
|
1054
1054
|
"weight": 3,
|
|
1055
1055
|
"max": 1
|
|
1056
1056
|
},
|
|
1057
1057
|
"pageTitle": {
|
|
1058
1058
|
"summary": "page title missing",
|
|
1059
|
-
"why": "User is not informed of the topic of the
|
|
1059
|
+
"why": "User is not informed of the topic of the page",
|
|
1060
1060
|
"wcag": "2.4.2",
|
|
1061
1061
|
"weight": 4,
|
|
1062
1062
|
"max": 1
|
|
1063
1063
|
},
|
|
1064
1064
|
"headElementsBad": {
|
|
1065
1065
|
"summary": "element in head invalid",
|
|
1066
|
-
"why": "Browser processes the
|
|
1066
|
+
"why": "Browser processes the page improperly",
|
|
1067
1067
|
"wcag": "4.1.1",
|
|
1068
1068
|
"weight": 3
|
|
1069
1069
|
},
|
|
1070
1070
|
"headingLevelSkip": {
|
|
1071
1071
|
"summary": "heading level skipped",
|
|
1072
|
-
"why": "Helper misdescribes the
|
|
1072
|
+
"why": "Helper misdescribes the page",
|
|
1073
1073
|
"wcag": "1.3.1",
|
|
1074
1074
|
"weight": 2
|
|
1075
1075
|
},
|
|
1076
1076
|
"headingStructure": {
|
|
1077
1077
|
"summary": "heading structure illogical",
|
|
1078
|
-
"why": "Helper misdescribes the
|
|
1078
|
+
"why": "Helper misdescribes the page",
|
|
1079
1079
|
"wcag": "1.3.1",
|
|
1080
1080
|
"weight": 2
|
|
1081
1081
|
},
|
|
1082
1082
|
"headingConfusion": {
|
|
1083
1083
|
"summary": "heading names repeated",
|
|
1084
|
-
"why": "User cannot differentiate parts of the
|
|
1084
|
+
"why": "User cannot differentiate parts of the page",
|
|
1085
1085
|
"wcag": "1.3.1",
|
|
1086
1086
|
"weight": 2
|
|
1087
1087
|
},
|
|
1088
1088
|
"headingMisuseRisk": {
|
|
1089
1089
|
"summary": "heading used for styling?",
|
|
1090
|
-
"why": "User cannot understand the
|
|
1090
|
+
"why": "User cannot understand the page structure",
|
|
1091
1091
|
"wcag": "1.3.1",
|
|
1092
1092
|
"weight": 2
|
|
1093
1093
|
},
|
|
1094
1094
|
"headingNone": {
|
|
1095
1095
|
"summary": "headings missing",
|
|
1096
|
-
"why": "User cannot survey parts of the
|
|
1096
|
+
"why": "User cannot survey parts of the page",
|
|
1097
1097
|
"wcag": "1.3.1",
|
|
1098
1098
|
"weight": 3,
|
|
1099
1099
|
"max": 1
|
|
1100
1100
|
},
|
|
1101
1101
|
"h1Not1": {
|
|
1102
1102
|
"summary": "not exactly 1 h1 heading",
|
|
1103
|
-
"why": "User cannot understand the topic of the
|
|
1103
|
+
"why": "User cannot understand the topic of the page",
|
|
1104
1104
|
"wcag": "1.3.1",
|
|
1105
1105
|
"weight": 2,
|
|
1106
1106
|
"max": 1
|
|
1107
1107
|
},
|
|
1108
1108
|
"h1Not1st": {
|
|
1109
1109
|
"summary": "h1 not 1st heading",
|
|
1110
|
-
"why": "User cannot understand the topic of the
|
|
1110
|
+
"why": "User cannot understand the topic of the page",
|
|
1111
1111
|
"wcag": "1.3.1",
|
|
1112
1112
|
"weight": 3,
|
|
1113
1113
|
"max": 1
|
|
1114
1114
|
},
|
|
1115
1115
|
"docHeadingNotH1": {
|
|
1116
1116
|
"summary": "primary heading not h1",
|
|
1117
|
-
"why": "User cannot understand the topic of the
|
|
1117
|
+
"why": "User cannot understand the topic of the page",
|
|
1118
1118
|
"wcag": "1.3.1",
|
|
1119
1119
|
"weight": 2,
|
|
1120
1120
|
"max": 1
|
|
1121
1121
|
},
|
|
1122
1122
|
"articleHeadingless": {
|
|
1123
1123
|
"summary": "article heading missing",
|
|
1124
|
-
"why": "User cannot understand the topic of a part of the
|
|
1124
|
+
"why": "User cannot understand the topic of a part of the page",
|
|
1125
1125
|
"wcag": "1.3.1",
|
|
1126
1126
|
"weight": 1
|
|
1127
1127
|
},
|
|
1128
1128
|
"sectionHeadingless": {
|
|
1129
1129
|
"summary": "section heading missing",
|
|
1130
|
-
"why": "User cannot understand the topic of a part of the
|
|
1130
|
+
"why": "User cannot understand the topic of a part of the page",
|
|
1131
1131
|
"wcag": "1.3.1",
|
|
1132
1132
|
"weight": 1
|
|
1133
1133
|
},
|
|
1134
1134
|
"headingLength": {
|
|
1135
1135
|
"summary": "heading abnormally long",
|
|
1136
|
-
"why": "User has difficulty understanding the topic of a part of the
|
|
1136
|
+
"why": "User has difficulty understanding the topic of a part of the page",
|
|
1137
1137
|
"wcag": "1.3.1",
|
|
1138
1138
|
"weight": 1
|
|
1139
1139
|
},
|
|
@@ -1163,7 +1163,7 @@ const issuesData = {
|
|
|
1163
1163
|
},
|
|
1164
1164
|
"hrConfusionRisk": {
|
|
1165
1165
|
"summary": "hr misused",
|
|
1166
|
-
"why": "User cannot get help on the nature of segments of the
|
|
1166
|
+
"why": "User cannot get help on the nature of segments of the page",
|
|
1167
1167
|
"wcag": "1.3.1",
|
|
1168
1168
|
"weight": 1
|
|
1169
1169
|
},
|
|
@@ -1181,7 +1181,7 @@ const issuesData = {
|
|
|
1181
1181
|
},
|
|
1182
1182
|
"pseudoHeadingRisk": {
|
|
1183
1183
|
"summary": "heading-like styles dubious",
|
|
1184
|
-
"why": "User may be unable to understand the topic of a part of the
|
|
1184
|
+
"why": "User may be unable to understand the topic of a part of the page",
|
|
1185
1185
|
"wcag": "1.3.1",
|
|
1186
1186
|
"weight": 1
|
|
1187
1187
|
},
|
|
@@ -1511,7 +1511,7 @@ const issuesData = {
|
|
|
1511
1511
|
},
|
|
1512
1512
|
"visibleBulk": {
|
|
1513
1513
|
"summary": "large visible-element count",
|
|
1514
|
-
"why": "User cannot easily find items in the
|
|
1514
|
+
"why": "User cannot easily find items in the page",
|
|
1515
1515
|
"wcag": "2.4",
|
|
1516
1516
|
"weight": 1,
|
|
1517
1517
|
"max": 1
|
|
@@ -1578,90 +1578,90 @@ const issuesData = {
|
|
|
1578
1578
|
},
|
|
1579
1579
|
"noLandmarks": {
|
|
1580
1580
|
"summary": "no landmarks",
|
|
1581
|
-
"why": "User cannot get help on how the
|
|
1581
|
+
"why": "User cannot get help on how the page is organized",
|
|
1582
1582
|
"wcag": "1.3.6",
|
|
1583
1583
|
"weight": 2,
|
|
1584
1584
|
"max": 1
|
|
1585
1585
|
},
|
|
1586
1586
|
"contentBeyondLandmarks": {
|
|
1587
1587
|
"summary": "content beyond landmarks",
|
|
1588
|
-
"why": "User cannot get help on how some of the
|
|
1588
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1589
1589
|
"wcag": "1.3.6",
|
|
1590
1590
|
"weight": 1
|
|
1591
1591
|
},
|
|
1592
1592
|
"footerNotTop": {
|
|
1593
1593
|
"summary": "footer child of landmark",
|
|
1594
|
-
"why": "User cannot get help on how some of the
|
|
1594
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1595
1595
|
"wcag": "1.3.6",
|
|
1596
1596
|
"weight": 1
|
|
1597
1597
|
},
|
|
1598
1598
|
"asideNotTop": {
|
|
1599
1599
|
"summary": "aside child of landmark",
|
|
1600
|
-
"why": "User cannot get help on how some of the
|
|
1600
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1601
1601
|
"wcag": "1.3.6",
|
|
1602
1602
|
"weight": 2
|
|
1603
1603
|
},
|
|
1604
1604
|
"mainNotTop": {
|
|
1605
1605
|
"summary": "main child of landmark",
|
|
1606
|
-
"why": "User cannot get help on how some of the
|
|
1606
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1607
1607
|
"wcag": "1.3.6",
|
|
1608
1608
|
"weight": 2
|
|
1609
1609
|
},
|
|
1610
1610
|
"mainConfusion": {
|
|
1611
1611
|
"summary": "mains not distinctly named",
|
|
1612
|
-
"why": "User cannot get help on how some of the
|
|
1612
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1613
1613
|
"wcag": "1.3.6",
|
|
1614
1614
|
"weight": 3
|
|
1615
1615
|
},
|
|
1616
1616
|
"mainNone": {
|
|
1617
1617
|
"summary": "main missing",
|
|
1618
|
-
"why": "User cannot get help on how some of the
|
|
1618
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1619
1619
|
"wcag": "1.3.6",
|
|
1620
1620
|
"weight": 2,
|
|
1621
1621
|
"max": 1
|
|
1622
1622
|
},
|
|
1623
1623
|
"mainNot1": {
|
|
1624
1624
|
"summary": "multiple mains",
|
|
1625
|
-
"why": "User cannot get help on how some of the
|
|
1625
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1626
1626
|
"wcag": "1.3.6",
|
|
1627
1627
|
"weight": 2,
|
|
1628
1628
|
"max": 1
|
|
1629
1629
|
},
|
|
1630
1630
|
"bannerNot1": {
|
|
1631
1631
|
"summary": "multiple banners",
|
|
1632
|
-
"why": "User cannot get help on how some of the
|
|
1632
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1633
1633
|
"wcag": "1.3.6",
|
|
1634
1634
|
"weight": 2,
|
|
1635
1635
|
"max": 1
|
|
1636
1636
|
},
|
|
1637
1637
|
"bannerNotTop": {
|
|
1638
1638
|
"summary": "banner child of landmark",
|
|
1639
|
-
"why": "User cannot get help on how some of the
|
|
1639
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1640
1640
|
"wcag": "1.3.6",
|
|
1641
1641
|
"weight": 2
|
|
1642
1642
|
},
|
|
1643
1643
|
"footerConfusion": {
|
|
1644
1644
|
"summary": "contentinfos not distinctly named",
|
|
1645
|
-
"why": "User cannot get help on how some of the
|
|
1645
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1646
1646
|
"wcag": "1.3.6",
|
|
1647
1647
|
"weight": 3
|
|
1648
1648
|
},
|
|
1649
1649
|
"footerNot1": {
|
|
1650
1650
|
"summary": "multiple contentinfos",
|
|
1651
|
-
"why": "User cannot get help on how some of the
|
|
1651
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1652
1652
|
"wcag": "1.3.6",
|
|
1653
1653
|
"weight": 2,
|
|
1654
1654
|
"max": 1
|
|
1655
1655
|
},
|
|
1656
1656
|
"landmarkConfusion": {
|
|
1657
1657
|
"summary": "landmarks not distinctly named",
|
|
1658
|
-
"why": "User cannot get help on how some of the
|
|
1658
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1659
1659
|
"wcag": "1.3.6",
|
|
1660
1660
|
"weight": 3
|
|
1661
1661
|
},
|
|
1662
1662
|
"documentConfusion": {
|
|
1663
|
-
"summary": "
|
|
1664
|
-
"why": "User cannot get help on how some of the
|
|
1663
|
+
"summary": "page elements not distinctly named",
|
|
1664
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1665
1665
|
"wcag": "1.3.6",
|
|
1666
1666
|
"weight": 3
|
|
1667
1667
|
},
|
|
@@ -1673,61 +1673,61 @@ const issuesData = {
|
|
|
1673
1673
|
},
|
|
1674
1674
|
"formConfusion": {
|
|
1675
1675
|
"summary": "forms not distinctly named",
|
|
1676
|
-
"why": "User cannot get help on how some of the
|
|
1676
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1677
1677
|
"wcag": "1.3.6",
|
|
1678
1678
|
"weight": 3
|
|
1679
1679
|
},
|
|
1680
1680
|
"applicationNoText": {
|
|
1681
1681
|
"summary": "application not named",
|
|
1682
|
-
"why": "User cannot get help on how some of the
|
|
1682
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1683
1683
|
"wcag": "1.3.6",
|
|
1684
1684
|
"weight": 4
|
|
1685
1685
|
},
|
|
1686
1686
|
"applicationConfusion": {
|
|
1687
1687
|
"summary": "applications not distinctly named",
|
|
1688
|
-
"why": "User cannot get help on how some of the
|
|
1688
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1689
1689
|
"wcag": "1.3.6",
|
|
1690
1690
|
"weight": 3
|
|
1691
1691
|
},
|
|
1692
1692
|
"asideConfusion": {
|
|
1693
1693
|
"summary": "asides not distinctly named",
|
|
1694
|
-
"why": "User cannot get help on how some of the
|
|
1694
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1695
1695
|
"wcag": "1.3.6",
|
|
1696
1696
|
"weight": 3
|
|
1697
1697
|
},
|
|
1698
1698
|
"bannerConfusion": {
|
|
1699
1699
|
"summary": "banners not distinctly named",
|
|
1700
|
-
"why": "User cannot get help on how some of the
|
|
1700
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1701
1701
|
"wcag": "1.3.6",
|
|
1702
1702
|
"weight": 3
|
|
1703
1703
|
},
|
|
1704
1704
|
"navConfusion": {
|
|
1705
1705
|
"summary": "navigations not distinctly named",
|
|
1706
|
-
"why": "User cannot get help on how some of the
|
|
1706
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1707
1707
|
"wcag": "1.3.6",
|
|
1708
1708
|
"weight": 3
|
|
1709
1709
|
},
|
|
1710
1710
|
"landmarkInNav": {
|
|
1711
1711
|
"summary": "invalid landmark child of navigation role",
|
|
1712
|
-
"why": "User cannot get help on how some of the
|
|
1712
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1713
1713
|
"wcag": "1.3.6",
|
|
1714
1714
|
"weight": 4
|
|
1715
1715
|
},
|
|
1716
1716
|
"regionConfusion": {
|
|
1717
1717
|
"summary": "regions not distinctly named",
|
|
1718
|
-
"why": "User cannot get help on how some of the
|
|
1718
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1719
1719
|
"wcag": "1.3.6",
|
|
1720
1720
|
"weight": 3
|
|
1721
1721
|
},
|
|
1722
1722
|
"searchConfusion": {
|
|
1723
1723
|
"summary": "searches not distinctly named",
|
|
1724
|
-
"why": "User cannot get help on how some of the
|
|
1724
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1725
1725
|
"wcag": "1.3.6",
|
|
1726
1726
|
"weight": 3
|
|
1727
1727
|
},
|
|
1728
1728
|
"complementaryNoText": {
|
|
1729
1729
|
"summary": "complementary not named",
|
|
1730
|
-
"why": "User cannot get help on how some of the
|
|
1730
|
+
"why": "User cannot get help on how some of the page is organized",
|
|
1731
1731
|
"wcag": "1.3.6",
|
|
1732
1732
|
"weight": 1
|
|
1733
1733
|
},
|
|
@@ -1787,14 +1787,14 @@ const issuesData = {
|
|
|
1787
1787
|
},
|
|
1788
1788
|
"contentHidden": {
|
|
1789
1789
|
"summary": "page hidden",
|
|
1790
|
-
"why": "User cannot get the
|
|
1790
|
+
"why": "User cannot get the page content",
|
|
1791
1791
|
"wcag": "2.4.7",
|
|
1792
1792
|
"weight": 4,
|
|
1793
1793
|
"max": 1
|
|
1794
1794
|
},
|
|
1795
1795
|
"hideFailureRisk": {
|
|
1796
1796
|
"summary": "false aria-hidden value risky",
|
|
1797
|
-
"why": "User may be misled by erroneously hidden or revealed
|
|
1797
|
+
"why": "User may be misled by erroneously hidden or revealed page content",
|
|
1798
1798
|
"wcag": "2.4.6",
|
|
1799
1799
|
"weight": 1
|
|
1800
1800
|
},
|
|
@@ -1812,19 +1812,19 @@ const issuesData = {
|
|
|
1812
1812
|
},
|
|
1813
1813
|
"hoverIndication": {
|
|
1814
1814
|
"summary": "hover indication poor",
|
|
1815
|
-
"why": "User cannot explore the
|
|
1815
|
+
"why": "User cannot explore the page reliably with a mouse",
|
|
1816
1816
|
"wcag": "3.3.2",
|
|
1817
1817
|
"weight": 3
|
|
1818
1818
|
},
|
|
1819
1819
|
"hoverSurprise": {
|
|
1820
1820
|
"summary": "hovering changes content",
|
|
1821
|
-
"why": "User cannot explore the
|
|
1821
|
+
"why": "User cannot explore the page reliably with a mouse",
|
|
1822
1822
|
"wcag": "3.2.5",
|
|
1823
1823
|
"weight": 1
|
|
1824
1824
|
},
|
|
1825
1825
|
"formSurpriseRisk": {
|
|
1826
1826
|
"summary": "form interaction changes content?",
|
|
1827
|
-
"why": "User experiences unexpected
|
|
1827
|
+
"why": "User experiences unexpected page change when using a form",
|
|
1828
1828
|
"wcag": "3.2.5",
|
|
1829
1829
|
"weight": 1
|
|
1830
1830
|
},
|
|
@@ -2071,14 +2071,14 @@ const issuesData = {
|
|
|
2071
2071
|
},
|
|
2072
2072
|
"skipRepeatedContent": {
|
|
2073
2073
|
"summary": "skip method missing or invalid",
|
|
2074
|
-
"why": "Keyboard-only user cannot easily reach the specific content of the
|
|
2074
|
+
"why": "Keyboard-only user cannot easily reach the specific content of the page",
|
|
2075
2075
|
"wcag": "2.4.1",
|
|
2076
2076
|
"weight": 3,
|
|
2077
2077
|
"max": 2
|
|
2078
2078
|
},
|
|
2079
2079
|
"repeatedContentRisk": {
|
|
2080
2080
|
"summary": "skip method missing or invalid?",
|
|
2081
|
-
"why": "Keyboard-only user may be unable easily to reach the specific content of the
|
|
2081
|
+
"why": "Keyboard-only user may be unable easily to reach the specific content of the page",
|
|
2082
2082
|
"wcag": "2.4.1",
|
|
2083
2083
|
"weight": 1,
|
|
2084
2084
|
"max": 2
|
|
@@ -2170,25 +2170,25 @@ const issuesData = {
|
|
|
2170
2170
|
},
|
|
2171
2171
|
"characterBad": {
|
|
2172
2172
|
"summary": "invalid character",
|
|
2173
|
-
"why": "Invalid character makes the
|
|
2173
|
+
"why": "Invalid character makes the page behave incorrectly",
|
|
2174
2174
|
"wcag": "4.1",
|
|
2175
2175
|
"weight": 3
|
|
2176
2176
|
},
|
|
2177
2177
|
"entityBad": {
|
|
2178
2178
|
"summary": "named character reference invalid",
|
|
2179
|
-
"why": "User may be unable to read all the
|
|
2179
|
+
"why": "User may be unable to read all the page text",
|
|
2180
2180
|
"wcag": "4.1",
|
|
2181
2181
|
"weight": 4
|
|
2182
2182
|
},
|
|
2183
2183
|
"textContentBad": {
|
|
2184
2184
|
"summary": "element text content invalid",
|
|
2185
|
-
"why": "User may be unable to read all the
|
|
2185
|
+
"why": "User may be unable to read all the page text",
|
|
2186
2186
|
"wcag": "4.1",
|
|
2187
2187
|
"weight": 3
|
|
2188
2188
|
},
|
|
2189
2189
|
"parseError": {
|
|
2190
2190
|
"summary": "code invalid",
|
|
2191
|
-
"why": "Invalid code in the
|
|
2191
|
+
"why": "Invalid code in the page may prevent a helper from working",
|
|
2192
2192
|
"wcag": "4.1",
|
|
2193
2193
|
"weight": 3
|
|
2194
2194
|
},
|
|
@@ -2214,7 +2214,7 @@ const issuesData = {
|
|
|
2214
2214
|
},
|
|
2215
2215
|
"captcha2": {
|
|
2216
2216
|
"summary": "captcha2",
|
|
2217
|
-
"why": "User is prevented from consuming the
|
|
2217
|
+
"why": "User is prevented from consuming the page",
|
|
2218
2218
|
"wcag": "1.1.1",
|
|
2219
2219
|
"weight": 1,
|
|
2220
2220
|
"max": 1
|
|
@@ -9773,8 +9773,19 @@ const getEngineRuleCounts = (ruleTable = rules) => {
|
|
|
9773
9773
|
});
|
|
9774
9774
|
return counts;
|
|
9775
9775
|
};
|
|
9776
|
+
const checkIssuesData = (issueTable) => {
|
|
9777
|
+
const errors = [];
|
|
9778
|
+
const issueIDsBySummary = {};
|
|
9779
|
+
Object.entries(issueTable).forEach(([issueID, { summary }]) => {
|
|
9780
|
+
const ownerID = issueIDsBySummary[summary];
|
|
9781
|
+
if (ownerID) errors.push(`issues.${issueID} has the summary "${summary}", already used by issues.${ownerID}`);
|
|
9782
|
+
else issueIDsBySummary[summary] = issueID;
|
|
9783
|
+
});
|
|
9784
|
+
if (errors.length) throw new Error(`${errors[0]} (1 of ${errors.length} problems found)`);
|
|
9785
|
+
};
|
|
9776
9786
|
const issueRules = makeIssueRules(rules);
|
|
9777
9787
|
const issueStats = makeIssueStats(issueRules);
|
|
9788
|
+
checkIssuesData(issues);
|
|
9778
9789
|
//#endregion
|
|
9779
9790
|
exports.getEditableData = getEditableData;
|
|
9780
9791
|
exports.getEngineRuleCounts = getEngineRuleCounts;
|