Skip to content

Commit 23fbfed

Browse files
Remove unnecessary aria-label
Co-authored-by: Weston Ruter <[email protected]>
1 parent 54ecc46 commit 23fbfed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

includes/validation/class-amp-validation-error-taxonomy.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,8 +1646,7 @@ public static function filter_tag_row_actions( $actions, WP_Term $tag ) {
16461646
);
16471647

16481648
$actions['copy'] = sprintf(
1649-
'<button type="button" aria-label="%s" class="single-url-detail-copy button-link" data-error-json="%s">%s</button>',
1650-
esc_attr__( 'Copy to clipboard', 'amp' ),
1649+
'<button type="button" class="single-url-detail-copy button-link" data-error-json="%s">%s</button>',
16511650
esc_attr( self::get_error_details_json( $term ) ),
16521651
esc_html__( 'Copy to clipboard', 'amp' )
16531652
);

0 commit comments

Comments
 (0)