testaro-issues 1.0.3 → 1.0.4
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 +33 -1
- package/dist/index.d.cts +12 -0
- package/dist/index.d.mts +12 -0
- package/dist/index.mjs +33 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -470,6 +470,12 @@ const issuesData = {
|
|
|
470
470
|
"wcag": "4.1",
|
|
471
471
|
"weight": 3
|
|
472
472
|
},
|
|
473
|
+
"cssInvalidProperty": {
|
|
474
|
+
"summary": "CSS property does not exist",
|
|
475
|
+
"why": "Page cannot be properly displayed",
|
|
476
|
+
"wcag": "4.1",
|
|
477
|
+
"weight": 3
|
|
478
|
+
},
|
|
473
479
|
"customKeyboardRisk": {
|
|
474
480
|
"summary": "custom button keyboard-inoperable?",
|
|
475
481
|
"why": "Custom item may prevent a keyboard-only user from operating it",
|
|
@@ -2025,6 +2031,12 @@ const issuesData = {
|
|
|
2025
2031
|
"wcag": "3.2.2",
|
|
2026
2032
|
"weight": 3
|
|
2027
2033
|
},
|
|
2034
|
+
"summaryRole": {
|
|
2035
|
+
"summary": "summary has explicit role",
|
|
2036
|
+
"why": "User cannot detect details",
|
|
2037
|
+
"wcag": "4.1",
|
|
2038
|
+
"weight": 3
|
|
2039
|
+
},
|
|
2028
2040
|
"svgImageNoText": {
|
|
2029
2041
|
"summary": "svg image not named",
|
|
2030
2042
|
"why": "User cannot get help understanding an image",
|
|
@@ -6354,7 +6366,12 @@ const rulesData = {
|
|
|
6354
6366
|
"The first child option element of a select element with a required attribute, and without a multiple attribute, and without a size attribute whose value is greater than 1, must have either an empty value attribute, or must have no text content. Consider either adding a placeholder option label, or adding a size attribute with a value equal to the number of option elements.": {
|
|
6355
6367
|
"issueID": "selectBad",
|
|
6356
6368
|
"quality": 1,
|
|
6357
|
-
"what": "option element has a nonempty value"
|
|
6369
|
+
"what": "First option element has a nonempty value"
|
|
6370
|
+
},
|
|
6371
|
+
"The first option element in a select element with a required attribute, and without a multiple attribute, and without a size attribute whose value is greater than 1, must have either an empty value attribute, or must have no text content. Consider either adding a placeholder option label, or adding a size attribute with a value equal to the number of option elements.": {
|
|
6372
|
+
"issueID": "selectBad",
|
|
6373
|
+
"quality": 1,
|
|
6374
|
+
"what": "First option element has a nonempty value"
|
|
6358
6375
|
},
|
|
6359
6376
|
"The font element is obsolete. Use CSS instead.": {
|
|
6360
6377
|
"issueID": "elementObsolete",
|
|
@@ -6401,6 +6418,11 @@ const rulesData = {
|
|
|
6401
6418
|
"quality": 1,
|
|
6402
6419
|
"what": "element is a but has a name attribute"
|
|
6403
6420
|
},
|
|
6421
|
+
"The name attribute is never allowed on the section element.": {
|
|
6422
|
+
"issueID": "attributeBad",
|
|
6423
|
+
"quality": 1,
|
|
6424
|
+
"what": "element is section but has a name attribute"
|
|
6425
|
+
},
|
|
6404
6426
|
"The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.": {
|
|
6405
6427
|
"issueID": "attributeObsolete",
|
|
6406
6428
|
"quality": 1,
|
|
@@ -6431,6 +6453,11 @@ const rulesData = {
|
|
|
6431
6453
|
"quality": 1,
|
|
6432
6454
|
"what": "Element has a presentation role but also a global ARIA attribute that nullifies the role"
|
|
6433
6455
|
},
|
|
6456
|
+
"The role attribute must not be used on any summary element that is a summary for its parent details element.": {
|
|
6457
|
+
"issueID": "summaryRole",
|
|
6458
|
+
"quality": 1,
|
|
6459
|
+
"what": "Element is a details summary but has an explicit role"
|
|
6460
|
+
},
|
|
6434
6461
|
"The searchbox role is unnecessary for an input element that has no list attribute and whose type is search.": {
|
|
6435
6462
|
"issueID": "roleRedundant",
|
|
6436
6463
|
"quality": 1,
|
|
@@ -6784,6 +6811,11 @@ const rulesData = {
|
|
|
6784
6811
|
"quality": 1,
|
|
6785
6812
|
"what": "Unknown CSS dimension"
|
|
6786
6813
|
},
|
|
6814
|
+
"CSS: .+: .+: Property .+ doesn't exist\\.": {
|
|
6815
|
+
"issueID": "cssInvalidProperty",
|
|
6816
|
+
"quality": 1,
|
|
6817
|
+
"what": "CSS property does not exist"
|
|
6818
|
+
},
|
|
6787
6819
|
"CSS: .+: only 0 can be a length. You must put a unit after your number.*": {
|
|
6788
6820
|
"issueID": "cssInvalid",
|
|
6789
6821
|
"quality": 1,
|
package/dist/index.d.cts
CHANGED
|
@@ -486,6 +486,12 @@ declare const issuesData: {
|
|
|
486
486
|
readonly wcag: '4.1';
|
|
487
487
|
readonly weight: 3;
|
|
488
488
|
};
|
|
489
|
+
readonly cssInvalidProperty: {
|
|
490
|
+
readonly summary: 'CSS property does not exist';
|
|
491
|
+
readonly why: 'Page cannot be properly displayed';
|
|
492
|
+
readonly wcag: '4.1';
|
|
493
|
+
readonly weight: 3;
|
|
494
|
+
};
|
|
489
495
|
readonly customKeyboardRisk: {
|
|
490
496
|
readonly summary: 'custom button keyboard-inoperable?';
|
|
491
497
|
readonly why: 'Custom item may prevent a keyboard-only user from operating it';
|
|
@@ -2041,6 +2047,12 @@ declare const issuesData: {
|
|
|
2041
2047
|
readonly wcag: '3.2.2';
|
|
2042
2048
|
readonly weight: 3;
|
|
2043
2049
|
};
|
|
2050
|
+
readonly summaryRole: {
|
|
2051
|
+
readonly summary: 'summary has explicit role';
|
|
2052
|
+
readonly why: 'User cannot detect details';
|
|
2053
|
+
readonly wcag: '4.1';
|
|
2054
|
+
readonly weight: 3;
|
|
2055
|
+
};
|
|
2044
2056
|
readonly svgImageNoText: {
|
|
2045
2057
|
readonly summary: 'svg image not named';
|
|
2046
2058
|
readonly why: 'User cannot get help understanding an image';
|
package/dist/index.d.mts
CHANGED
|
@@ -486,6 +486,12 @@ declare const issuesData: {
|
|
|
486
486
|
readonly wcag: '4.1';
|
|
487
487
|
readonly weight: 3;
|
|
488
488
|
};
|
|
489
|
+
readonly cssInvalidProperty: {
|
|
490
|
+
readonly summary: 'CSS property does not exist';
|
|
491
|
+
readonly why: 'Page cannot be properly displayed';
|
|
492
|
+
readonly wcag: '4.1';
|
|
493
|
+
readonly weight: 3;
|
|
494
|
+
};
|
|
489
495
|
readonly customKeyboardRisk: {
|
|
490
496
|
readonly summary: 'custom button keyboard-inoperable?';
|
|
491
497
|
readonly why: 'Custom item may prevent a keyboard-only user from operating it';
|
|
@@ -2041,6 +2047,12 @@ declare const issuesData: {
|
|
|
2041
2047
|
readonly wcag: '3.2.2';
|
|
2042
2048
|
readonly weight: 3;
|
|
2043
2049
|
};
|
|
2050
|
+
readonly summaryRole: {
|
|
2051
|
+
readonly summary: 'summary has explicit role';
|
|
2052
|
+
readonly why: 'User cannot detect details';
|
|
2053
|
+
readonly wcag: '4.1';
|
|
2054
|
+
readonly weight: 3;
|
|
2055
|
+
};
|
|
2044
2056
|
readonly svgImageNoText: {
|
|
2045
2057
|
readonly summary: 'svg image not named';
|
|
2046
2058
|
readonly why: 'User cannot get help understanding an image';
|
package/dist/index.mjs
CHANGED
|
@@ -469,6 +469,12 @@ const issuesData = {
|
|
|
469
469
|
"wcag": "4.1",
|
|
470
470
|
"weight": 3
|
|
471
471
|
},
|
|
472
|
+
"cssInvalidProperty": {
|
|
473
|
+
"summary": "CSS property does not exist",
|
|
474
|
+
"why": "Page cannot be properly displayed",
|
|
475
|
+
"wcag": "4.1",
|
|
476
|
+
"weight": 3
|
|
477
|
+
},
|
|
472
478
|
"customKeyboardRisk": {
|
|
473
479
|
"summary": "custom button keyboard-inoperable?",
|
|
474
480
|
"why": "Custom item may prevent a keyboard-only user from operating it",
|
|
@@ -2024,6 +2030,12 @@ const issuesData = {
|
|
|
2024
2030
|
"wcag": "3.2.2",
|
|
2025
2031
|
"weight": 3
|
|
2026
2032
|
},
|
|
2033
|
+
"summaryRole": {
|
|
2034
|
+
"summary": "summary has explicit role",
|
|
2035
|
+
"why": "User cannot detect details",
|
|
2036
|
+
"wcag": "4.1",
|
|
2037
|
+
"weight": 3
|
|
2038
|
+
},
|
|
2027
2039
|
"svgImageNoText": {
|
|
2028
2040
|
"summary": "svg image not named",
|
|
2029
2041
|
"why": "User cannot get help understanding an image",
|
|
@@ -6353,7 +6365,12 @@ const rulesData = {
|
|
|
6353
6365
|
"The first child option element of a select element with a required attribute, and without a multiple attribute, and without a size attribute whose value is greater than 1, must have either an empty value attribute, or must have no text content. Consider either adding a placeholder option label, or adding a size attribute with a value equal to the number of option elements.": {
|
|
6354
6366
|
"issueID": "selectBad",
|
|
6355
6367
|
"quality": 1,
|
|
6356
|
-
"what": "option element has a nonempty value"
|
|
6368
|
+
"what": "First option element has a nonempty value"
|
|
6369
|
+
},
|
|
6370
|
+
"The first option element in a select element with a required attribute, and without a multiple attribute, and without a size attribute whose value is greater than 1, must have either an empty value attribute, or must have no text content. Consider either adding a placeholder option label, or adding a size attribute with a value equal to the number of option elements.": {
|
|
6371
|
+
"issueID": "selectBad",
|
|
6372
|
+
"quality": 1,
|
|
6373
|
+
"what": "First option element has a nonempty value"
|
|
6357
6374
|
},
|
|
6358
6375
|
"The font element is obsolete. Use CSS instead.": {
|
|
6359
6376
|
"issueID": "elementObsolete",
|
|
@@ -6400,6 +6417,11 @@ const rulesData = {
|
|
|
6400
6417
|
"quality": 1,
|
|
6401
6418
|
"what": "element is a but has a name attribute"
|
|
6402
6419
|
},
|
|
6420
|
+
"The name attribute is never allowed on the section element.": {
|
|
6421
|
+
"issueID": "attributeBad",
|
|
6422
|
+
"quality": 1,
|
|
6423
|
+
"what": "element is section but has a name attribute"
|
|
6424
|
+
},
|
|
6403
6425
|
"The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.": {
|
|
6404
6426
|
"issueID": "attributeObsolete",
|
|
6405
6427
|
"quality": 1,
|
|
@@ -6430,6 +6452,11 @@ const rulesData = {
|
|
|
6430
6452
|
"quality": 1,
|
|
6431
6453
|
"what": "Element has a presentation role but also a global ARIA attribute that nullifies the role"
|
|
6432
6454
|
},
|
|
6455
|
+
"The role attribute must not be used on any summary element that is a summary for its parent details element.": {
|
|
6456
|
+
"issueID": "summaryRole",
|
|
6457
|
+
"quality": 1,
|
|
6458
|
+
"what": "Element is a details summary but has an explicit role"
|
|
6459
|
+
},
|
|
6433
6460
|
"The searchbox role is unnecessary for an input element that has no list attribute and whose type is search.": {
|
|
6434
6461
|
"issueID": "roleRedundant",
|
|
6435
6462
|
"quality": 1,
|
|
@@ -6783,6 +6810,11 @@ const rulesData = {
|
|
|
6783
6810
|
"quality": 1,
|
|
6784
6811
|
"what": "Unknown CSS dimension"
|
|
6785
6812
|
},
|
|
6813
|
+
"CSS: .+: .+: Property .+ doesn't exist\\.": {
|
|
6814
|
+
"issueID": "cssInvalidProperty",
|
|
6815
|
+
"quality": 1,
|
|
6816
|
+
"what": "CSS property does not exist"
|
|
6817
|
+
},
|
|
6786
6818
|
"CSS: .+: only 0 can be a length. You must put a unit after your number.*": {
|
|
6787
6819
|
"issueID": "cssInvalid",
|
|
6788
6820
|
"quality": 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testaro-issues",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A classification of about 1300 rules of 11 rule engines into about 400 issues. The rule engines are those in the ensemble of Testaro, which tests web pages for front-end quality (accessibility, usability, and standards conformance).",
|
|
6
6
|
"main": "./dist/index.cjs",
|