summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/wai-aria/role/generic-roles.html
blob: 9a67312dd8cfbfdf2cb194cc5ac1d40b3c20afab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<html>
<head>
  <title>Generic Role Verification Tests</title>
  <script src="/resources/testharness.js"></script>
  <script src="/resources/testharnessreport.js"></script>
  <script src="/resources/testdriver.js"></script>
  <script src="/resources/testdriver-vendor.js"></script>
  <script src="/resources/testdriver-actions.js"></script>
  <script src="/wai-aria/scripts/aria-utils.js"></script>
</head>
<body>

<p>Tests <a href="https://w3c.github.io/aria/#generic">generic</a>.</p>

<p role="generic" data-testname="generic role on p element is generic" class="ex-generic">x</p>

<script>
AriaUtils.verifyGenericRolesBySelector(".ex-generic");
</script>

</body>
</html>