testilo 3.8.6 → 3.9.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.
- package/package.json +1 -1
- package/procs/score/sp14a.js +117 -3
- package/procs/score/sp15a.js +4667 -0
package/package.json
CHANGED
package/procs/score/sp14a.js
CHANGED
|
@@ -255,6 +255,17 @@ const groups = {
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
},
|
|
258
|
+
figureNoText: {
|
|
259
|
+
weight: 4,
|
|
260
|
+
packages: {
|
|
261
|
+
ibm: {
|
|
262
|
+
HAAC_Figure_label: {
|
|
263
|
+
quality: 1,
|
|
264
|
+
what: 'figure element has no associated label'
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
258
269
|
imageNoText: {
|
|
259
270
|
weight: 4,
|
|
260
271
|
packages: {
|
|
@@ -291,6 +302,10 @@ const groups = {
|
|
|
291
302
|
}
|
|
292
303
|
},
|
|
293
304
|
ibm: {
|
|
305
|
+
HAAC_Aria_ImgAlt: {
|
|
306
|
+
quality: 1,
|
|
307
|
+
what: 'Element with an img role has no non-empty label'
|
|
308
|
+
},
|
|
294
309
|
WCAG20_Img_HasAlt: {
|
|
295
310
|
quality: 1,
|
|
296
311
|
what: 'Image has no alt attribute conveying its meaning, or alt="" if decorative'
|
|
@@ -308,11 +323,22 @@ const groups = {
|
|
|
308
323
|
}
|
|
309
324
|
}
|
|
310
325
|
},
|
|
326
|
+
decorativeImageAltBad: {
|
|
327
|
+
weight: 4,
|
|
328
|
+
packages: {
|
|
329
|
+
ibm: {
|
|
330
|
+
WCAG20_Img_PresentationImgHasNonNullAlt: {
|
|
331
|
+
quality: 1,
|
|
332
|
+
what: 'Image designated as decorative has no alt=""'
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
},
|
|
311
337
|
imageTextBad: {
|
|
312
338
|
weight: 3,
|
|
313
339
|
packages: {
|
|
314
340
|
alfa: {
|
|
315
|
-
|
|
341
|
+
r39: {
|
|
316
342
|
quality: 1,
|
|
317
343
|
what: 'Image text alternative is the filename instead'
|
|
318
344
|
}
|
|
@@ -511,7 +537,18 @@ const groups = {
|
|
|
511
537
|
continuum: {
|
|
512
538
|
736: {
|
|
513
539
|
quality: 1,
|
|
514
|
-
what: 'Element with a dialog role has no mechanism that allows an accessible name to be calculated
|
|
540
|
+
what: 'Element with a dialog role has no mechanism that allows an accessible name to be calculated'
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
applicationNoText: {
|
|
546
|
+
weight: 4,
|
|
547
|
+
packages: {
|
|
548
|
+
ibm: {
|
|
549
|
+
Rpt_Aria_ApplicationLandmarkLabel: {
|
|
550
|
+
quality: 1,
|
|
551
|
+
what: 'Element with an application role has no purpose label'
|
|
515
552
|
}
|
|
516
553
|
}
|
|
517
554
|
}
|
|
@@ -1856,6 +1893,12 @@ const groups = {
|
|
|
1856
1893
|
what: 'img element has an empty alt attribute but has a nonempty title attribute'
|
|
1857
1894
|
}
|
|
1858
1895
|
},
|
|
1896
|
+
ibm: {
|
|
1897
|
+
WCAG20_Img_TitleEmptyWhenAltNull: {
|
|
1898
|
+
quality: 1,
|
|
1899
|
+
what: 'Image alt attribute is empty, but its title attribute is not'
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1859
1902
|
wave: {
|
|
1860
1903
|
'a:image_title': {
|
|
1861
1904
|
quality: 1,
|
|
@@ -2154,6 +2197,12 @@ const groups = {
|
|
|
2154
2197
|
quality: 1,
|
|
2155
2198
|
what: 'ul element does not contain only li, script, template, or listitem-role elements as direct child elements'
|
|
2156
2199
|
}
|
|
2200
|
+
},
|
|
2201
|
+
ibm: {
|
|
2202
|
+
HAAC_List_Group_ListItem: {
|
|
2203
|
+
quality: 1,
|
|
2204
|
+
what: 'List component with a group role has a non-listitem child'
|
|
2205
|
+
}
|
|
2157
2206
|
}
|
|
2158
2207
|
}
|
|
2159
2208
|
},
|
|
@@ -2383,6 +2432,12 @@ const groups = {
|
|
|
2383
2432
|
quality: 1,
|
|
2384
2433
|
what: 'Complex table requires headers attributes of cells'
|
|
2385
2434
|
}
|
|
2435
|
+
},
|
|
2436
|
+
ibm: {
|
|
2437
|
+
Valerie_Table_DataCellRelationships: {
|
|
2438
|
+
quality: 1,
|
|
2439
|
+
what: 'Not all th and td elements in the complex table have header or scope attributes'
|
|
2440
|
+
}
|
|
2386
2441
|
}
|
|
2387
2442
|
}
|
|
2388
2443
|
},
|
|
@@ -2811,7 +2866,13 @@ const groups = {
|
|
|
2811
2866
|
axe: {
|
|
2812
2867
|
'landmark-no-duplicate-contentinfo': {
|
|
2813
2868
|
quality: 1,
|
|
2814
|
-
what: '
|
|
2869
|
+
what: 'Page has more than 1 contentinfo landmark (footer)'
|
|
2870
|
+
}
|
|
2871
|
+
},
|
|
2872
|
+
ibm: {
|
|
2873
|
+
Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit: {
|
|
2874
|
+
quality: 1,
|
|
2875
|
+
what: 'Page, document, or application has more than one element with a contentinfo role'
|
|
2815
2876
|
}
|
|
2816
2877
|
}
|
|
2817
2878
|
}
|
|
@@ -2833,6 +2894,39 @@ const groups = {
|
|
|
2833
2894
|
}
|
|
2834
2895
|
}
|
|
2835
2896
|
},
|
|
2897
|
+
articleConfusion: {
|
|
2898
|
+
weight: 3,
|
|
2899
|
+
packages: {
|
|
2900
|
+
ibm: {
|
|
2901
|
+
Rpt_Aria_MultipleArticleRoles_Implicit: {
|
|
2902
|
+
quality: 1,
|
|
2903
|
+
what: 'Element with an article role has no unique purpose label among the article-role elements'
|
|
2904
|
+
}
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
},
|
|
2908
|
+
formConfusion: {
|
|
2909
|
+
weight: 3,
|
|
2910
|
+
packages: {
|
|
2911
|
+
ibm: {
|
|
2912
|
+
Rpt_Aria_MultipleFormLandmarks_Implicit: {
|
|
2913
|
+
quality: 1,
|
|
2914
|
+
what: 'Element with a form role has no unique purpose label among the form-role elements'
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
},
|
|
2919
|
+
applicationConfusion: {
|
|
2920
|
+
weight: 3,
|
|
2921
|
+
packages: {
|
|
2922
|
+
ibm: {
|
|
2923
|
+
Rpt_Aria_MultipleApplicationLandmarks: {
|
|
2924
|
+
quality: 1,
|
|
2925
|
+
what: 'Element with an application role has no unique purpose label among the application-role elements'
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
},
|
|
2836
2930
|
asideConfusion: {
|
|
2837
2931
|
weight: 3,
|
|
2838
2932
|
packages: {
|
|
@@ -2841,6 +2935,12 @@ const groups = {
|
|
|
2841
2935
|
quality: 1,
|
|
2842
2936
|
what: 'aside element has an accessible name that is non-unique among the aside elements'
|
|
2843
2937
|
}
|
|
2938
|
+
},
|
|
2939
|
+
ibm: {
|
|
2940
|
+
Rpt_Aria_MultipleComplementaryLandmarks_Implicit: {
|
|
2941
|
+
quality: 1,
|
|
2942
|
+
what: 'Element with a complementary role has no unique purpose label among the complementary-role elements'
|
|
2943
|
+
}
|
|
2844
2944
|
}
|
|
2845
2945
|
}
|
|
2846
2946
|
},
|
|
@@ -2912,6 +3012,10 @@ const groups = {
|
|
|
2912
3012
|
Rpt_Aria_ComplementaryRequiredLabel_Implicit: {
|
|
2913
3013
|
quality: 1,
|
|
2914
3014
|
what: 'Element has a complementary role but has no label'
|
|
3015
|
+
},
|
|
3016
|
+
Rpt_Aria_ComplementaryLandmarkLabel_Implicit: {
|
|
3017
|
+
quality: 1,
|
|
3018
|
+
what: 'Element with a complementary role has no visible purpose label'
|
|
2915
3019
|
}
|
|
2916
3020
|
}
|
|
2917
3021
|
}
|
|
@@ -3071,6 +3175,12 @@ const groups = {
|
|
|
3071
3175
|
what: 'Incompatible label types'
|
|
3072
3176
|
}
|
|
3073
3177
|
},
|
|
3178
|
+
ibm: {
|
|
3179
|
+
RPT_Label_UniqueFor: {
|
|
3180
|
+
quality: 1,
|
|
3181
|
+
what: 'Form control does not have exactly one label'
|
|
3182
|
+
}
|
|
3183
|
+
},
|
|
3074
3184
|
wave: {
|
|
3075
3185
|
'e:label_multiple': {
|
|
3076
3186
|
quality: 1,
|
|
@@ -3466,6 +3576,10 @@ const groups = {
|
|
|
3466
3576
|
}
|
|
3467
3577
|
},
|
|
3468
3578
|
ibm: {
|
|
3579
|
+
aria_attribute_deprecated: {
|
|
3580
|
+
quality: 1,
|
|
3581
|
+
what: 'ARIA role or attribute is deprecated'
|
|
3582
|
+
},
|
|
3469
3583
|
combobox_version: {
|
|
3470
3584
|
quality: 1,
|
|
3471
3585
|
what: 'combobox design pattern is invalid for ARIA 1.2'
|