testilo 44.1.1 → 44.2.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/package.json +1 -1
- package/procs/score/tic.js +44 -49
package/package.json
CHANGED
package/procs/score/tic.js
CHANGED
|
@@ -426,6 +426,31 @@ exports.issues = {
|
|
|
426
426
|
variable: false,
|
|
427
427
|
quality: 1,
|
|
428
428
|
what: 'Link purpose may be undisclosed [speculative]'
|
|
429
|
+
},
|
|
430
|
+
'This checkboxinput element does not have a name available to an accessibility API. Valid names are: label element, title , aria-label , aria-labelledby , aria-description , aria-describedby .': {
|
|
431
|
+
variable: false,
|
|
432
|
+
quality: 1,
|
|
433
|
+
what: 'checkbox input element has no accessible name [invalid]'
|
|
434
|
+
},
|
|
435
|
+
'This emailinput element does not have a name available to an accessibility API. Valid names are: label element, title , aria-label , aria-labelledby , aria-description , aria-describedby .': {
|
|
436
|
+
variable: false,
|
|
437
|
+
quality: 1,
|
|
438
|
+
what: 'email input element has no accessible name [invalid]'
|
|
439
|
+
},
|
|
440
|
+
'This numberinput element does not have a name available to an accessibility API. Valid names are: label element, title , aria-label , aria-labelledby , aria-description , aria-describedby .': {
|
|
441
|
+
variable: false,
|
|
442
|
+
quality: 1,
|
|
443
|
+
what: 'Element is an input of type number but has no accessible name [invalid]'
|
|
444
|
+
},
|
|
445
|
+
'This searchinput element does not have a name available to an accessibility API. Valid names are: label element, title , aria-label , aria-labelledby , aria-description , aria-describedby .': {
|
|
446
|
+
variable: false,
|
|
447
|
+
quality: 1,
|
|
448
|
+
what: 'search input element has no accessible name [invalid]'
|
|
449
|
+
},
|
|
450
|
+
'This textinput element does not have a name available to an accessibility API. Valid names are: label element, title , aria-label , aria-labelledby , aria-description , aria-describedby .': {
|
|
451
|
+
variable: false,
|
|
452
|
+
quality: 1,
|
|
453
|
+
what: 'text input element has no accessible name [invalid]'
|
|
429
454
|
}
|
|
430
455
|
}
|
|
431
456
|
}
|
|
@@ -672,36 +697,6 @@ exports.issues = {
|
|
|
672
697
|
quality: 1,
|
|
673
698
|
what: 'Element with an input role has no accessible name'
|
|
674
699
|
},
|
|
675
|
-
'This emailinput element does not have a name available to an accessibility API. Valid names are: label element, title , aria-label , aria-labelledby , aria-description , aria-describedby .': {
|
|
676
|
-
variable: false,
|
|
677
|
-
quality: 1,
|
|
678
|
-
what: 'email input element has no accessible name'
|
|
679
|
-
},
|
|
680
|
-
'This searchinput element does not have a name available to an accessibility API. Valid names are: label element, title , aria-label , aria-labelledby , aria-description , aria-describedby .': {
|
|
681
|
-
variable: false,
|
|
682
|
-
quality: 1,
|
|
683
|
-
what: 'search input element has no accessible name'
|
|
684
|
-
},
|
|
685
|
-
'This textinput element does not have a name available to an accessibility API. Valid names are: label element, title , aria-label , aria-labelledby , aria-description , aria-describedby .': {
|
|
686
|
-
variable: false,
|
|
687
|
-
quality: 1,
|
|
688
|
-
what: 'text input element has no accessible name'
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
},
|
|
693
|
-
checkboxNoText: {
|
|
694
|
-
summary: 'checkbox input not named',
|
|
695
|
-
why: 'User cannot get help on whether to check a checkbox',
|
|
696
|
-
wcag: '4.1.2',
|
|
697
|
-
weight: 4,
|
|
698
|
-
tools: {
|
|
699
|
-
wax: {
|
|
700
|
-
'This checkboxinput element does not have a name available to an accessibility API. Valid names are: label element, title , aria-label , aria-labelledby , aria-description , aria-describedby .': {
|
|
701
|
-
variable: false,
|
|
702
|
-
quality: 1,
|
|
703
|
-
what: 'checkbox input element has no accessible name'
|
|
704
|
-
}
|
|
705
700
|
}
|
|
706
701
|
}
|
|
707
702
|
},
|
|
@@ -788,21 +783,6 @@ exports.issues = {
|
|
|
788
783
|
}
|
|
789
784
|
}
|
|
790
785
|
},
|
|
791
|
-
numberInputNoText: {
|
|
792
|
-
summary: 'number input not named',
|
|
793
|
-
why: 'User cannot get help understanding what to enter into a number field',
|
|
794
|
-
wcag: '4.1.2',
|
|
795
|
-
weight: 4,
|
|
796
|
-
tools: {
|
|
797
|
-
wax: {
|
|
798
|
-
'This numberinput element does not have a name available to an accessibility API. Valid names are: label element, title , aria-label , aria-labelledby , aria-description , aria-describedby .': {
|
|
799
|
-
variable: false,
|
|
800
|
-
quality: 1,
|
|
801
|
-
what: 'Element is an input of type number but has no accessible name'
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
786
|
imageInputNoText: {
|
|
807
787
|
summary: 'image input not named',
|
|
808
788
|
why: 'User cannot get help understanding an image used as a submission button',
|
|
@@ -2060,15 +2040,15 @@ exports.issues = {
|
|
|
2060
2040
|
weight: 1,
|
|
2061
2041
|
tools: {
|
|
2062
2042
|
nuVal: {
|
|
2063
|
-
'The aria-label attribute must not be specified on any
|
|
2064
|
-
variable:
|
|
2043
|
+
'^The aria-label attribute must not be specified on any .* element unless the element has a role value other than caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, or superscript.*$': {
|
|
2044
|
+
variable: true,
|
|
2065
2045
|
quality: 1,
|
|
2066
2046
|
what: 'Element with a non-labelable role has an aria-label attribute'
|
|
2067
2047
|
}
|
|
2068
2048
|
},
|
|
2069
2049
|
nuVnu: {
|
|
2070
|
-
'The aria-label attribute must not be specified on any
|
|
2071
|
-
variable:
|
|
2050
|
+
'^The aria-label attribute must not be specified on any .* element unless the element has a role value other than caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, or superscript.*$': {
|
|
2051
|
+
variable: true,
|
|
2072
2052
|
quality: 1,
|
|
2073
2053
|
what: 'Element with a non-labelable role has an aria-label attribute'
|
|
2074
2054
|
}
|
|
@@ -3549,6 +3529,11 @@ exports.issues = {
|
|
|
3549
3529
|
variable: false,
|
|
3550
3530
|
quality: 1,
|
|
3551
3531
|
what: 'Element disables zooming or scaling'
|
|
3532
|
+
},
|
|
3533
|
+
'Interfering with a user agent\'s ability to zoom may be a failure of this Success Criterion.': {
|
|
3534
|
+
variable: false,
|
|
3535
|
+
quality: 1,
|
|
3536
|
+
what: 'Element interferes with browser zooming'
|
|
3552
3537
|
}
|
|
3553
3538
|
}
|
|
3554
3539
|
}
|
|
@@ -8075,6 +8060,11 @@ exports.issues = {
|
|
|
8075
8060
|
quality: 1,
|
|
8076
8061
|
what: 'a element is a descendant of an element with a button role'
|
|
8077
8062
|
},
|
|
8063
|
+
'The element a with the attribute href must not appear as a descendant of an element with the attribute role=button.': {
|
|
8064
|
+
variable: false,
|
|
8065
|
+
quality: 1,
|
|
8066
|
+
what: 'a element with a destination is a descendant of an element with a button role'
|
|
8067
|
+
},
|
|
8078
8068
|
'The element button must not appear as a descendant of the a element.': {
|
|
8079
8069
|
variable: false,
|
|
8080
8070
|
quality: 1,
|
|
@@ -8162,6 +8152,11 @@ exports.issues = {
|
|
|
8162
8152
|
quality: 1,
|
|
8163
8153
|
what: 'a element is a descendant of an element with a button role'
|
|
8164
8154
|
},
|
|
8155
|
+
'The element a with the attribute href must not appear as a descendant of an element with the attribute role=button.': {
|
|
8156
|
+
variable: false,
|
|
8157
|
+
quality: 1,
|
|
8158
|
+
what: 'a element with a destination is a descendant of an element with a button role'
|
|
8159
|
+
},
|
|
8165
8160
|
'The element button must not appear as a descendant of the a element.': {
|
|
8166
8161
|
variable: false,
|
|
8167
8162
|
quality: 1,
|