https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 264dcf368bb4a18496dfe69fe8117e9645d03c91 authored by Kent Tamura on 19 March 2018, 07:03:33 UTC
custom-elements: Simplify builtin-coverage.html
Tip revision: 264dcf3
aria-level_on_heading-manual.html
<!doctype html>
<html>
  <head>
    <title>aria-level on heading</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
    <link rel="stylesheet" href="/resources/testharness.css">
    <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/wai-aria/scripts/ATTAcomm.js"></script>
    <script>
    setup({explicit_timeout: true, explicit_done: true });

    var theTest = new ATTAcomm(
    {
   "steps" : [
      {
         "element" : "test",
         "test" : {
            "ATK" : [
               [
                  "property",
                  "objectAttributes",
                  "contains",
                  "level:2"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXValue",
                  "is",
                  "2"
               ]
            ],
            "IAccessible2" : [
               [
                  "property",
                  "objectAttributes",
                  "contains",
                  "level:2"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "AriaProperties.level",
                  "is",
                  "2"
               ],
               [
                  "property",
                  "StyleId_Heading",
                  "is",
                  "2"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "aria-level on heading"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for aria-level on heading.</p>
    <div role='heading' id='test' aria-level='2'>content</div>

  <div id="manualMode"></div>
  <div id="log"></div>
  <div id="ATTAmessages"></div>
  </body>
</html>
back to top