From 64eb122aa29c3abb7d7c79932cd783fa6c354dd6 Mon Sep 17 00:00:00 2001 From: George Wilson Date: Wed, 27 Feb 2019 10:38:03 +0000 Subject: [PATCH] Fix tests for a11y compliance (#52) https://github.com/joomla/joomla-cms/pull/23950 --- src/_support/Page/Acceptance/Administrator/MediaListPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_support/Page/Acceptance/Administrator/MediaListPage.php b/src/_support/Page/Acceptance/Administrator/MediaListPage.php index d5e4353..9aafcd5 100644 --- a/src/_support/Page/Acceptance/Administrator/MediaListPage.php +++ b/src/_support/Page/Acceptance/Administrator/MediaListPage.php @@ -364,7 +364,7 @@ public static function item($name) */ public static function itemActionMenuToggler($itemName) { - return self::itemXpath($itemName) . '//a[@class= \'action-toggle\']'; + return self::itemXpath($itemName) . '//button[@class= \'action-toggle\']'; } /** @@ -379,7 +379,7 @@ public static function itemActionMenuToggler($itemName) */ public static function itemAction($itemName, $actionName) { - return self::itemXpath($itemName) . '//a[@class= \''. $actionName .'\']'; + return self::itemXpath($itemName) . '//button[@class= \''. $actionName .'\']'; } /**