Skip to content

Commit 87f4805

Browse files
authored
Merge pull request #313 from BeAPI/fix/a11y-share-helper
fix (a11y) remove tab index to share buttons
2 parents 0f4d8e7 + 630b378 commit 87f4805

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

inc/Helpers/Formatting/Share.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ function get_share_link( string $name, string $link_to_share, array $share_attri
130130

131131
$network['attributes']['href'] = add_query_arg( $network['params'], $network['attributes']['href'] ?? '' );
132132
$network['attributes']['target'] = '_blank';
133-
$network['attributes']['tabindex'] = '-1';
134133

135134
$attributes = wp_parse_args( $attributes, $network['attributes'] );
136135

0 commit comments

Comments
 (0)