Skip to content

Commit

Permalink
fix(getAccessibilityCSSSelector): Check the beginning when finding th…
Browse files Browse the repository at this point in the history
…e matching aria-label
  • Loading branch information
emrahcom authored and damencho committed Sep 25, 2024
1 parent af7bf8a commit 885e95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/jitsi/meet/test/util/MeetUIUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ public static void assertDisplayNameVisible(
*/
public static String getAccessibilityCSSSelector(String accessibilityLabel)
{
return String.format("[aria-label=\"%s\"]", accessibilityLabel);
return String.format("[aria-label^=\"%s\"]", accessibilityLabel);
}

/**
Expand Down

0 comments on commit 885e95a

Please sign in to comment.