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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/link-inside-button-accessible-text.html

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt Created 5 years, 1 month 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/link-inside-button-accessible-text.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/link-inside-button-accessible-text.html b/third_party/WebKit/LayoutTests/accessibility/link-inside-button-accessible-text.html
index 27d94cde035a45a89f98414e2a6b292072bec2f5..2fe4f7c46c62139016d1e537c545489cf51755d6 100644
--- a/third_party/WebKit/LayoutTests/accessibility/link-inside-button-accessible-text.html
+++ b/third_party/WebKit/LayoutTests/accessibility/link-inside-button-accessible-text.html
@@ -20,9 +20,9 @@
description("This tests that when a link is inside a button, its visible text is still available for the button.");
if (window.accessibilityController) {
var button1 = accessibilityController.accessibleElementById("button1");
- shouldBe("button1.deprecatedTitle", "'AXTitle: foo1'");
+ shouldBe("button1.name", "'foo1'");
var button2 = accessibilityController.accessibleElementById("button2");
- shouldBe("button2.deprecatedTitle", "'AXTitle: foo2'");
+ shouldBe("button2.name", "'foo2'");
document.getElementById("content").style.visibility = 'hidden';
}
</script>

Powered by Google App Engine
This is Rietveld 408576698