testaro 14.9.1 → 14.9.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.
- package/package.json +1 -1
- package/testaro/focInd.js +3 -3
package/package.json
CHANGED
package/testaro/focInd.js
CHANGED
|
@@ -174,7 +174,7 @@ exports.reporter = async (page, withItems, revealAll = false, allowedDelay = 250
|
|
|
174
174
|
data.items[issueName].forEach(item => {
|
|
175
175
|
const qualifier = issueName === 'nonoutline' ? 'a non-outline' : 'no';
|
|
176
176
|
standardInstances.push({
|
|
177
|
-
|
|
177
|
+
ruleID: 'focInd',
|
|
178
178
|
what: `${item.tagName} element has ${qualifier} focus indicator`,
|
|
179
179
|
ordinalSeverity: issueName === 'nonoutline' ? 2 : 3,
|
|
180
180
|
tagName: item.tagName,
|
|
@@ -192,7 +192,7 @@ exports.reporter = async (page, withItems, revealAll = false, allowedDelay = 250
|
|
|
192
192
|
else {
|
|
193
193
|
if (types.missing.total) {
|
|
194
194
|
standardInstances.push({
|
|
195
|
-
|
|
195
|
+
ruleID: 'focInd',
|
|
196
196
|
what: 'Elements have missing focus indicators',
|
|
197
197
|
count: types.missing.total,
|
|
198
198
|
ordinalSeverity: 3,
|
|
@@ -208,7 +208,7 @@ exports.reporter = async (page, withItems, revealAll = false, allowedDelay = 250
|
|
|
208
208
|
}
|
|
209
209
|
if (types.nonoutline.total) {
|
|
210
210
|
standardInstances.push({
|
|
211
|
-
|
|
211
|
+
ruleID: 'focInd',
|
|
212
212
|
what: 'Elements have non-outline focus indicators',
|
|
213
213
|
count: types.nonoutline.total,
|
|
214
214
|
ordinalSeverity: 2,
|