var text = axe.commons.text.sanitize(node.textContent);
var role = node.getAttribute('role');
if (role && role !== 'link') {
returnfalse;
}
if (!text) {
returnfalse;
}
if (!axe.commons.dom.isVisible(node, false)) {
returnfalse;
}
return axe.commons.dom.isInTextBlock(node);