testilo 52.1.0 → 52.1.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 (2) hide show
  1. package/package.json +1 -1
  2. package/procs/score/tic.js +59 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "52.1.0",
3
+ "version": "52.1.2",
4
4
  "description": "Prepares Testaro jobs and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -3889,8 +3889,8 @@ exports.issues = {
3889
3889
  }
3890
3890
  }
3891
3891
  },
3892
- scriptElementBad: {
3893
- summary: 'script element invalid',
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
- 'Element script should not have attribute fetchpriority unless attribute src is also specified.': {
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 script and has a fetchpriority attribute but no src attribute'
3907
+ what: 'Element is not eligible for a defer attribute but has one'
3908
3908
  },
3909
- '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.': {
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 script and has a src attribute but its type is not empty, a JS MIME type, or module'
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,
@@ -7900,6 +7922,13 @@ exports.issues = {
7900
7922
  quality: 1,
7901
7923
  what: 'Target size is suboptimal'
7902
7924
  }
7925
+ },
7926
+ testaro: {
7927
+ targetSmall: {
7928
+ variable: false,
7929
+ quality: 1,
7930
+ what: 'Target is not inline but is smaller than 44px by 44px [retired 2026-04]'
7931
+ }
7903
7932
  }
7904
7933
  }
7905
7934
  },
@@ -9174,6 +9203,20 @@ exports.issues = {
9174
9203
  wcag: '1.3.1',
9175
9204
  weight: 2,
9176
9205
  tools: {
9206
+ nuVal: {
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
+ },
9213
+ nuVnu: {
9214
+ 'The aria-label attribute must not be used on any label element that is associated with a labelable element.': {
9215
+ variable: false,
9216
+ quality: 1,
9217
+ what: 'Element is a label but has a label'
9218
+ }
9219
+ },
9177
9220
  testaro: {
9178
9221
  labClash: {
9179
9222
  variable: false,