axe-core
Version:
Accessibility engine for automated Web UI testing
30 lines (28 loc) • 584 B
HTML
<html id="pass2">
<head>
<meta charset="utf8">
<script src="/axe.js"></script>
</head>
<body>
<p>This iframe should pass, too</p>
<div role="banner">
<p>This div has role banner</p>
</div>
<div role="navigation">
<p>This div has role navigation</p>
</div>
<div role="main">
<p>This main content is not within another landmark</p>
</div>
<div role="complementary">
<p>This div has role complementary</p>
</div>
<div role="search">
<p>This div has role search</p>
</div>
<div role="form">
<p>This div has role form<p>
</div>
</body>
</html>