From bb8fcadbe3451c0f00648862af1cf3ec12ccdc30 Mon Sep 17 00:00:00 2001 From: Meredith Lane Date: Mon, 2 Sep 2019 12:22:42 +0000 Subject: [PATCH] Bug 1573083 [wpt PR 18344] - ElementReflection: ariaActiveDescendant, ariaErrorMessage, ariaDetails, a=testonly Automatic update from web-platform-tests ElementReflection: ariaActiveDescendant, ariaErrorMessage, ariaDetails Spec: https://whatpr.org/html/3917/common-dom-interfaces.html#reflecting-content-attributes-in-idl-attributes:element This change: - updates v8 bindings and IDL - Implements (most) of the HTML spec for the three attributes listed above. This change is part of the experimental AOM project, and allows attributes that reflect ARIA relationships to return an element reference corresponding to the ID stored in the content attribute, rather than the string ID itself. These attributes are exposed on the IDL interface AriaAttributes. See https://rawgit.com/w3c/aria/master/#AriaAttributes for more information. Attributes reflecting multiple element references will be implemented using FrozenArray in a follow up CL. BUG=981423 Change-Id: I35164b436c7e2ffd67a80ebd26e4233189e445b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1687013 Commit-Queue: Meredith Lane Reviewed-by: Rakina Zata Amni Reviewed-by: Kent Tamura Reviewed-by: Alice Boxhall Cr-Commit-Position: refs/heads/master@{#691047} -- wpt-commits: 9ebd73eab7ce418ab5e5f0d3451d8200ace2300d wpt-pr: 18344 --- .../aria-element-reflection.tentative.html | 266 ++++++++++++++++++ 1 file changed, 266 insertions(+) create mode 100644 testing/web-platform/tests/dom/nodes/aria-element-reflection.tentative.html diff --git a/testing/web-platform/tests/dom/nodes/aria-element-reflection.tentative.html b/testing/web-platform/tests/dom/nodes/aria-element-reflection.tentative.html new file mode 100644 index 000000000000..974727f92aa3 --- /dev/null +++ b/testing/web-platform/tests/dom/nodes/aria-element-reflection.tentative.html @@ -0,0 +1,266 @@ + + + + + Element Reflection for aria-activedescendant and aria-errormessage + + + + + +
+ +
+
Item 1
+
Item 2
+
+ + + +
+
Item 1
+
Item 2
+
+ + + +
+
+
+
+ + + +
+

Hello world!

+ + +
+ + + + + Invalid Time + + + + + +
    +
  • First description.
  • +
  • Second description.
  • +
+ + + +
+
Item 1
+
Item 2
+
+ + + +
+
Item 1
+
Item 2
+
+ + + +
+
Hello world!
+
+
+ + +