From fdcb07a10cce3a222cd304af38172f9aec423878 Mon Sep 17 00:00:00 2001 From: William Koza Date: Thu, 14 Feb 2019 22:53:17 +0100 Subject: [PATCH] fix(rule): remove an astray console.log (#764) --- src/templateAccessibilityAltTextRule.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/templateAccessibilityAltTextRule.ts b/src/templateAccessibilityAltTextRule.ts index c0374a15a..c1bc1d47f 100644 --- a/src/templateAccessibilityAltTextRule.ts +++ b/src/templateAccessibilityAltTextRule.ts @@ -85,7 +85,6 @@ class TemplateAccessibilityAltTextVisitor extends BasicTemplateAstVisitor { const hasLabelInput = element.inputs.some(input => input.name === 'aria-label' || input.name === 'aria-labelledby'); const hasAltAttr = element.attrs.some(attr => attr.name === 'alt'); const hasAltInput = element.inputs.some(input => input.name === 'alt'); - console.log(element); return hasAltAttr || hasAltInput || hasLabelAttr || hasLabelInput; }