Skip to content

Commit

Permalink
Remove unnecessary tabindex
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiomorales committed Oct 19, 2023
1 parent af376c1 commit 6c1090a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/block-library/src/image/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ function block_core_image_render_lightbox( $block_content, $block ) {
)
);
$w->next_tag( 'img' );
$w->set_attribute( 'tabindex', '-1' );
$w->set_attribute( 'data-wp-init', 'effects.core.image.initOriginImage' );
$w->set_attribute( 'data-wp-on--load', 'actions.core.image.handleLoad' );
$w->set_attribute( 'data-wp-effect', 'effects.core.image.setButtonStyles' );
Expand Down

0 comments on commit 6c1090a

Please sign in to comment.