| Index: third_party/WebKit/LayoutTests/accessibility/img-aria-button-alt-tag.html
|
| diff --git a/third_party/WebKit/LayoutTests/accessibility/img-aria-button-alt-tag.html b/third_party/WebKit/LayoutTests/accessibility/img-aria-button-alt-tag.html
|
| index 1b3ee437b669dc7c88f9ab65b2a3d7cafc98928e..a9791a8b5e1a8618d250c89963f49e02413043aa 100644
|
| --- a/third_party/WebKit/LayoutTests/accessibility/img-aria-button-alt-tag.html
|
| +++ b/third_party/WebKit/LayoutTests/accessibility/img-aria-button-alt-tag.html
|
| @@ -19,8 +19,7 @@
|
| if (window.accessibilityController) {
|
| var result = document.getElementById("result");
|
|
|
| - var body = document.getElementById("body").focus();
|
| - var imgUIElement = accessibilityController.focusedElement.childAtIndex(0).childAtIndex(0);
|
| + var imgUIElement = accessibilityController.accessibleElementById("image");
|
| shouldBe("imgUIElement.name", "'alternate'");
|
| }
|
| </script>
|
|
|