Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: third_party/WebKit/LayoutTests/accessibility/description-calc-aria-describedby.html

Issue 2867073003: Name calculation should not include nameFrom:author descendants. (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/accessibility/description-calc-aria-describedby.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/description-calc-aria-describedby.html b/third_party/WebKit/LayoutTests/accessibility/description-calc-aria-describedby.html
index df391b6903d8e9e5a131491b1f662e70e08abbdc..c6b06730ffd634eed1943989c25143c2fe222970 100644
--- a/third_party/WebKit/LayoutTests/accessibility/description-calc-aria-describedby.html
+++ b/third_party/WebKit/LayoutTests/accessibility/description-calc-aria-describedby.html
@@ -46,7 +46,7 @@ test(function(t){
assert_equals(axDescribedby.description, "Description 1");
assert_equals(axDescribedby.descriptionFrom, "relatedElement");
assert_equals(axDescribedby.descriptionElementCount(), 1);
- assert_equals(axDescribedby.descriptionElementAtIndex(0).role, "AXRole: AXDiv");
+ assert_equals(axDescribedby.descriptionElementAtIndex(0).role, "AXRole: AXGenericContainer");
}, "Button with aria-describedby referencing the id of another element.");
</script>
@@ -80,7 +80,7 @@ test(function(t){
assert_equals(axDescribedby3.descriptionFrom, "relatedElement");
assert_equals(axDescribedby3.descriptionElementCount(), 2);
assert_equals(axDescribedby3.descriptionElementAtIndex(0).role, "AXRole: AXButton");
- assert_equals(axDescribedby3.descriptionElementAtIndex(1).role, "AXRole: AXDiv");
+ assert_equals(axDescribedby3.descriptionElementAtIndex(1).role, "AXRole: AXGenericContainer");
}, "Button with aria-describedby referencing itself and the id of another element.");
</script>
@@ -112,7 +112,7 @@ test(function(t){
assert_equals(axDescribedby5.description, "");
assert_equals(axDescribedby5.descriptionFrom, "relatedElement");
assert_equals(axDescribedby5.descriptionElementCount(), 1);
- assert_equals(axDescribedby5.descriptionElementAtIndex(0).role, "AXRole: AXDiv");
+ assert_equals(axDescribedby5.descriptionElementAtIndex(0).role, "AXRole: AXGenericContainer");
}, "aria-describedby reference to element with no text.");
</script>

Powered by Google App Engine
This is Rietveld 408576698