summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/wai-aria/role/abstract-roles.html
blob: 520ecf2dbb398d3978543b915813257e9c7a7b1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!doctype html>
<html>
<head>
  <title>Abstract 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/#abstract_roles">Abstract Roles</a> and related <a href="https://w3c.github.io/aria/#document-handling_author-errors_roles">9.1 Roles - handling author errors</a></p>

  <nav role="command" data-testname="command role" data-expectedrole="navigation" class="ex">x</nav>
  <nav role="composite" data-testname="composite role" data-expectedrole="navigation" class="ex">x</nav>
  <nav role="input" data-testname="input role" data-expectedrole="navigation" class="ex">x</nav>
  <nav role="landmark" data-testname="landmark role" data-expectedrole="navigation" class="ex">x</nav>
  <nav role="range" data-testname="range role" data-expectedrole="navigation" class="ex">x</nav>
  <nav role="roletype" data-testname="roletype role" data-expectedrole="navigation" class="ex">x</nav>
  <nav role="section" data-testname="section role" data-expectedrole="navigation" class="ex">x</nav>
  <nav role="sectionhead" data-testname="sectionhead role" data-expectedrole="navigation" class="ex">x</nav>
  <nav role="select" data-testname="select role" data-expectedrole="navigation" class="ex">x</nav>
  <nav role="structure" data-testname="structure role" data-expectedrole="navigation" class="ex">x</nav>
  <nav role="widget" data-testname="widget role" data-expectedrole="navigation" class="ex">x</nav>
  <nav role="window" data-testname="window role" data-expectedrole="navigation" class="ex">x</nav>


<script>
AriaUtils.verifyRolesBySelector(".ex");
</script>

</body>
</html>