diff --git a/lib/commons/dom/has-content.js b/lib/commons/dom/has-content.js index b70fee41dc..415c9ff3ab 100644 --- a/lib/commons/dom/has-content.js +++ b/lib/commons/dom/has-content.js @@ -20,13 +20,6 @@ function hasChildTextNodes (elm) { * @return boolean */ dom.hasContent = function hasContent (elm) { - /* global console */ - console.log( - elm.actualNode, - hasChildTextNodes(elm), - dom.isVisualContent(elm.actualNode), - aria.label(elm) - ); return ( // It has text hasChildTextNodes(elm) || diff --git a/test/checks/visibility/hidden-content.js b/test/checks/visibility/hidden-content.js index 22fde18476..f563f57ed2 100644 --- a/test/checks/visibility/hidden-content.js +++ b/test/checks/visibility/hidden-content.js @@ -53,18 +53,15 @@ describe('hidden content', function () { }); (shadowSupport ? it : xit)('works on elements in a shadow DOM', function () { - /* global console */ fixture.innerHTML = '