testilo 52.1.0 → 52.1.1
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/tic.js +52 -16
package/package.json
CHANGED
package/procs/score/tic.js
CHANGED
|
@@ -3889,8 +3889,8 @@ exports.issues = {
|
|
|
3889
3889
|
}
|
|
3890
3890
|
}
|
|
3891
3891
|
},
|
|
3892
|
-
|
|
3893
|
-
summary: 'script element
|
|
3892
|
+
scriptNotDeferrable: {
|
|
3893
|
+
summary: 'script element invalidly deferred',
|
|
3894
3894
|
why: 'Browser processes the document improperly',
|
|
3895
3895
|
wcag: '1.3.1',
|
|
3896
3896
|
weight: 4,
|
|
@@ -3901,20 +3901,52 @@ exports.issues = {
|
|
|
3901
3901
|
quality: 1,
|
|
3902
3902
|
what: 'Element is script and has a defer attribute but no src attribute'
|
|
3903
3903
|
},
|
|
3904
|
-
'
|
|
3904
|
+
'An inline script element (i.e., a script element without a src attribute and with a type attribute that is either unspecified, empty, or a JavaScript MIME type) must not have a defer attribute.': {
|
|
3905
3905
|
variable: false,
|
|
3906
3906
|
quality: 1,
|
|
3907
|
-
what: 'Element is
|
|
3907
|
+
what: 'Element is not eligible for a defer attribute but has one'
|
|
3908
3908
|
},
|
|
3909
|
-
'A script element with a
|
|
3909
|
+
'A script element with a type attribute whose value is neither a JavaScript MIME type, module, importmap, nor speculationrules (i.e., a data block) must not have a defer attribute.': {
|
|
3910
3910
|
variable: false,
|
|
3911
3911
|
quality: 1,
|
|
3912
|
-
what: 'Element is
|
|
3912
|
+
what: 'Element is not eligible for a defer attribute but has one'
|
|
3913
|
+
}
|
|
3914
|
+
},
|
|
3915
|
+
nuVnu: {
|
|
3916
|
+
'Element script must not have attribute defer unless attribute src is also specified.': {
|
|
3917
|
+
variable: false,
|
|
3918
|
+
quality: 1,
|
|
3919
|
+
what: 'Element is script and has a defer attribute but no src attribute'
|
|
3920
|
+
},
|
|
3921
|
+
'An inline script element (i.e., a script element without a src attribute and with a type attribute that is either unspecified, empty, or a JavaScript MIME type) must not have a defer attribute.': {
|
|
3922
|
+
variable: false,
|
|
3923
|
+
quality: 1,
|
|
3924
|
+
what: 'Element is not eligible for a defer attribute but has one'
|
|
3913
3925
|
},
|
|
3914
3926
|
'A script element with a type attribute whose value is neither a JavaScript MIME type, module, importmap, nor speculationrules (i.e., a data block) must not have a defer attribute.': {
|
|
3915
3927
|
variable: false,
|
|
3916
3928
|
quality: 1,
|
|
3917
3929
|
what: 'Element is not eligible for a defer attribute but has one'
|
|
3930
|
+
}
|
|
3931
|
+
}
|
|
3932
|
+
}
|
|
3933
|
+
},
|
|
3934
|
+
scriptElementBad: {
|
|
3935
|
+
summary: 'script element invalid',
|
|
3936
|
+
why: 'Browser processes the document improperly',
|
|
3937
|
+
wcag: '1.3.1',
|
|
3938
|
+
weight: 4,
|
|
3939
|
+
tools: {
|
|
3940
|
+
nuVal: {
|
|
3941
|
+
'Element script should not have attribute fetchpriority unless attribute src is also specified.': {
|
|
3942
|
+
variable: false,
|
|
3943
|
+
quality: 1,
|
|
3944
|
+
what: 'Element is script and has a fetchpriority attribute but no src attribute'
|
|
3945
|
+
},
|
|
3946
|
+
'A script element with a src attribute must not have a type attribute whose value is anything other than the empty string, a JavaScript MIME type, or module.': {
|
|
3947
|
+
variable: false,
|
|
3948
|
+
quality: 1,
|
|
3949
|
+
what: 'Element is script and has a src attribute but its type is not empty, a JS MIME type, or module'
|
|
3918
3950
|
},
|
|
3919
3951
|
'A script element with a type attribute whose value is neither a JavaScript MIME type, module, importmap, nor speculationrules (i.e., a data block) must not have an async attribute.': {
|
|
3920
3952
|
variable: false,
|
|
@@ -3928,11 +3960,6 @@ exports.issues = {
|
|
|
3928
3960
|
}
|
|
3929
3961
|
},
|
|
3930
3962
|
nuVnu: {
|
|
3931
|
-
'Element script must not have attribute defer unless attribute src is also specified.': {
|
|
3932
|
-
variable: false,
|
|
3933
|
-
quality: 1,
|
|
3934
|
-
what: 'Element is script and has a defer attribute but no src attribute'
|
|
3935
|
-
},
|
|
3936
3963
|
'Element script should not have attribute fetchpriority unless attribute src is also specified.': {
|
|
3937
3964
|
variable: false,
|
|
3938
3965
|
quality: 1,
|
|
@@ -3943,11 +3970,6 @@ exports.issues = {
|
|
|
3943
3970
|
quality: 1,
|
|
3944
3971
|
what: 'Element is script and has a src attribute but its type is not empty, a JS MIME type, or module'
|
|
3945
3972
|
},
|
|
3946
|
-
'A script element with a type attribute whose value is neither a JavaScript MIME type, module, importmap, nor speculationrules (i.e., a data block) must not have a defer attribute.': {
|
|
3947
|
-
variable: false,
|
|
3948
|
-
quality: 1,
|
|
3949
|
-
what: 'Element is not eligible for a defer attribute but has one'
|
|
3950
|
-
},
|
|
3951
3973
|
'A script element with a type attribute whose value is neither a JavaScript MIME type, module, importmap, nor speculationrules (i.e., a data block) must not have an async attribute.': {
|
|
3952
3974
|
variable: false,
|
|
3953
3975
|
quality: 1,
|
|
@@ -9174,6 +9196,20 @@ exports.issues = {
|
|
|
9174
9196
|
wcag: '1.3.1',
|
|
9175
9197
|
weight: 2,
|
|
9176
9198
|
tools: {
|
|
9199
|
+
nuVal: {
|
|
9200
|
+
'The aria-label attribute must not be used on any label element that is associated with a labelable element.': {
|
|
9201
|
+
variable: false,
|
|
9202
|
+
quality: 1,
|
|
9203
|
+
what: 'Element is a label but has a label'
|
|
9204
|
+
}
|
|
9205
|
+
},
|
|
9206
|
+
nuVnu: {
|
|
9207
|
+
'The aria-label attribute must not be used on any label element that is associated with a labelable element.': {
|
|
9208
|
+
variable: false,
|
|
9209
|
+
quality: 1,
|
|
9210
|
+
what: 'Element is a label but has a label'
|
|
9211
|
+
}
|
|
9212
|
+
},
|
|
9177
9213
|
testaro: {
|
|
9178
9214
|
labClash: {
|
|
9179
9215
|
variable: false,
|