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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/img-fallsback-to-title.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/img-fallsback-to-title.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/img-fallsback-to-title.html b/third_party/WebKit/LayoutTests/accessibility/img-fallsback-to-title.html
index 1de678f773592875ec58a565458164a84fe9fdfd..932957a8e084b0616e0919e726dae4554cba6a1b 100644
--- a/third_party/WebKit/LayoutTests/accessibility/img-fallsback-to-title.html
+++ b/third_party/WebKit/LayoutTests/accessibility/img-fallsback-to-title.html
@@ -26,26 +26,26 @@
var imagesGroup = accessibilityController.focusedElement;
// First image should have a description of "test1" because there is no alt tag (it should use the title).
- // The title should NOT be in the help text.
+ // The title should NOT be in the description.
var image1 = imagesGroup.childAtIndex(0).childAtIndex(0);
- debug("Image1 description: " + image1.deprecatedDescription);
- debug("Image1 help: " + image1.deprecatedHelpText + "<br>");
+ debug("Image1 name: " + image1.name);
+ debug("Image1 description: " + image1.description + "<br>");
- // Second image should use the description from the alt tag instead of the title.
- // The help text should reflect what's in the title.
+ // Second image should use the alt tag instead of the title.
+ // The description should reflect what's in the title.
var image2 = imagesGroup.childAtIndex(0).childAtIndex(1);
- debug("Image2 description: " + image2.deprecatedDescription);
- debug("Image2 help: " + image2.deprecatedHelpText + "<br>");
+ debug("Image2 name: " + image2.name);
+ debug("Image2 description: " + image2.description + "<br>");
// Now do the same checks for ARIA type images.
var image3 = imagesGroup.childAtIndex(1);
- debug("Image3 description: " + image3.deprecatedDescription);
- debug("Image3 help: " + image3.deprecatedHelpText + "<br>");
+ debug("Image3 name: " + image3.name);
+ debug("Image3 description: " + image3.description + "<br>");
// Now do the same checks for ARIA type images.
var image4 = imagesGroup.childAtIndex(2);
- debug("Image4 description: " + image4.deprecatedDescription);
- debug("Image4 help: " + image4.deprecatedHelpText + "<br>");
+ debug("Image4 name: " + image4.name);
+ debug("Image4 description: " + image4.description + "<br>");
// Verify that the first image (with an empty alt tag) is ignored
// by checking the children count of the group containing the native images == 2.

Powered by Google App Engine
This is Rietveld 408576698