1. Ben Buchanan
  2. aui-debug
  3. Issues

Issues

Issue #1 resolved

Add test for icons with no text

Ben Buchanan
repo owner created an issue

Wanted to do this during shipit, Sean wrote some code that can be rolled in...'

AJS.$(".aui-icon").each(function(){
    if ( !AJS.$(this).text().length && !AJS.$(this).parent().text().length ) {
        console.warn("WARN - YOU BROKE THE ADG FOOL!", "Icon and Parent both missing accessible text", this ));
    }
});