We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d63fbe2 commit 65746e5Copy full SHA for 65746e5
build/tasks/validate.js
@@ -411,13 +411,9 @@ function findTagIssues(tags) {
411
}
412
if (standardTags.length === 0) {
413
issues.push(`Expected one ${name} tag, got 0`);
414
+ } else if (standardTags.length > 1) {
415
+ issues.push(`Expected one ${name} tag, got: ${standardTags.join(', ')}`);
416
- // Commented out this part allowing multiple wcag rules.
- // This is because we have multiple WCAG rules for different levels.
417
-
418
- // else if (standardTags.length > 1) {
419
- // issues.push(`Expected one ${name} tag, got: ${standardTags.join(', ')}`);
420
- // }
421
if (criterionTags.length === 0) {
422
issues.push(`Expected at least one ${name} criterion tag, got 0`);
423
0 commit comments