testilo 37.0.0 → 37.0.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "37.0.0",
3
+ "version": "37.0.1",
4
4
  "description": "Prepares Testaro jobs and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -3130,16 +3130,6 @@ exports.issues = {
3130
3130
  variable: false,
3131
3131
  quality: 1,
3132
3132
  what: 'Element has an event handler but no valid ARIA role'
3133
- },
3134
- table_aria_descendants: {
3135
- variable: false,
3136
- quality: 1,
3137
- what: 'Table structure element specifies an explicit role within the table container'
3138
- },
3139
- aria_child_valid: {
3140
- variable: false,
3141
- quality: 1,
3142
- what: 'Child element has a role not allowed for the role of the parent'
3143
3133
  }
3144
3134
  },
3145
3135
  nuVal: {
@@ -3153,20 +3143,10 @@ exports.issues = {
3153
3143
  quality: 1,
3154
3144
  what: 'img element has a role attribute but no alt attribute'
3155
3145
  },
3156
- 'A figure element with a figcaption descendant must not have a role attribute.': {
3157
- variable: false,
3158
- quality: 1,
3159
- what: 'figure element has a figcaption descendant but has a role attribute'
3160
- },
3161
3146
  '^Discarding unrecognized token .+ from value of attribute role. Browsers ignore any token that is not a defined ARIA non-abstract role.*$': {
3162
3147
  variable: true,
3163
3148
  quality: 1,
3164
3149
  what: 'Invalid role'
3165
- },
3166
- '^The role attribute must not be used on a .+ element which has a table ancestor with no role attribute, or with a role attribute whose value is table, grid, or treegrid.*$': {
3167
- variable: true,
3168
- quality: 1,
3169
- what: 'Table cell has a role attribute'
3170
3150
  }
3171
3151
  },
3172
3152
  qualWeb: {
@@ -3178,6 +3158,43 @@ exports.issues = {
3178
3158
  }
3179
3159
  }
3180
3160
  },
3161
+ roleHierarchyBad: {
3162
+ summary: 'ancestor and descendant elements have incompatible roles',
3163
+ why: 'User may misunderstand or be blocked from exposure to an item',
3164
+ wcag: '4.1.2',
3165
+ weight: 4,
3166
+ tools: {
3167
+ ibm: {
3168
+ aria_child_valid: {
3169
+ variable: false,
3170
+ quality: 1,
3171
+ what: 'Child element has a role not allowed for the role of the parent'
3172
+ },
3173
+ aria_descendant_valid: {
3174
+ variable: false,
3175
+ quality: 1,
3176
+ what: 'Element and descendant roles make browsers ignore a descendant'
3177
+ },
3178
+ table_aria_descendants: {
3179
+ variable: false,
3180
+ quality: 1,
3181
+ what: 'Table structure element specifies an explicit role within the table container'
3182
+ }
3183
+ },
3184
+ nuVal: {
3185
+ 'A figure element with a figcaption descendant must not have a role attribute.': {
3186
+ variable: false,
3187
+ quality: 1,
3188
+ what: 'figure element has a figcaption descendant but has a role attribute'
3189
+ },
3190
+ '^The role attribute must not be used on a .+ element which has a table ancestor with no role attribute, or with a role attribute whose value is table, grid, or treegrid.*$': {
3191
+ variable: true,
3192
+ quality: 1,
3193
+ what: 'Table cell has a role attribute'
3194
+ }
3195
+ }
3196
+ }
3197
+ },
3181
3198
  roleRedundant: {
3182
3199
  summary: 'role redundant',
3183
3200
  why: 'Document includes unnecessary code',