Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
Fix tests for a11y compliance (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge authored Feb 27, 2019
1 parent 5ef5762 commit 64eb122
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_support/Page/Acceptance/Administrator/MediaListPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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\']';
}

/**
Expand All @@ -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 .'\']';
}

/**
Expand Down

0 comments on commit 64eb122

Please sign in to comment.