Bug 1443563 [wpt PR 9880] - AccName: Correct "embedded-menu" expectations; add three new test cases, a=testonly
authorJoanmarie Diggs <jdiggs@igalia.com>
Mon, 26 Mar 2018 15:23:23 +0000
changeset 411197 fa44d061c6ee3807efb19cbc206ab511e85f6f17
parent 411196 f7a43884bc93dc6385d45d82911f5fe9d0f3d15b
child 411198 837d26f1e87f6707353f63e39dc947a89dc4d335
push id101593
push userjames@hoppipolla.co.uk
push dateSat, 31 Mar 2018 22:09:06 +0000
treeherdermozilla-inbound@feb3750f2fac [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1443563
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1443563 [wpt PR 9880] - AccName: Correct "embedded-menu" expectations; add three new test cases, a=testonly Automatic update from web-platform-testsAccName: Correct "embedded-menu" expectations; add three new test cases wpt-commits: f30653cc02424fb8819890ca873cefc045e45868 wpt-pr: 9880 wpt-commits: f30653cc02424fb8819890ca873cefc045e45868 wpt-pr: 9880
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/accname/description_link-with-label-manual.html
testing/web-platform/tests/accname/name_checkbox-label-embedded-menu-manual.html
testing/web-platform/tests/accname/name_file-label-embedded-menu-manual.html
testing/web-platform/tests/accname/name_heading-combobox-focusable-alternative-manual.html
testing/web-platform/tests/accname/name_link-with-label-manual.html
testing/web-platform/tests/accname/name_password-label-embedded-menu-manual.html
testing/web-platform/tests/accname/name_radio-label-embedded-menu-manual.html
testing/web-platform/tests/accname/name_text-label-embedded-menu-manual.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -146,16 +146,22 @@
     ]
    ],
    "accname/description_from_content_of_describedby_element_which_is_hidden-manual.html": [
     [
      "/accname/description_from_content_of_describedby_element_which_is_hidden-manual.html",
      {}
     ]
    ],
+   "accname/description_link-with-label-manual.html": [
+    [
+     "/accname/description_link-with-label-manual.html",
+     {}
+    ]
+   ],
    "accname/description_test_case_557-manual.html": [
     [
      "/accname/description_test_case_557-manual.html",
      {}
     ]
    ],
    "accname/description_test_case_664-manual.html": [
     [
@@ -374,28 +380,40 @@
     ]
    ],
    "accname/name_from_content_of_labelledby_elements_one_of_which_is_hidden-manual.html": [
     [
      "/accname/name_from_content_of_labelledby_elements_one_of_which_is_hidden-manual.html",
      {}
     ]
    ],
+   "accname/name_heading-combobox-focusable-alternative-manual.html": [
+    [
+     "/accname/name_heading-combobox-focusable-alternative-manual.html",
+     {}
+    ]
+   ],
    "accname/name_image-title-manual.html": [
     [
      "/accname/name_image-title-manual.html",
      {}
     ]
    ],
    "accname/name_link-mixed-content-manual.html": [
     [
      "/accname/name_link-mixed-content-manual.html",
      {}
     ]
    ],
+   "accname/name_link-with-label-manual.html": [
+    [
+     "/accname/name_link-with-label-manual.html",
+     {}
+    ]
+   ],
    "accname/name_password-label-embedded-combobox-manual.html": [
     [
      "/accname/name_password-label-embedded-combobox-manual.html",
      {}
     ]
    ],
    "accname/name_password-label-embedded-menu-manual.html": [
     [
@@ -396957,16 +396975,20 @@
   "accname/description_from_content_of_describedby_element-manual.html": [
    "9bf362dc2f578e507bf8d0f7133f7256e061e1d2",
    "manual"
   ],
   "accname/description_from_content_of_describedby_element_which_is_hidden-manual.html": [
    "51e770a781330c01ef8ac607a8ceae8fbd9d84fd",
    "manual"
   ],
+  "accname/description_link-with-label-manual.html": [
+   "a262ba63f6f6561824d987441be320bca0237587",
+   "manual"
+  ],
   "accname/description_test_case_557-manual.html": [
    "ea490dbba2148260441dfb4530fbdd90085fab11",
    "manual"
   ],
   "accname/description_test_case_664-manual.html": [
    "2961cd60ab5c6ee71945873687c4e8934e8598eb",
    "manual"
   ],
@@ -397022,17 +397044,17 @@
    "cccc7a6d8f9b7557036962bb718e42dba9ac96c9",
    "manual"
   ],
   "accname/name_checkbox-label-embedded-listbox-manual.html": [
    "8f7be07f2b61175f1ae66ba1dbdc2099fc5641f6",
    "manual"
   ],
   "accname/name_checkbox-label-embedded-menu-manual.html": [
-   "db0daa86e306d54cd23c55adb1f72e844a0a4c8b",
+   "0335ffe94d7e02abbb972c2d313efb58d13e81b2",
    "manual"
   ],
   "accname/name_checkbox-label-embedded-select-manual.html": [
    "ef66e7dc2e23bdc2a11df4788f0a5652b634614c",
    "manual"
   ],
   "accname/name_checkbox-label-embedded-slider-manual.html": [
    "6500d5fe8dd26eeab950d03f9be7f1f9c7c319a7",
@@ -397058,17 +397080,17 @@
    "637e389beedecf101f59eae1ef9a863c71fff3a8",
    "manual"
   ],
   "accname/name_file-label-embedded-combobox-manual.html": [
    "ad015f066db67a0b02dabb35d1ec9c0fbcea4c39",
    "manual"
   ],
   "accname/name_file-label-embedded-menu-manual.html": [
-   "690c7bf36edbac6909017cd144cfeea56fd98d5a",
+   "2af047cc3a867c77e39ca9e597bfc133cdd95005",
    "manual"
   ],
   "accname/name_file-label-embedded-select-manual.html": [
    "b09f49619585bf400408c78ae97ea800af3cee72",
    "manual"
   ],
   "accname/name_file-label-embedded-slider-manual.html": [
    "e9fdf8cb3b59dd438b76fbe20ea3647d5776735a",
@@ -397113,30 +397135,38 @@
   "accname/name_from_content_of_labelledby_element-manual.html": [
    "e917c6412966976e4eb6eae1e379a7e01bfcb5d1",
    "manual"
   ],
   "accname/name_from_content_of_labelledby_elements_one_of_which_is_hidden-manual.html": [
    "0e1d91be218401271e573e6bd93260caa1f9e842",
    "manual"
   ],
+  "accname/name_heading-combobox-focusable-alternative-manual.html": [
+   "9b5b181518ce0d3d1400243d01a7182055db6c18",
+   "manual"
+  ],
   "accname/name_image-title-manual.html": [
    "9def9482d97f96d0c3b5c5a2101ddfa8d0313072",
    "manual"
   ],
   "accname/name_link-mixed-content-manual.html": [
    "d83619ac255e546e019272e103f03d50dc4b9c36",
    "manual"
   ],
+  "accname/name_link-with-label-manual.html": [
+   "293091b437d2b70dc1f984010ad0ccdc319384ba",
+   "manual"
+  ],
   "accname/name_password-label-embedded-combobox-manual.html": [
    "178bf7cf557d22a1a57d5f0563a57efe0d55be7a",
    "manual"
   ],
   "accname/name_password-label-embedded-menu-manual.html": [
-   "3ebf4be3f8da6ce07ab13498bb537a293652b57c",
+   "99cb16c39963218d7be6a0d5351cff00911851ba",
    "manual"
   ],
   "accname/name_password-label-embedded-select-manual.html": [
    "9698b2959880b2eb4ae024556c745579506e4772",
    "manual"
   ],
   "accname/name_password-label-embedded-slider-manual.html": [
    "4da98f4489d466accd6e03099f65afbbf06a5672",
@@ -397150,17 +397180,17 @@
    "64c321f5eef4126a4ea6a1740074ee6fbfe14bac",
    "manual"
   ],
   "accname/name_radio-label-embedded-combobox-manual.html": [
    "3e341ee031aa1456dbd42794e1a4f0ce82ccda74",
    "manual"
   ],
   "accname/name_radio-label-embedded-menu-manual.html": [
-   "cc4e583e4554cd612194814989d2875d8ef44d3a",
+   "97e63b918afe95030676b454335f1f2f4a93e040",
    "manual"
   ],
   "accname/name_radio-label-embedded-select-manual.html": [
    "8f46103e042501221901732653935bfcbdc424a3",
    "manual"
   ],
   "accname/name_radio-label-embedded-slider-manual.html": [
    "d4e4b7e25cb88efbd71c2b1c7985b1b04d699e7d",
@@ -397562,17 +397592,17 @@
    "2c5436081d45b1ab470ed93050eb956a85ccc779",
    "manual"
   ],
   "accname/name_text-label-embedded-combobox-manual.html": [
    "406281ebff00851377335a6db85cdf85482df11a",
    "manual"
   ],
   "accname/name_text-label-embedded-menu-manual.html": [
-   "1ae2a71295a14ceb09c6a4ac65a95c553d86a43e",
+   "5d943988bde8cc64b69f9e0d27314eefafe516ca",
    "manual"
   ],
   "accname/name_text-label-embedded-select-manual.html": [
    "ee9cf471b60ebe327be4d877bd8a391ac0158d4d",
    "manual"
   ],
   "accname/name_text-label-embedded-slider-manual.html": [
    "df70f3aa99db3cada4a1f7bcd4e9d60a44333ef9",
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/accname/description_link-with-label-manual.html
@@ -0,0 +1,71 @@
+<!doctype html>
+<html>
+  <head>
+    <title>Description link-with-label</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",
+                  "description",
+                  "is",
+                  "San Francisco"
+               ]
+            ],
+            "AXAPI" : [
+               [
+                  "property",
+                  "AXHelp",
+                  "is",
+                  "San Francisco"
+               ]
+            ],
+            "IAccessible2" : [
+               [
+                  "property",
+                  "accDescription",
+                  "is",
+                  "San Francisco"
+               ]
+            ],
+            "UIA" : [
+               [
+                  "property",
+                  "Description",
+                  "is",
+                  "San Francisco"
+               ]
+            ]
+         },
+         "title" : "step 1",
+         "type" : "test"
+      }
+   ],
+   "title" : "Description link-with-label"
+}
+
+    ) ;
+    </script>
+  </head>
+  <body>
+  <p>This test examines the ARIA properties for Description link-with-label.</p>
+    <a id="test" href="#" aria-label="California" title="San Francisco" >United States</a>
+
+  <div id="manualMode"></div>
+  <div id="log"></div>
+  <div id="ATTAmessages"></div>
+  </body>
+</html>
--- a/testing/web-platform/tests/accname/name_checkbox-label-embedded-menu-manual.html
+++ b/testing/web-platform/tests/accname/name_checkbox-label-embedded-menu-manual.html
@@ -17,41 +17,41 @@
       {
          "element" : "test",
          "test" : {
             "ATK" : [
                [
                   "property",
                   "name",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "AXAPI" : [
                [
                   "property",
                   "AXDescription",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "IAccessible2" : [
                [
                   "property",
                   "accName",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "UIA" : [
                [
                   "property",
                   "Name",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ]
          },
          "title" : "step 1",
          "type" : "test"
       }
    ],
    "title" : "Name checkbox-label-embedded-menu"
--- a/testing/web-platform/tests/accname/name_file-label-embedded-menu-manual.html
+++ b/testing/web-platform/tests/accname/name_file-label-embedded-menu-manual.html
@@ -17,41 +17,41 @@
       {
          "element" : "test",
          "test" : {
             "ATK" : [
                [
                   "property",
                   "name",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "AXAPI" : [
                [
                   "property",
                   "AXDescription",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "IAccessible2" : [
                [
                   "property",
                   "accName",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "UIA" : [
                [
                   "property",
                   "Name",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ]
          },
          "title" : "step 1",
          "type" : "test"
       }
    ],
    "title" : "Name file-label-embedded-menu"
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/accname/name_heading-combobox-focusable-alternative-manual.html
@@ -0,0 +1,74 @@
+<!doctype html>
+<html>
+  <head>
+    <title>Name  heading-combobox-focusable-alternative</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",
+                  "name",
+                  "is",
+                  "Country of origin: United States"
+               ]
+            ],
+            "AXAPI" : [
+               [
+                  "property",
+                  "AXDescription",
+                  "is",
+                  "Country of origin: United States"
+               ]
+            ],
+            "IAccessible2" : [
+               [
+                  "property",
+                  "accName",
+                  "is",
+                  "Country of origin: United States"
+               ]
+            ],
+            "UIA" : [
+               [
+                  "property",
+                  "Name",
+                  "is",
+                  "Country of origin: United States"
+               ]
+            ]
+         },
+         "title" : "step 1",
+         "type" : "test"
+      }
+   ],
+   "title" : "Name  heading-combobox-focusable-alternative"
+}
+
+    ) ;
+    </script>
+  </head>
+  <body>
+  <p>This test examines the ARIA properties for Name  heading-combobox-focusable-alternative.</p>
+    <h2 id="test">
+  Country of origin:
+  <input role="combobox" type="text" title="Choose your country." value="United States">
+  </h2>
+
+  <div id="manualMode"></div>
+  <div id="log"></div>
+  <div id="ATTAmessages"></div>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/accname/name_link-with-label-manual.html
@@ -0,0 +1,71 @@
+<!doctype html>
+<html>
+  <head>
+    <title>Name link-with-label</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",
+                  "name",
+                  "is",
+                  "California"
+               ]
+            ],
+            "AXAPI" : [
+               [
+                  "property",
+                  "AXDescription",
+                  "is",
+                  "California"
+               ]
+            ],
+            "IAccessible2" : [
+               [
+                  "property",
+                  "accName",
+                  "is",
+                  "California"
+               ]
+            ],
+            "UIA" : [
+               [
+                  "property",
+                  "Name",
+                  "is",
+                  "California"
+               ]
+            ]
+         },
+         "title" : "step 1",
+         "type" : "test"
+      }
+   ],
+   "title" : "Name link-with-label"
+}
+
+    ) ;
+    </script>
+  </head>
+  <body>
+  <p>This test examines the ARIA properties for Name link-with-label.</p>
+    <a id="test" href="#" aria-label="California" title="San Francisco" >United States</a>
+
+  <div id="manualMode"></div>
+  <div id="log"></div>
+  <div id="ATTAmessages"></div>
+  </body>
+</html>
--- a/testing/web-platform/tests/accname/name_password-label-embedded-menu-manual.html
+++ b/testing/web-platform/tests/accname/name_password-label-embedded-menu-manual.html
@@ -17,41 +17,41 @@
       {
          "element" : "test",
          "test" : {
             "ATK" : [
                [
                   "property",
                   "name",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "AXAPI" : [
                [
                   "property",
                   "AXDescription",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "IAccessible2" : [
                [
                   "property",
                   "accName",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "UIA" : [
                [
                   "property",
                   "Name",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ]
          },
          "title" : "step 1",
          "type" : "test"
       }
    ],
    "title" : "Name password-label-embedded-menu"
--- a/testing/web-platform/tests/accname/name_radio-label-embedded-menu-manual.html
+++ b/testing/web-platform/tests/accname/name_radio-label-embedded-menu-manual.html
@@ -17,41 +17,41 @@
       {
          "element" : "test",
          "test" : {
             "ATK" : [
                [
                   "property",
                   "name",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "AXAPI" : [
                [
                   "property",
                   "AXDescription",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "IAccessible2" : [
                [
                   "property",
                   "accName",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "UIA" : [
                [
                   "property",
                   "Name",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ]
          },
          "title" : "step 1",
          "type" : "test"
       }
    ],
    "title" : "Name radio-label-embedded-menu"
--- a/testing/web-platform/tests/accname/name_text-label-embedded-menu-manual.html
+++ b/testing/web-platform/tests/accname/name_text-label-embedded-menu-manual.html
@@ -17,41 +17,41 @@
       {
          "element" : "test",
          "test" : {
             "ATK" : [
                [
                   "property",
                   "name",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "AXAPI" : [
                [
                   "property",
                   "AXDescription",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "IAccessible2" : [
                [
                   "property",
                   "accName",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ],
             "UIA" : [
                [
                   "property",
                   "Name",
                   "is",
-                  "Flash the screen 1 times."
+                  "Flash the screen times."
                ]
             ]
          },
          "title" : "step 1",
          "type" : "test"
       }
    ],
    "title" : "Name text-label-embedded-menu"