Skip to content

Commit

Permalink
fix(rule): remove an astray console.log (#764)
Browse files Browse the repository at this point in the history
  • Loading branch information
wKoza authored and mgechev committed Feb 14, 2019
1 parent 2832615 commit fdcb07a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/templateAccessibilityAltTextRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fdcb07a

Please sign in to comment.