We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 264c768 + 1810d17 commit 200f4e7Copy full SHA for 200f4e7
lib/checks/color/link-in-text-block-evaluate.js
@@ -28,6 +28,10 @@ function isBlock(elm) {
28
}
29
30
function linkInTextBlockEvaluate(node) {
31
+ if(node.getAttribute('type') ==='button' || node.tagName.toLowerCase() === 'button' || node.getAttribute('role') === 'button') {
32
+ return true;
33
+ }
34
+
35
var options = arguments.length > 1 && arguments[1] ? arguments[1] : {};
36
if (isBlock(node)) {
37
return false;
0 commit comments