https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 53acfdab3796563ea320347c6da26df3f1d9a7d3 authored by Mike West on 19 June 2017, 09:19:34 UTC
fixup merge with ToT + cleanup navigation tests.
Tip revision: 53acfda
errormessage_object_in_invalid_state-manual.html
<!doctype html>
<html>
  <head>
    <title>errormessage object in invalid state</title>
    <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" : [
               [
                  "relation",
                  "RELATION_ERROR_MESSAGE",
                  "exists",
                  "false"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "TBD",
                  "is",
                  "TBD"
               ]
            ],
            "IAccessible2" : [
               [
                  "relation",
                  "IA2_RELATION_ERROR_MESSAGE",
                  "exists",
                  "false"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "IUIAutomationElement.ControllerFor",
                  "exists",
                  "false"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      },
      {
         "element" : "error",
         "test" : {
            "ATK" : [
               [
                  "relation",
                  "RELATION_ERROR_FOR",
                  "exists",
                  "false"
               ]
            ],
            "IAccessible2" : [
               [
                  "relation",
                  "IA2_RELATION_ERROR_FOR",
                  "exists",
                  "false"
               ]
            ],
            "UIA" : []
         },
         "title" : "step 2",
         "type" : "test"
      }
   ],
   "title" : "errormessage object in invalid state"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for errormessage object in invalid state.</p>
    <div role="form">
  <label for="test">date</label><input type="text" id="test" value="April 12" aria-errormessage="error2">
  <label for="test1">surname</label><input type="text" id="test1" value="April 14">
  </div>
  <div id="error">
     You did not enter a valid date!
  </div>


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

back to top