testaro 14.9.4 → 14.9.6

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": "testaro",
3
- "version": "14.9.4",
3
+ "version": "14.9.6",
4
4
  "description": "Automation of accessibility testing",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/testaro/filter.js CHANGED
@@ -56,7 +56,7 @@ exports.reporter = async (page, withItems) => {
56
56
  ruleID: 'filterStyle',
57
57
  what: `${item.tagName} element has a filter style that impacts ${item.impact} elements`,
58
58
  ordinalSeverity: 2,
59
- tagName: item.toUpperCase(),
59
+ tagName: item.tagName.toUpperCase(),
60
60
  id: item.id,
61
61
  location: {
62
62
  doc: '',
package/testaro/focOp.js CHANGED
@@ -157,7 +157,7 @@ exports.reporter = async (page, withItems) => {
157
157
  data.items[issue].forEach(item => {
158
158
  standardInstances.push({
159
159
  ruleID: 'focOp',
160
- complaint: `${item.tagName} element ${gripe}`,
160
+ complaint: `${item.tagName || 'An'} element ${gripe}`,
161
161
  ordinalSeverity,
162
162
  tagName: item.tagName,
163
163
  id: item.id,