axe-core
Version:
Accessibility engine for automated Web UI testing
26 lines (25 loc) • 371 B
HTML
<html>
<head>
<title>Test Frame</title>
<script src="../../../axe.js"></script>
<script>
axe._load({
rules: [{
id: 'html',
selector: '#target',
none: ['fred']
}],
checks: [{
id: 'fred',
evaluate: function (node) {
return true;
}
}]
});
</script>
</head>
<body>
<div id="target">Target in iframe</div>
</body>
</html>